]> git.pld-linux.org Git - packages/python-PyRSS2Gen.git/blob - python-PyRSS2Gen.spec
- initial checkin
[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):    Biblioteka pythonowa do generowania kana³ów RSS 2.0
5 Name:           python-%{module}
6 Version:        1.0.0
7 Release:        1
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 %pyrequires_eq  python-modules
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 A Python library for generating RSS 2.0 feeds.
19
20 %description -l pl
21 Biblioteka pythonowa s³u¿±ca do generowania kana³ów RSS 2.0.
22
23 %prep
24 %setup -q -n %{module}-%{version}
25
26 %build
27 python setup.py build
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 python setup.py install \
32         --root=$RPM_BUILD_ROOT \
33         --optimize=2
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]
This page took 0.027627 seconds and 4 git commands to generate.