2024-01-05 16:54:47 +01:00
|
|
|
Name: python-xmltodict
|
2024-01-05 16:54:48 +01:00
|
|
|
Version: 0.11.0
|
2024-01-05 16:54:47 +01:00
|
|
|
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
|
2024-01-05 16:54:48 +01:00
|
|
|
Source: https://pypi.debian.net/xmltodict/xmltodict-%{version}.tar.gz
|
2024-01-05 16:54:47 +01:00
|
|
|
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
|
|
|
|
|
2024-01-05 16:54:48 +01:00
|
|
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-05 16:54:47 +01:00
|
|
|
|
|
|
|
%files -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc LICENSE README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:54:48 +01:00
|
|
|
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 0.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:54:48 +01:00
|
|
|
* Fri Oct 28 2016 Automatic Build System <autodist@mambasoft.it> 0.10.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:54:48 +01:00
|
|
|
* Wed Apr 20 2016 Automatic Build System <autodist@mambasoft.it> 0.10.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:54:47 +01:00
|
|
|
* Mon Nov 16 2015 Automatic Build System <autodist@mambasoft.it> 0.9.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:54:47 +01:00
|
|
|
* Wed May 28 2014 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.9.0-1mamba
|
|
|
|
- package created using the webbuild interface
|