]> git.pld-linux.org Git - packages/python-PyRSS2Gen.git/commitdiff
- initial checkin
authorMichal Chruszcz <mchruszcz@gmail.com>
Fri, 14 Apr 2006 22:39:11 +0000 (22:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-PyRSS2Gen.spec -> 1.1

python-PyRSS2Gen.spec [new file with mode: 0644]

diff --git a/python-PyRSS2Gen.spec b/python-PyRSS2Gen.spec
new file mode 100644 (file)
index 0000000..1bd6016
--- /dev/null
@@ -0,0 +1,43 @@
+%define                module  PyRSS2Gen
+
+Summary:       A Python library for generating RSS 2.0 feeds
+Summary(pl):   Biblioteka pythonowa do generowania kana³ów RSS 2.0
+Name:          python-%{module}
+Version:       1.0.0
+Release:       1
+License:       BSD
+Group:         Libraries/Python
+Source0:       http://www.dalkescientific.com/Python/%{module}-%{version}.tar.gz
+# Source0-md5: b37ed0c9cfa4438a73dbbb0207f3aff6
+URL:           http://www.dalkescientific.com/Python/PyRSS2Gen.html
+BuildRequires: python-devel >= 2.3
+%pyrequires_eq python-modules
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A Python library for generating RSS 2.0 feeds.
+
+%description -l pl
+Biblioteka pythonowa s³u¿±ca do generowania kana³ów RSS 2.0.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+python setup.py install \
+       --root=$RPM_BUILD_ROOT \
+       --optimize=2
+
+rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}.py
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{py_sitescriptdir}/%{module}.py[co]
This page took 0.058192 seconds and 4 git commands to generate.