]> git.pld-linux.org Git - packages/python-urlgrabber.git/blame_incremental - python-urlgrabber.spec
- builders /etc/resolv.conf hack; rel 2
[packages/python-urlgrabber.git] / python-urlgrabber.spec
... / ...
CommitLineData
1# TODO
2# - find better solution for unreadable /etc/resolv.conf in pycurl
3# the problem is actgually in curl-libs, util_curl_new() returns NULL in that case
4Summary: A high-level cross-protocol url-grabber
5Summary(pl.UTF-8): Wysokopoziomowa biblioteka do wychwytywania URL-i do wielu protokołów
6Name: python-urlgrabber
7Version: 3.9.1
8Release: 2
9Epoch: 1
10License: LGPL v2.1+
11Group: Libraries/Python
12Source0: http://urlgrabber.baseurl.org/download/urlgrabber-%{version}.tar.gz
13# Source0-md5: 00c8359bf71062d0946bacea521f80b4
14Patch1: urlgrabber-HEAD.patch
15Patch2: urlgrabber-pycurl-resolv.conf-hack.patch
16URL: http://urlgrabber.baseurl.org/
17BuildRequires: python >= 1:2.5
18BuildRequires: python-devel
19BuildRequires: python-pycurl >= 7.19
20BuildRequires: rpm-pythonprov
21%pyrequires_eq python-libs
22Requires: python-pycurl >= 7.19
23Provides: urlgrabber
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28A high-level cross-protocol url-grabber for Python supporting HTTP,
29FTP and file locations. Features include keepalive, byte ranges,
30throttling, authentication, proxies and more.
31
32%description -l pl.UTF-8
33Wysokopoziomowa biblioteka Pythona do wychwytywania URL-i dla wielu
34protokołów, obsługująca odnośniki HTTP, FTP i file. Możliwości
35obejmują połączenia keepalive, przedziały bajtów, tłumienie,
36uwierzytelnianie, proxy itp.
37
38%prep
39%setup -q -n urlgrabber-%{version}
40%patch1 -p1
41%patch2 -p1
42
43%build
44%{__python} setup.py build
45
46%install
47rm -rf $RPM_BUILD_ROOT
48%{__python} setup.py install \
49 --root=$RPM_BUILD_ROOT
50
51rm -rf $RPM_BUILD_ROOT%{_docdir}/urlgrabber-%{version}
52%py_postclean
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%doc ChangeLog README TODO
60%attr(755,root,root) %{_bindir}/urlgrabber
61%{py_sitescriptdir}/urlgrabber
62%{py_sitescriptdir}/*.egg-info
This page took 0.077322 seconds and 4 git commands to generate.