]> git.pld-linux.org Git - packages/googlecl.git/blob - googlecl.spec
- rel 2
[packages/googlecl.git] / googlecl.spec
1 Summary:        Command line tools for the Google Data APIs
2 Name:           googlecl
3 Version:        0.9.11
4 Release:        2
5 License:        Apache v2.0
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
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 install -d $RPM_BUILD_ROOT%{_mandir}/man1
36 install man/google.1 $RPM_BUILD_ROOT%{_mandir}/man1
37
38 %py_postclean
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
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*
This page took 0.08516 seconds and 4 git commands to generate.