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