2024-01-05 16:50:01 +01:00
|
|
|
%define pkgname urlgrabber
|
|
|
|
|
|
|
|
Name: python-urlgrabber
|
2024-01-05 16:50:01 +01:00
|
|
|
Version: 4.0.0
|
2024-01-05 16:50:01 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A high-level cross-protocol url-grabber
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
|
|
|
URL: http://linux.duke.edu/projects/urlgrabber/
|
|
|
|
Source: http://urlgrabber.baseurl.org/download/urlgrabber-%{version}.tar.gz
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: python >= %python_version
|
|
|
|
Requires: pycurl
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
A high-level cross-protocol url-grabber.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkgname}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch}
|
|
|
|
|
|
|
|
rm -fr %{buildroot}%{_docdir}/urlgrabber-%{version}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/urlgrabber
|
|
|
|
%{_prefix}/libexec/urlgrabber-ext-down
|
|
|
|
%dir %{python_sitearch}/urlgrabber
|
|
|
|
%{python_sitearch}/urlgrabber/*
|
|
|
|
%{python_sitearch}/urlgrabber-*.egg-info
|
|
|
|
%doc LICENSE
|
|
|
|
#%doc ChangeLog README TODO
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:50:01 +01:00
|
|
|
* Mon Jul 29 2019 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:50:01 +01:00
|
|
|
* Thu Oct 10 2013 Automatic Build System <autodist@mambasoft.it> 3.10-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat May 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.9.1-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Thu Mar 25 2010 Davide Madrisan <davide.madrisan@gmail.com> 3.9.1-1mamba
|
|
|
|
- package created by autospec
|