Name: python-mwlib.xhtml Version: 0.1.0 Release: 1mamba Summary: xhtml writer for mwlib Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://pypi.python.org/pypi/mwlib.xhtml Source: https://pypi.python.org/packages/source/m/mwlib.xhtml/mwlib.xhtml-%{version}.zip License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: libpython-devel ## AUTOBUILDREQ-END Requires: python-mwlib Requires: python >= %python_version BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. %prep %setup -q -n mwlib.xhtml-%{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 * Wed May 21 2014 Silvan Calarco 0.1.0-1mamba - package created by silvan using the webbuild interface