2 Summary: Google Data API for Python
3 Summary(pl.UTF-8): API Google Data dla Pythona
8 Group: Development/Languages/Python
9 Source0: http://gdata-python-client.googlecode.com/files/%{module}-%{version}.tar.gz
10 # Source0-md5: 8c3600cf02c6c228e28e366b2e5d5c32
11 URL: http://code.google.com/p/gdata-python-client/
12 BuildRequires: python >= 1:2.5
13 BuildRequires: rpm-pythonprov
14 BuildRequires: rpmbuild(macros) >= 1.219
15 %pyrequires_eq python-libs
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The Google Data Python Client Library provides a library and source
21 code that make it easy to access data through Google Data APIs.
23 %description -l pl.UTF-8
24 Projekt Google Data Python Client Library udostępnia wraz z kodem
25 bibliotekę ułatwiającą dostęp do danych poprzez API Google Data.
28 %setup -q -n %{module}-%{version}
31 %{__python} setup.py build
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
37 %{__python} setup.py install \
38 --root=$RPM_BUILD_ROOT \
41 cp -r samples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %doc README.txt RELEASE_NOTES.txt
51 %{py_sitescriptdir}/%{module}
52 %{py_sitescriptdir}/atom
53 %{py_sitescriptdir}/gdata-*.egg-info
54 %{_examplesdir}/%{name}-%{version}