SPECS: python-httplib2.spec (NEW) - new
glen
glen at pld-linux.org
Thu Jun 14 21:42:55 CEST 2007
Author: glen Date: Thu Jun 14 19:42:55 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
python-httplib2.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-httplib2.spec
diff -u /dev/null SPECS/python-httplib2.spec:1.1
--- /dev/null Thu Jun 14 21:42:55 2007
+++ SPECS/python-httplib2.spec Thu Jun 14 21:42:50 2007
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+Summary: A comprehensive HTTP client library
+Name: python-httplib2
+Version: 0.3.0
+Release: 1
+License: MIT
+Group: Development/Languages/Python
+Source0: http://bitworking.org/projects/httplib2/dist/httplib2-%{version}.tar.gz
+# Source0-md5: 781110e8031bdbe753d80532cfbe1bc4
+URL: http://bitworking.org/projects/httplib2/
+BuildRequires: python >= 2.3
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A comprehensive HTTP client library, httplib2.py supports many
+features left out of other HTTP libraries.
+- HTTP and HTTPS
+- Keep-Alive
+- Authentication
+- Caching
+- All Methods
+- Redirects
+- Compression
+- Lost update support
+- Unit Tested
+
+%prep
+%setup -q -n httplib2-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%dir %{py_sitescriptdir}/httplib2
+%{py_sitescriptdir}/httplib2/*.py[co]
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/06/14 19:42:50 glen
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list