From 9ac28cf7ca160e4385feca6e3e360ab88c689c16 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:09:07 +0100 Subject: [PATCH] python 2.7 mass rebuild [release 5.1.3-2mamba;Fri May 17 2013] --- README.md | 3 +++ python-feedparser.spec | 51 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 python-feedparser.spec diff --git a/README.md b/README.md index 9f2bab4..a3d0d88 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # python-feedparser +Universal Feed Parser is a Python module for downloading and parsing syndicated feeds. It can handle RSS 0.90, Netscape RSS 0.91, Userland RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom 0.3, Atom 1.0, and CDF feeds. It also parses several popular extension modules, including Dublin Core and Apple\'s iTunes extensions. +This module is built for python %{python_version}. + diff --git a/python-feedparser.spec b/python-feedparser.spec new file mode 100644 index 0000000..677a819 --- /dev/null +++ b/python-feedparser.spec @@ -0,0 +1,51 @@ +Name: python-feedparser +Version: 5.1.3 +Release: 2mamba +Summary: Feed Parser package for Python +Group: Development/Libraries/Python +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://feedparser.org/ +Source: https://pypi.python.org/packages/source/f/feedparser/feedparser-%{version}.tar.bz2 +License: Python Software Foundation License +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Universal Feed Parser is a Python module for downloading and parsing syndicated feeds. It can handle RSS 0.90, Netscape RSS 0.91, Userland RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom 0.3, Atom 1.0, and CDF feeds. It also parses several popular extension modules, including Dublin Core and Apple\'s iTunes extensions. +This module is built for python %{python_version}. + +%prep +%setup -q -n feedparser-%{version} + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py \ + install --optimize=2 \ + --root=%{buildroot} \ + --record=INSTALLED_FILES +##%{__python} setup.py install --root=%{buildroot} --record=INSTALLED_FILES +##cp -a docs html + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f INSTALLED_FILES +%defattr(-,root,root) +##%doc LICENSE README docs/ + +%changelog +* Fri May 17 2013 Silvan Calarco 5.1.3-2mamba +- python 2.7 mass rebuild + +* Mon Apr 22 2013 Automatic Build System 5.1.3-1mamba +- update to 5.1.3 + +* Wed Apr 01 2009 Silvan Calarco 4.1-2mamba +- rebuilt with python 2.6 + +* Mon May 12 2008 gil 4.1-1-1mamba +- package created by autospec