%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: python-urljr Version: 1.0.1 Release: 1%{?dist} Summary: A common interface to urllib2 and curl for making HTTP requests Group: Development/Languages License: LGPL URL: http://www.openidenabled.com/openid/libraries/python/urljr Source0: http://www.openidenabled.com/resources/downloads/python-openid/python-urljr-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel BuildRequires: python-pycurl Requires: python-pycurl %description URL-related utilities from JanRain, Inc. This package contains the "fetchers" module, which provides a common interface to urllib2 and curl for making HTTP requests. %prep %setup -q %build %{__python} setup.py build %check %{__python} admin/runtests %install rm -rf %{buildroot} %{__python} setup.py install -O1 --skip-build --root %{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc COPYING README %{python_sitelib}/* %changelog * Tue Dec 5 2006 Jeffrey C. Ollie - 1.0.1-1 - First version for Fedora Extras