3 %bcond_without python3 # Python 3.x module
5 Summary: A comprehensive HTTP client library
6 Summary(pl.UTF-8): Obszerna biblioteka klienta HTTP
11 Group: Development/Languages/Python
12 Source0: http://httplib2.googlecode.com/files/httplib2-%{version}.zip
13 # Source0-md5: 0803da81fe1bb92f864715665defe65f
14 URL: http://bitworking.org/projects/httplib2/
15 BuildRequires: python >= 2.3
16 BuildRequires: python-modules
17 BuildRequires: sed >= 4.0
19 BuildRequires: python3-devel
20 BuildRequires: python3-distribute
21 BuildRequires: python3-modules
23 BuildRequires: rpm-pythonprov
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 A comprehensive HTTP client library, httplib2.py supports many
29 features left out of other HTTP libraries. Supports:
40 %description -l pl.UTF-8
41 httplib2.py to obszerna biblioteka klienta HTTP, obsługująca wiele
42 cech pomijanych przez inne biblioteki. Obsługuje:
51 - podlega testom jednostkowym.
53 %package -n python3-httplib2
54 Summary: A comprehensive HTTP client library
55 Summary(pl.UTF-8): Obszerna biblioteka klienta HTTP
56 Group: Development/Languages/Python
58 %description -n python3-httplib2
59 A comprehensive HTTP client library, httplib2.py supports many
60 features left out of other HTTP libraries. Supports:
71 %description -n python3-httplib2 -l pl.UTF-8
72 httplib2.py to obszerna biblioteka klienta HTTP, obsługująca wiele
73 cech pomijanych przez inne biblioteki. Obsługuje:
82 - podlega testom jednostkowym.
85 %setup -q -n httplib2-%{version}
95 rm -rf $RPM_BUILD_ROOT
102 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
106 rm -rf $RPM_BUILD_ROOT
109 %defattr(644,root,root,755)
110 %doc README CHANGELOG
111 %{py_sitescriptdir}/httplib2
112 %{py_sitescriptdir}/httplib2-%{version}-py*.egg-info
114 %files -n python3-httplib2
115 %defattr(644,root,root,755)
116 %doc python3/README CHANGELOG
117 %{py3_sitescriptdir}/httplib2
118 %{py3_sitescriptdir}/httplib2-%{version}-py*.egg-info