package created using the webbuild interface [release 0.9.0-1mamba;Wed May 28 2014]

This commit is contained in:
Stefano Cotta Ramusino 2024-01-05 16:54:47 +01:00
parent 30f107efc4
commit f2ea09fa8f
2 changed files with 47 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-xmltodict
Python module that makes working with XML feel like you are working with JSON.

45
python-xmltodict.spec Normal file
View File

@ -0,0 +1,45 @@
Name: python-xmltodict
Version: 0.9.0
Release: 1mamba
Summary: Python module that makes working with XML feel like you are working with JSON
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: https://github.com/martinblech/xmltodict
Source: https://pypi.python.org/packages/source/x/xmltodict/xmltodict-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
%description
%{summary}.
%prep
%setup -q -n xmltodict-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
%doc LICENSE README.md
%changelog
* Wed May 28 2014 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.9.0-1mamba
- package created using the webbuild interface