]> git.pld-linux.org Git - packages/python-httplib2.git/commitdiff
- new
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 14 Jun 2007 19:42:50 +0000 (19:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-httplib2.spec -> 1.1

python-httplib2.spec [new file with mode: 0644]

diff --git a/python-httplib2.spec b/python-httplib2.spec
new file mode 100644 (file)
index 0000000..6335ca4
--- /dev/null
@@ -0,0 +1,45 @@
+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]
This page took 0.033958 seconds and 4 git commands to generate.