]> git.pld-linux.org Git - packages/python-gdata.git/blob - python-gdata.spec
- release 4 (by relup.sh)
[packages/python-gdata.git] / python-gdata.spec
1 %define         module  gdata
2 Summary:        Google Data API for Python
3 Summary(pl.UTF-8):      API Google Data dla Pythona
4 Name:           python-%{module}
5 Version:        2.0.17
6 Release:        4
7 License:        Apache v2.0
8 Group:          Development/Languages/Python
9 Source0:        http://gdata-python-client.googlecode.com/files/%{module}-%{version}.tar.gz
10 # Source0-md5:  8c3600cf02c6c228e28e366b2e5d5c32
11 URL:            http://code.google.com/p/gdata-python-client/
12 BuildRequires:  python >= 1:2.5
13 BuildRequires:  rpm-pythonprov
14 BuildRequires:  rpmbuild(macros) >= 1.710
15 %pyrequires_eq  python-libs
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 The Google Data Python Client Library provides a library and source
21 code that make it easy to access data through Google Data APIs.
22
23 %description -l pl.UTF-8
24 Projekt Google Data Python Client Library udostępnia wraz z kodem
25 bibliotekę ułatwiającą dostęp do danych poprzez API Google Data.
26
27 %prep
28 %setup -q -n %{module}-%{version}
29
30 %build
31 %py_build
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
36
37 %py_install
38
39 cp -r samples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
40
41 %py_postclean
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc README.txt RELEASE_NOTES.txt
49 %{py_sitescriptdir}/%{module}
50 %{py_sitescriptdir}/atom
51 %{py_sitescriptdir}/gdata-*.egg-info
52 %{_examplesdir}/%{name}-%{version}
This page took 0.058172 seconds and 3 git commands to generate.