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