From f2ea09fa8f9f4ce0ff8e74c4e782d079936fff94 Mon Sep 17 00:00:00 2001 From: Stefano Cotta Ramusino Date: Fri, 5 Jan 2024 16:54:47 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.9.0-1mamba;Wed May 28 2014] --- README.md | 2 ++ python-xmltodict.spec | 45 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 python-xmltodict.spec diff --git a/README.md b/README.md index e3b8101..8773a11 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-xmltodict +Python module that makes working with XML feel like you are working with JSON. + diff --git a/python-xmltodict.spec b/python-xmltodict.spec new file mode 100644 index 0000000..553e9ea --- /dev/null +++ b/python-xmltodict.spec @@ -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 +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 0.9.0-1mamba +- package created using the webbuild interface