]>
Commit | Line | Data |
---|---|---|
c91f1a43 CM |
1 | Summary: Command line tools for the Google Data APIs |
2 | Name: googlecl | |
a85d681d | 3 | Version: 0.9.11 |
6f52b170 | 4 | Release: 2 |
c91f1a43 CM |
5 | License: Apache v2.0 |
6 | Group: Applications/Text | |
7 | Source0: http://googlecl.googlecode.com/files/%{name}-%{version}.tar.gz | |
a85d681d | 8 | # Source0-md5: 03d91e27bf5ced8b8225c2d4dba30b3c |
c91f1a43 | 9 | URL: http://code.google.com/p/googlecl/ |
5083d35a KK |
10 | BuildRequires: python-devel >= 1:2.6 |
11 | BuildRequires: rpm-pythonprov | |
c91f1a43 CM |
12 | Requires: python-gdata >= 2 |
13 | BuildArch: noarch | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
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 | |
21 | file. | |
22 | ||
23 | %prep | |
24 | %setup -q | |
25 | ||
26 | %build | |
27 | %{__python} setup.py build | |
28 | ||
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | %{__python} setup.py install \ | |
32 | --optimize=2 \ | |
33 | --root=$RPM_BUILD_ROOT | |
34 | ||
36dc193d ZU |
35 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
36 | install man/google.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
37 | ||
c91f1a43 CM |
38 | %py_postclean |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
36dc193d | 45 | %doc changelog README.config README.new-usage README.txt |
c91f1a43 CM |
46 | %attr(755,root,root) %{_bindir}/google |
47 | %{py_sitescriptdir}/%{name} | |
48 | %{py_sitescriptdir}/*.egg-info | |
36dc193d | 49 | %{_mandir}/man1/google.1* |