2024-01-05 16:50:01 +01:00
|
|
|
%define pkgname urlgrabber
|
|
|
|
|
|
|
|
Name: python-urlgrabber
|
2024-01-05 16:50:01 +01:00
|
|
|
Version: 4.1.0
|
2024-01-05 16:50:02 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 16:50:01 +01:00
|
|
|
Summary: A high-level cross-protocol url-grabber
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 16:50:02 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://urlgrabber.baseurl.org/
|
2024-01-05 16:50:01 +01:00
|
|
|
Source: https://pypi.debian.net/urlgrabber/urlgrabber-%{version}.tar.gz
|
2024-01-05 16:50:01 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:50:02 +01:00
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
BuildRequires: python3.11dist(pycurl)
|
|
|
|
BuildRequires: python3.11dist(setuptools)
|
|
|
|
BuildRequires: python3.11dist(six)
|
2024-01-05 16:50:01 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 16:50:02 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-05 16:50:01 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
A high-level cross-protocol url-grabber.
|
|
|
|
|
2024-01-05 16:50:01 +01:00
|
|
|
%if "%{?with_pyver}"
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:50:01 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkgname}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
2024-01-05 16:50:01 +01:00
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
2024-01-05 16:50:01 +01:00
|
|
|
|
2024-01-05 16:50:01 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-05 16:50:01 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 16:50:01 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-05 16:50:01 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:50:01 +01:00
|
|
|
%dir %{python_sitearch}/urlgrabber-*.egg-info
|
|
|
|
%{python_sitearch}/urlgrabber-*.egg-info/*
|
2024-01-05 16:50:01 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:50:02 +01:00
|
|
|
* Sat Sep 30 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.0-2mamba
|
|
|
|
- rebuilt with python3 == 3.11
|
|
|
|
|
2024-01-05 16:50:01 +01:00
|
|
|
* Mon Apr 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.0-1mamba
|
|
|
|
- update to 4.1.0
|
|
|
|
|
2024-01-05 16:50:01 +01:00
|
|
|
* Mon Jul 29 2019 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:50:01 +01:00
|
|
|
* Thu Oct 10 2013 Automatic Build System <autodist@mambasoft.it> 3.10-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat May 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.9.1-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Thu Mar 25 2010 Davide Madrisan <davide.madrisan@gmail.com> 3.9.1-1mamba
|
|
|
|
- package created by autospec
|