]> git.pld-linux.org Git - packages/python-pygoogle.git/blob - python-pygoogle.spec
- release 2 (by relup.sh)
[packages/python-pygoogle.git] / python-pygoogle.spec
1
2 %define         module  pygoogle
3
4 Summary:        Python interface to Google API
5 Summary(pl.UTF-8):      Interfejs Pythona do Google API
6 Name:           python-%{module}
7 Version:        0.6
8 Release:        2
9 License:        PSF
10 Group:          Libraries/Python
11 Source0:        http://dl.sourceforge.net/pygoogle/%{module}-%{version}.tar.gz
12 # Source0-md5:  334e2d9e5a765ffa9769e2c4cdfcd110
13 URL:            http://pygoogle.sourceforge.net/
14 BuildRequires:  python-devel >= 2.2.1
15 BuildRequires:  python-modules
16 BuildRequires:  rpm-pythonprov
17 %pyrequires_eq  python-modules
18 Requires:       python-SOAP >= 0.11.3
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Interface to Google API.
24
25 %description -l pl.UTF-8
26 Interfejs do Google API.
27
28 %prep
29 %setup -q -n %{module}-%{version}
30
31 python setup.py build_py --compile --optimize=2
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
36
37 cp build/lib/{google,GoogleSOAPFacade}.py{c,o} $RPM_BUILD_ROOT%{py_sitescriptdir}
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc doc/*
45 %{py_sitescriptdir}/*.py?
This page took 0.090622 seconds and 3 git commands to generate.