]> git.pld-linux.org Git - packages/googlecl.git/blame - googlecl.spec
- rel 2
[packages/googlecl.git] / googlecl.spec
CommitLineData
c91f1a43
CM
1Summary: Command line tools for the Google Data APIs
2Name: googlecl
a85d681d 3Version: 0.9.11
6f52b170 4Release: 2
c91f1a43
CM
5License: Apache v2.0
6Group: Applications/Text
7Source0: http://googlecl.googlecode.com/files/%{name}-%{version}.tar.gz
a85d681d 8# Source0-md5: 03d91e27bf5ced8b8225c2d4dba30b3c
c91f1a43 9URL: http://code.google.com/p/googlecl/
5083d35a
KK
10BuildRequires: python-devel >= 1:2.6
11BuildRequires: rpm-pythonprov
c91f1a43
CM
12Requires: python-gdata >= 2
13BuildArch: noarch
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17The Google Data APIs allow programmatic access to various Google
18services. This package wraps a subset of those APIs into a
19command-line tool that makes it easy to do things like posting to a
20Blogger blog, uploading files to Picasa, or editing a Google Docs
21file.
22
23%prep
24%setup -q
25
26%build
27%{__python} setup.py build
28
29%install
30rm -rf $RPM_BUILD_ROOT
31%{__python} setup.py install \
32 --optimize=2 \
33 --root=$RPM_BUILD_ROOT
34
36dc193d
ZU
35install -d $RPM_BUILD_ROOT%{_mandir}/man1
36install man/google.1 $RPM_BUILD_ROOT%{_mandir}/man1
37
c91f1a43
CM
38%py_postclean
39
40%clean
41rm -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*
This page took 0.087745 seconds and 4 git commands to generate.