1 %define module PyRSS2Gen
3 Summary: A Python library for generating RSS 2.0 feeds
4 Summary(pl.UTF-8): Biblioteka pythonowa do generowania kanałów RSS 2.0
9 Group: Libraries/Python
10 Source0: http://www.dalkescientific.com/Python/%{module}-%{version}.tar.gz
11 # Source0-md5: b37ed0c9cfa4438a73dbbb0207f3aff6
12 URL: http://www.dalkescientific.com/Python/PyRSS2Gen.html
13 BuildRequires: python-devel >= 2.3
14 BuildRequires: rpm-pythonprov
15 %pyrequires_eq python-modules
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 A Python library for generating RSS 2.0 feeds.
21 %description -l pl.UTF-8
22 Biblioteka pythonowa służąca do generowania kanałów RSS 2.0.
25 %setup -q -n %{module}-%{version}
31 rm -rf $RPM_BUILD_ROOT
34 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}.py
37 rm -rf $RPM_BUILD_ROOT
40 %defattr(644,root,root,755)
42 %{py_sitescriptdir}/%{module}.py[co]