File python-httplib2.spec of Package python-httplib2

%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}


Name:           python-httplib2
# List of additional build dependencies
BuildRequires:  python-devel
Version:        0.4.0
Release:        1
License:        MIT
Source:         httplib2-0.4.0.tar.gz
Group:          Development/Libraries/Python
Summary:        A comprehensive HTTP client library
Requires:       python
BuildRequires:  python-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
A comprehensive HTTP client library that supports many features left
out of
other HTTP libraries.


%prep
%setup -q -n httplib2-%version

%build

python setup.py build

    

%install

python setup.py install --prefix=%_prefix --root=%buildroot




%clean
rm -rf %buildroot

%files
%defattr(-,root,root)
%{python_sitelib}/*/

%changelog
* Fri Oct 09 2009 build@mozillamessaging.com
- packaged python-httplib2 version 0.4.0 using the buildservice spec file wizard
openSUSE Build Service is sponsored by