Group :: Desenvolvimento/Python
RPM: python-module-urlgrabber
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define real_name urlgrabber
Summary: High-level cross-protocol url-grabber
Name: python-module-urlgrabber
Version: 3.1.0
Release: alt1
License: LGPL
Group: Development/Python
URL: http://linux.duke.edu/projects/urlgrabber/
Packager: Mikhail Pokidko <pma at altlinux.org>
Source: http://linux.duke.edu/projects/urlgrabber/download/urlgrabber-%{version}.tar.gz
Patch: python-urlgrabber-2.9.6-reget.patch
BuildArch: noarch
Provides: urlgrabber
# Automatically added by buildreq on Mon Dec 17 2007
BuildRequires: python-dev python-modules-compiler python-modules-email python-modules-logging
BuildRequires: python
%description
python-urlgrabber is 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.
%prep
%setup -n %real_name-%version
#patch0 -p1 -b .reget
%build
%__python setup.py build
%install
%__python setup.py install -O1 --skip-build --root="%buildroot" --prefix="%_prefix"
%files
/usr/share/doc/%real_name-%version/*
%_bindir/%real_name
#python_sitelib/urlgrabber/
#_libdir/python%{__python_version}/site-packages/%real_name/*
%python_sitelibdir/%real_name/*
%changelog
…
Todas as alterações você pod ver aqui
Summary: High-level cross-protocol url-grabber
Name: python-module-urlgrabber
Version: 3.1.0
Release: alt1
License: LGPL
Group: Development/Python
URL: http://linux.duke.edu/projects/urlgrabber/
Packager: Mikhail Pokidko <pma at altlinux.org>
Source: http://linux.duke.edu/projects/urlgrabber/download/urlgrabber-%{version}.tar.gz
Patch: python-urlgrabber-2.9.6-reget.patch
BuildArch: noarch
Provides: urlgrabber
# Automatically added by buildreq on Mon Dec 17 2007
BuildRequires: python-dev python-modules-compiler python-modules-email python-modules-logging
BuildRequires: python
%description
python-urlgrabber is 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.
%prep
%setup -n %real_name-%version
#patch0 -p1 -b .reget
%build
%__python setup.py build
%install
%__python setup.py install -O1 --skip-build --root="%buildroot" --prefix="%_prefix"
%files
/usr/share/doc/%real_name-%version/*
%_bindir/%real_name
#python_sitelib/urlgrabber/
#_libdir/python%{__python_version}/site-packages/%real_name/*
%python_sitelibdir/%real_name/*
%changelog
…
Todas as alterações você pod ver aqui