2013-05-05 00:28:24 +02:00
|
|
|
%define srcname feedgen
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
2013-09-23 14:49:33 +02:00
|
|
|
Version: 0.2.6
|
2013-05-05 00:28:24 +02:00
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Feed Generator (ATOM, RSS, Podcasts)
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: LGPLv3+ or BSD
|
2013-05-05 23:27:58 +02:00
|
|
|
URL: http://lkiesow.github.io/%{name}/
|
2013-05-05 00:28:24 +02:00
|
|
|
|
|
|
|
Source0: https://pypi.python.org/packages/source/f/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2013-07-22 01:08:26 +02:00
|
|
|
BuildRequires: python2-devel
|
2013-05-05 00:28:24 +02:00
|
|
|
BuildRequires: python-setuptools
|
|
|
|
Requires: python-lxml
|
|
|
|
Requires: python-dateutil
|
|
|
|
|
|
|
|
%description
|
2013-05-05 23:27:58 +02:00
|
|
|
This module can be used to generate web feeds in both ATOM and RSS format. It
|
|
|
|
has support for extensions. Included is for example an extension to produce
|
|
|
|
Podcasts.
|
|
|
|
|
2013-05-05 00:28:24 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{srcname}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
chmod 644 $RPM_BUILD_ROOT%{python_sitelib}/%{srcname}/*.py
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc docs/*
|
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2013-09-23 14:49:33 +02:00
|
|
|
* Mon Sep 23 2013 Lars Kiesow <lkiesow@uos.de> - 0.2.6-1
|
|
|
|
- Update to 0.2.6
|
|
|
|
|
2013-07-22 00:40:36 +02:00
|
|
|
* Mon Jul 22 2013 Lars Kiesow <lkiesow@uos.de> - 0.2.5-1
|
2013-07-22 01:08:26 +02:00
|
|
|
- Updated to 0.2.5-1
|
|
|
|
|
|
|
|
* Thu May 16 2013 Lars Kiesow <lkiesow@uos.de> - 0.2.4-1
|
|
|
|
- Update to 0.2.4
|
|
|
|
|
|
|
|
* Tue May 14 2013 Lars Kiesow <lkiesow@uos.de> - 0.2.3-1
|
|
|
|
- Update to 0.2.3
|
2013-07-22 00:40:36 +02:00
|
|
|
|
2013-05-05 23:27:58 +02:00
|
|
|
* Sun May 5 2013 Lars Kiesow <lkiesow@uos.de> - 0.2.2-1
|
|
|
|
- Update to version 0.2.2
|
|
|
|
|
2013-05-05 00:28:24 +02:00
|
|
|
* Sat May 4 2013 Lars Kiesow <lkiesow@uos.de> - 0.1-1
|
|
|
|
- Initial build
|