Summary(pl.UTF-8): Wysokopoziomowa biblioteka do wychwytywania URL-i do wielu protokołów
Name: python-urlgrabber
Version: 3.9.1
-Release: 3
+Release: 7
Epoch: 1
License: LGPL v2.1+
Group: Libraries/Python
# Source0-md5: 00c8359bf71062d0946bacea521f80b4
Patch1: urlgrabber-HEAD.patch
URL: http://urlgrabber.baseurl.org/
+BuildRequires: rpmbuild(macros) >= 1.710
BuildRequires: python >= 1:2.5
BuildRequires: python-devel
BuildRequires: python-pycurl >= 7.19
BuildRequires: rpm-pythonprov
%pyrequires_eq python-libs
Requires: python-pycurl >= 7.19
-Provides: urlgrabber
Conflicts: c-ares < 1.6.0-2
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%patch1 -p1
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --root=$RPM_BUILD_ROOT
+%py_install
-rm -rf $RPM_BUILD_ROOT%{_docdir}/urlgrabber-%{version}
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/urlgrabber-%{version}
%py_postclean
%clean
%doc ChangeLog README TODO
%attr(755,root,root) %{_bindir}/urlgrabber
%{py_sitescriptdir}/urlgrabber
-%{py_sitescriptdir}/*.egg-info
+%{py_sitescriptdir}/urlgrabber-*.egg-info