]>
Commit | Line | Data |
---|---|---|
87d62bf7 MC |
1 | %define module PyRSS2Gen |
2 | ||
3 | Summary: A Python library for generating RSS 2.0 feeds | |
4f13d885 | 4 | Summary(pl.UTF-8): Biblioteka pythonowa do generowania kanałów RSS 2.0 |
87d62bf7 MC |
5 | Name: python-%{module} |
6 | Version: 1.0.0 | |
8ef69670 | 7 | Release: 4 |
87d62bf7 MC |
8 | License: BSD |
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 | |
959e127c | 13 | BuildRequires: rpmbuild(macros) >= 1.710 |
87d62bf7 | 14 | BuildRequires: python-devel >= 2.3 |
ad21d49b | 15 | BuildRequires: rpm-pythonprov |
87d62bf7 MC |
16 | %pyrequires_eq python-modules |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | A Python library for generating RSS 2.0 feeds. | |
21 | ||
14fc1884 JR |
22 | %description -l pl.UTF-8 |
23 | Biblioteka pythonowa służąca do generowania kanałów RSS 2.0. | |
87d62bf7 MC |
24 | |
25 | %prep | |
26 | %setup -q -n %{module}-%{version} | |
27 | ||
28 | %build | |
29869964 | 29 | %py_build |
87d62bf7 MC |
30 | |
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
29869964 | 33 | %py_install |
87d62bf7 MC |
34 | |
35 | rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}.py | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %doc README | |
43 | %{py_sitescriptdir}/%{module}.py[co] |