1 Summary: Command line tools for the Google Data APIs
6 Group: Applications/Text
7 Source0: http://googlecl.googlecode.com/files/%{name}-%{version}.tar.gz
8 # Source0-md5: 03d91e27bf5ced8b8225c2d4dba30b3c
9 URL: http://code.google.com/p/googlecl/
10 BuildRequires: python-devel >= 1:2.6
11 BuildRequires: rpm-pythonprov
12 Requires: python-gdata >= 2
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 The Google Data APIs allow programmatic access to various Google
18 services. This package wraps a subset of those APIs into a
19 command-line tool that makes it easy to do things like posting to a
20 Blogger blog, uploading files to Picasa, or editing a Google Docs
27 %{__python} setup.py build
30 rm -rf $RPM_BUILD_ROOT
31 %{__python} setup.py install \
33 --root=$RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_mandir}/man1
36 install man/google.1 $RPM_BUILD_ROOT%{_mandir}/man1
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
45 %doc changelog README.config README.new-usage README.txt
46 %attr(755,root,root) %{_bindir}/google
47 %{py_sitescriptdir}/%{name}
48 %{py_sitescriptdir}/*.egg-info
49 %{_mandir}/man1/google.1*