]> git.pld-linux.org Git - packages/python-gdata.git/blob - python-gdata.spec
cf5704b5d52abad1beca51ae99d27e8ee2156c49
[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.12
6 Release:        2
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:  fac8a55fcb31582716db9371f79fb2f7
11 URL:            http://code.google.com/p/gdata-python-client/
12 BuildRequires:  python >= 1:2.5
13 BuildRequires:  python-devel
14 BuildRequires:  rpm-pythonprov
15 BuildRequires:  rpmbuild(macros) >= 1.219
16 %pyrequires_eq  python-libs
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 The Google Data Python Client Library provides a library and source
22 code that make it easy to access data through Google Data APIs.
23
24 %description -l pl.UTF-8
25 Projekt Google Data Python Client Library udostępnia wraz z kodem
26 bibliotekę ułatwiającą dostęp do danych poprzez API Google Data.
27
28 %prep
29 %setup -q -n %{module}-%{version}
30
31 %build
32 %{__python} setup.py build
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
37
38 %{__python} setup.py install \
39         --root=$RPM_BUILD_ROOT \
40         --optimize=2
41
42 cp -r samples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
43
44 %py_postclean
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc README.txt RELEASE_NOTES.txt
52 %{py_sitescriptdir}/%{module}
53 %{py_sitescriptdir}/atom
54 %{py_sitescriptdir}/gdata-*.egg-info
55 %{_examplesdir}/%{name}-%{version}
This page took 0.810026 seconds and 2 git commands to generate.