2024-01-06 11:09:07 +01:00
|
|
|
Name: python-feedparser
|
2024-01-06 11:09:07 +01:00
|
|
|
Version: 6.0.8
|
|
|
|
Release: 1mamba
|
2024-01-06 11:09:07 +01:00
|
|
|
Summary: Feed Parser package for Python
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 11:09:07 +01:00
|
|
|
URL: https://github.com/kurtmckee/feedparser
|
|
|
|
Source: https://pypi.debian.net/feedparser/feedparser-%{version}.tar.gz
|
2024-01-06 11:09:07 +01:00
|
|
|
License: Python Software Foundation License
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 11:09:07 +01:00
|
|
|
BuildRequires: libpython3-devel
|
|
|
|
BuildRequires: python3.7dist(sgmllib3k)
|
2024-01-06 11:09:07 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%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}.
|
|
|
|
|
2024-01-06 11:09:07 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 11:09:07 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n feedparser-%{version}
|
|
|
|
|
2024-01-06 11:09:07 +01:00
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
2024-01-06 11:09:07 +01:00
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 11:09:07 +01:00
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{python_inc} \
|
|
|
|
--install-lib=%{python_sitearch} \
|
2024-01-06 11:09:07 +01:00
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-06 11:09:07 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
#sed -i "/__pycache__.*cpython/d" %{name}.filelist
|
2024-01-06 11:09:07 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 11:09:07 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-06 11:09:07 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 11:09:07 +01:00
|
|
|
%dir %{python_sitearch}/feedparser-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/feedparser-%{version}-py*.egg-info/*
|
2024-01-06 11:09:07 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 11:09:07 +01:00
|
|
|
* Tue Jan 11 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.8-1mamba
|
|
|
|
- update to 6.0.8
|
|
|
|
|
2024-01-06 11:09:07 +01:00
|
|
|
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.1-2mamba
|
|
|
|
- rebuilt with py3* packages
|
|
|
|
|
2024-01-06 11:09:07 +01:00
|
|
|
* Thu Oct 22 2015 Automatic Build System <autodist@mambasoft.it> 5.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:09:07 +01:00
|
|
|
* 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
|