%include /usr/lib/rpm/macros.python
-%define module HTMLgen
+%define module HTMLgen
Summary: Class library to create HTML documents from within Python
Summary(pl): Modu³ do tworzenia dokumentów w HTML przy u¿yciu Pythona
License: distributable
Group: Development/Languages/Python
Source0: http://starship.python.net/crew/friedrich/%{module}.tgz
+# Source0-md5: cd20f8b63d3215e57289ddbf56c97f48
Patch0: %{name}-fixpaths.patch
URL: http://starship.python.net/crew/friedrich/HTMLgen/html/main.html
-BuildRequires: python-devel >= 2.2
-%requires_eq python
+BuildRequires: python-devel >= 2.2.1
+%pyrequires_eq python
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
mv -f *.py $RPM_BUILD_ROOT%{_libdir}/python1.5/site-packages/HTMLgen
echo %{module} > $RPM_BUILD_ROOT%{_libdir}/python1.5/site-packages/%{module}.pth
-gzip -9nf README ChangeLog
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc {README,ChangeLog}.gz data html image *.rc
+%doc README ChangeLog data html image *.rc
%{py_sitedir}/site-packages/HTMLgen
%{py_sitedir}/site-packages/HTMLgen.pth