]>
Commit | Line | Data |
---|---|---|
c91f1a43 CM |
1 | Summary: Command line tools for the Google Data APIs |
2 | Name: googlecl | |
ea09a593 CM |
3 | Version: 0.9.9 |
4 | Release: 1 | |
c91f1a43 CM |
5 | License: Apache v2.0 |
6 | Group: Applications/Text | |
7 | Source0: http://googlecl.googlecode.com/files/%{name}-%{version}.tar.gz | |
ea09a593 | 8 | # Source0-md5: 0297341720b36e8accc07534e8d608b0 |
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 | ||
35 | %py_postclean | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %attr(755,root,root) %{_bindir}/google | |
43 | %{py_sitescriptdir}/%{name} | |
44 | %{py_sitescriptdir}/*.egg-info |