forked from pool/python-urlgrabber
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urlgrabber?expand=0&rev=40
This commit is contained in:
committed by
Git OBS Bridge
parent
237d268449
commit
a6afe92912
@@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
%define _libexecdir /usr/libexec
|
%define _libexecdir /usr/libexec
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define modname urlgrabber
|
%define modname urlgrabber
|
||||||
Name: python-urlgrabber
|
Name: python-urlgrabber
|
||||||
@@ -25,7 +24,6 @@ Version: 4.1.0
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: A high-level cross-protocol url-grabber
|
Summary: A high-level cross-protocol url-grabber
|
||||||
License: LGPL-2.1-only
|
License: LGPL-2.1-only
|
||||||
Group: Development/Libraries/Python
|
|
||||||
URL: https://github.com/rpm-software-management/urlgrabber
|
URL: https://github.com/rpm-software-management/urlgrabber
|
||||||
Source: https://github.com/rpm-software-management/%{modname}/releases/download/%{modname}-4-1-0/%{modname}-%{version}.tar.gz
|
Source: https://github.com/rpm-software-management/%{modname}/releases/download/%{modname}-4-1-0/%{modname}-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module pycurl}
|
BuildRequires: %{python_module pycurl}
|
||||||
@@ -33,7 +31,7 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: %{name}-ext-down
|
Requires: %{modname}-ext-down
|
||||||
Requires: python-pycurl
|
Requires: python-pycurl
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
@@ -46,11 +44,10 @@ A high-level cross-protocol url-grabber for python supporting HTTP, FTP
|
|||||||
and file locations. Features include keepalive, byte ranges,
|
and file locations. Features include keepalive, byte ranges,
|
||||||
throttling, authentication, proxies and more.
|
throttling, authentication, proxies and more.
|
||||||
|
|
||||||
%package ext-down
|
%package -n %{modname}-ext-down
|
||||||
Summary: External Downloader
|
Summary: External Downloader
|
||||||
Group: Development/Libraries/Python
|
|
||||||
|
|
||||||
%description ext-down
|
%description -n %{modname}-ext-down
|
||||||
A very simple external downloader.
|
A very simple external downloader.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@@ -79,7 +76,7 @@ rm -rf %{buildroot}%{_datadir}/doc/urlgrabber-%{version} # Remove wrongly instal
|
|||||||
%python_alternative %{_bindir}/urlgrabber
|
%python_alternative %{_bindir}/urlgrabber
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%files ext-down
|
%files -n %{modname}-ext-down
|
||||||
%{_libexecdir}/urlgrabber-ext-down
|
%{_libexecdir}/urlgrabber-ext-down
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user