From 2d260e8ef1b442ba05bbd6b40ebb39ceac04b501 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:10:24 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.0.2-1mamba;Sat May 23 2015] --- README.md | 2 ++ python-flup.spec | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 python-flup.spec diff --git a/README.md b/README.md index 1ee8f84..6f2adc3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-flup +Random assortment of WSGI servers. + diff --git a/python-flup.spec b/python-flup.spec new file mode 100644 index 0000000..de78376 --- /dev/null +++ b/python-flup.spec @@ -0,0 +1,43 @@ +Name: python-flup +Version: 1.0.2 +Release: 1mamba +Summary: Random assortment of WSGI servers +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://pypi.python.org/pypi/flup +Source: https://pypi.python.org/packages/source/f/flup/flup-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{summary}. + +%prep +%setup -q -n flup-%{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) + +%changelog +* Sat May 23 2015 Silvan Calarco 1.0.2-1mamba +- package created using the webbuild interface