2007-01-16 00:34:01 +01:00
|
|
|
#
|
2011-07-11 15:57:54 +02:00
|
|
|
# spec file for package python-httplib2
|
2007-01-16 00:34:01 +01:00
|
|
|
#
|
2011-07-11 15:57:54 +02:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:34:01 +01:00
|
|
|
#
|
2008-09-09 22:19:41 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:34:01 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-09-09 22:19:41 +02:00
|
|
|
|
2007-01-16 00:34:01 +01:00
|
|
|
Name: python-httplib2
|
|
|
|
BuildRequires: python-devel
|
|
|
|
Summary: A Python HTTP library
|
2011-07-11 14:59:37 +02:00
|
|
|
Version: 0.7.1
|
|
|
|
Release: 1
|
2010-04-21 01:56:16 +02:00
|
|
|
Source0: httplib2-%{version}.tar.gz
|
2009-08-04 23:12:24 +02:00
|
|
|
License: MIT License (or similar)
|
2007-01-16 00:34:01 +01:00
|
|
|
Group: Development/Libraries/Python
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-09-09 22:19:41 +02:00
|
|
|
Url: http://bitworking.org/projects/httplib2/
|
2009-08-13 23:50:37 +02:00
|
|
|
%define prefix /usr
|
2007-01-16 00:34:01 +01:00
|
|
|
%py_requires
|
2009-08-13 23:50:37 +02:00
|
|
|
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
2007-01-16 00:34:01 +01:00
|
|
|
|
|
|
|
%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
|
|
|
|
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)
|
2011-07-11 14:59:37 +02:00
|
|
|
%doc CHANGELOG README
|
2007-01-16 00:34:01 +01:00
|
|
|
|
2008-09-09 22:19:41 +02:00
|
|
|
%changelog
|