2 %define module pygoogle
4 Summary: Python interface to Google API
5 Summary(pl.UTF-8): Interfejs Pythona do Google API
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
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Interface to Google API.
25 %description -l pl.UTF-8
26 Interfejs do Google API.
29 %setup -q -n %{module}-%{version}
31 python setup.py build_py --compile --optimize=2
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
37 cp build/lib/{google,GoogleSOAPFacade}.py{c,o} $RPM_BUILD_ROOT%{py_sitescriptdir}
40 rm -rf $RPM_BUILD_ROOT
43 %defattr(644,root,root,755)
45 %{py_sitescriptdir}/*.py?