python-feedparser/python-feedparser.spec

61 lines
2.0 KiB
RPMSpec
Raw Normal View History

Name: python-feedparser
Version: 5.2.1
Release: 2mamba
Summary: Feed Parser package for Python
Group: Development/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n feedparser-%{version}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py \
install --optimize=2 \
--root=%{buildroot} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%changelog
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.1-2mamba
- rebuilt with py3* packages
* Thu Oct 22 2015 Automatic Build System <autodist@mambasoft.it> 5.2.1-1mamba
- automatic version update by autodist
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1.3-2mamba
- python 2.7 mass rebuild
* Mon Apr 22 2013 Automatic Build System <autodist@mambasoft.it> 5.1.3-1mamba
- update to 5.1.3
* Wed Apr 01 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1-2mamba
- rebuilt with python 2.6
* Mon May 12 2008 gil <puntogil@libero.it> 4.1-1-1mamba
- package created by autospec