update to 4.1.0 [release 4.1.0-1mamba;Mon Apr 05 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 16:50:01 +01:00
parent 2eb2d00c84
commit 4ee28f928f

View File

@ -1,26 +1,30 @@
%define pkgname urlgrabber
Name: python-urlgrabber
Version: 4.0.0
Version: 4.1.0
Release: 1mamba
Summary: A high-level cross-protocol url-grabber
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://linux.duke.edu/projects/urlgrabber/
Source: http://urlgrabber.baseurl.org/download/urlgrabber-%{version}.tar.gz
URL: https://urlgrabber.baseurl.org/
Source: https://pypi.debian.net/urlgrabber/urlgrabber-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
BuildRequires: libpython3-devel
BuildRequires: python3.7dist(pycurl)
BuildRequires: python3.7dist(setuptools)
BuildRequires: python3.7dist(six)
## AUTOBUILDREQ-END
Requires: python >= %python_version
Requires: pycurl
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A high-level cross-protocol url-grabber.
%if "%{?with_pyver}"
%pyver_package
%endif
%prep
%setup -q -n %{pkgname}-%{version}
@ -33,24 +37,24 @@ A high-level cross-protocol url-grabber.
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch}
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
rm -fr %{buildroot}%{_docdir}/urlgrabber-%{version}
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%{_bindir}/urlgrabber
%{_prefix}/libexec/urlgrabber-ext-down
%dir %{python_sitearch}/urlgrabber
%{python_sitearch}/urlgrabber/*
%{python_sitearch}/urlgrabber-*.egg-info
%dir %{python_sitearch}/urlgrabber-*.egg-info
%{python_sitearch}/urlgrabber-*.egg-info/*
%doc LICENSE
#%doc ChangeLog README TODO
%changelog
* Mon Apr 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.0-1mamba
- update to 4.1.0
* Mon Jul 29 2019 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba
- automatic update by autodist