forked from pool/python-httplib2
57 lines
1.3 KiB
RPMSpec
57 lines
1.3 KiB
RPMSpec
|
#
|
||
|
# spec file for package python-httplib2 (Version 0.2.0)
|
||
|
#
|
||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: python-httplib2
|
||
|
BuildRequires: python-devel
|
||
|
Summary: A Python HTTP library
|
||
|
Version: 0.2.0
|
||
|
Release: 1
|
||
|
Source0: httplib2-%{version}.tar.gz
|
||
|
License: X11/MIT
|
||
|
Group: Development/Libraries/Python
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
Prefix: %{_prefix}
|
||
|
URL: http://bitworking.org/projects/httplib2/
|
||
|
|
||
|
%py_requires
|
||
|
|
||
|
%description
|
||
|
A comprehensive python HTTP client library, which supports many
|
||
|
features left out of other HTTP libraries.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Joe Gregorio <joe@bitworking.org>
|
||
|
|
||
|
%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 --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files -f INSTALLED_FILES
|
||
|
%defattr(-,root,root)
|
||
|
%doc PKG-INFO README
|
||
|
|
||
|
%changelog -n python-httplib2
|
||
|
* Sat Oct 21 2006 - dgollub@suse.de
|
||
|
- initial version of python-httplib2 (0.2.0)
|