]> git.pld-linux.org Git - packages/python-PyRSS2Gen.git/blob - python-PyRSS2Gen.spec
8eaea9e40c65058f292044bc323937f494f8b712
[packages/python-PyRSS2Gen.git] / python-PyRSS2Gen.spec
1 %define         module  PyRSS2Gen
2
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
5 Name:           python-%{module}
6 Version:        1.0.0
7 Release:        2
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
13 BuildRequires:  python-devel >= 2.3
14 BuildRequires:  rpm-pythonprov
15 %pyrequires_eq  python-modules
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 A Python library for generating RSS 2.0 feeds.
20
21 %description -l pl.UTF-8
22 Biblioteka pythonowa służąca do generowania kanałów RSS 2.0.
23
24 %prep
25 %setup -q -n %{module}-%{version}
26
27 %build
28 python setup.py build
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 python setup.py install \
33         --root=$RPM_BUILD_ROOT \
34         --optimize=2
35
36 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}.py
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc README
44 %{py_sitescriptdir}/%{module}.py[co]
This page took 0.090816 seconds and 2 git commands to generate.