Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:GA
python-urlgrabber
python-urlgrabber.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-urlgrabber.spec of Package python-urlgrabber
# # spec file for package python-urlgrabber # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-urlgrabber Version: 3.9.1 Release: 0 Url: http://urlgrabber.baseurl.org Summary: A high-level cross-protocol url-grabber License: LGPL-2.1 Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/u/urlgrabber/urlgrabber-%{version}.tar.gz Patch0: grabber_fix.diff # PATCH-FIX-UPSTREAM bnc#896844 Patch1: python-urlgrabber-3.9.1-preserve-queryparams-in-urls.patch Patch2: declare-dollar-sign-as-safe-in-urlquote.patch Patch3: python-urlgrabber-3.9.1-set-SSL_VERIFYHOST-correct.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-pycurl Requires: python-pycurl %if 0%{?suse_version} %py_requires %if 0%{?suse_version} > 1110 BuildArch: noarch %endif %endif %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description A high-level cross-protocol url-grabber for python supporting HTTP, FTP and file locations. Features include keepalive, byte ranges, throttling, authentication, proxies and more. %prep %setup -q -n urlgrabber-%{version} sed -i "13d" urlgrabber/__init__.py # Remove wrong license header, fixes bnc#781323 %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} rm -rf %{buildroot}/usr/share/doc/urlgrabber-%{version} # Remove wrongly installed docs %files %defattr(-,root,root,-) %doc ChangeLog LICENSE README TODO %{_bindir}/urlgrabber %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor