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