- initial import
This commit is contained in:
parent
7b27c6c703
commit
bd764993ad
@ -0,0 +1 @@
|
||||
httplib2-0.4.0.tar.gz
|
43
python-httplib2.spec
Normal file
43
python-httplib2.spec
Normal file
@ -0,0 +1,43 @@
|
||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
Name: python-httplib2
|
||||
Version: 0.4.0
|
||||
Release: 1%{?dist}
|
||||
Summary: A comprehensive HTTP client library
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: MIT
|
||||
URL: http://code.google.com/p/httplib2/
|
||||
Source0: http://httplib2.googlecode.com/files/httplib2-0.4.0.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: python-setuptools-devel
|
||||
BuildRequires: python-devel
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
A comprehensive HTTP client library that supports many features left out of
|
||||
other HTTP libraries.
|
||||
|
||||
%prep
|
||||
%setup -q -n httplib2-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" python setup.py build
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README PKG-INFO
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Thu Dec 27 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
|
||||
- 0.4.0-1
|
||||
- initial version
|
Loading…
Reference in New Issue
Block a user