# norootforbuild Name: python-flup BuildRequires: python-devel python-setuptools Summary: A collection of WSGI modules for Python Version: 0.5 Release: 0 %define tarname flup %define extraver r2311 Source0: %{tarname}-%{version}.%{extraver}.tar.gz License: BSD Group: Development/Libraries/Python URL: http://trac.saddi.com/flup Autoreqprov: on BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires %description a random collection of WSGI modules for Python Authors: -------- Allan Saddi allan@saddi.com %prep %setup -n %{tarname}-%{version} %build export CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install python setup.py install --root=$RPM_BUILD_ROOT \ --record-rpm=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %doc ChangeLog