forked from pool/python-urlgrabber
99 lines
3.0 KiB
RPMSpec
99 lines
3.0 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package python-urlgrabber (Version 3.1.0)
|
||
|
#
|
||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: python-urlgrabber
|
||
|
BuildRequires: python-devel
|
||
|
Version: 3.1.0
|
||
|
Release: 2
|
||
|
Summary: A high-level cross-protocol url-grabber
|
||
|
Group: Development/Libraries/Python
|
||
|
License: LGPL
|
||
|
URL: http://linux.duke.edu/projects/urlgrabber/
|
||
|
Source: urlgrabber-%{version}.tar.bz2
|
||
|
Patch: %{name}-2.9.9.patch
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%py_requires
|
||
|
|
||
|
%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.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Michael D. Stenner <mstenner@linux.duke.edu>
|
||
|
Ryan Tomayko <rtomayko@naeblis.cx>
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n urlgrabber-%{version}
|
||
|
%patch
|
||
|
|
||
|
%build
|
||
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||
|
python setup.py build
|
||
|
|
||
|
%install
|
||
|
python setup.py install --prefix=%{_prefix} --root $RPM_BUILD_ROOT
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc ChangeLog LICENSE README TODO
|
||
|
%{_bindir}/urlgrabber
|
||
|
%{py_sitedir}/urlgrabber
|
||
|
%if %{suse_version} > 1010
|
||
|
%{py_sitedir}/*.egg-info
|
||
|
%endif
|
||
|
|
||
|
%changelog -n python-urlgrabber
|
||
|
* Mon Oct 02 2006 - cthiel@suse.de
|
||
|
- fix build on older distributions
|
||
|
* Sun Oct 01 2006 - cthiel@suse.de
|
||
|
- update to version 3.1.0
|
||
|
* various fixes
|
||
|
* Thu Sep 21 2006 - cthiel@suse.de
|
||
|
- fix build with python 2.5
|
||
|
* Fri Aug 04 2006 - cthiel@suse.de
|
||
|
- update to version 2.9.10
|
||
|
* Make keepalive, byteranges, etc. work with https.
|
||
|
* Fixed a minor error reporting bug due to changes in python 2.4.
|
||
|
* Catch read errors after the file has been opened.
|
||
|
- removed obsolete urlgrabber-read-error.patch
|
||
|
* Thu May 25 2006 - cthiel@suse.de
|
||
|
- update to version 2.9.9
|
||
|
* Added tests to make sure that the "quote" option works as advertised
|
||
|
* Significant improvement to URL parsing. Parsing is now broken out into
|
||
|
a separate class (URLParser). It will now (by default) guess whether a
|
||
|
URL is already quoted, properly handle local files and URLs on windows,
|
||
|
and display un-quoted versions of the filename in the progress meter.
|
||
|
* Added a reget progress bar patch from Menno, and fixed the annoying next
|
||
|
_IndexError bug.
|
||
|
- added urlgrabber-read-error.patch (from Fedora)
|
||
|
- removed python-urlgrabber-2.9.7-reget.patch (included upstream)
|
||
|
* Tue Feb 28 2006 - jmatejek@suse.cz
|
||
|
- updated to reflect python changes due to #149809
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Mon Oct 31 2005 - dmueller@suse.de
|
||
|
- don't build as root
|
||
|
* Wed Oct 26 2005 - cthiel@suse.de
|
||
|
- update to version 2.9.7
|
||
|
* Tue Sep 13 2005 - cthiel@suse.de
|
||
|
- specfile cleanup
|
||
|
* Sun Aug 14 2005 - cthiel@suse.de
|
||
|
- initial package (version 2.9.6)
|