[521] | 1 | %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
| 2 | |
---|
| 3 | Summary: A Python module for accessing online Google services |
---|
| 4 | Summary(ja): オンライン Google サービスにアクセスするための Python モジュール |
---|
| 5 | Name: python-gdata |
---|
| 6 | Version: 1.1.1 |
---|
[5701] | 7 | Release: 3%{?_dist_release} |
---|
[521] | 8 | |
---|
| 9 | Group: Development/Languages |
---|
| 10 | License: ASL 2.0 |
---|
| 11 | URL: http://code.google.com/p/gdata-python-client/ |
---|
| 12 | Source0: http://gdata-python-client.googlecode.com/files/gdata.py-%{version}.tar.gz |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 14 | |
---|
| 15 | BuildArch: noarch |
---|
| 16 | BuildRequires: python-devel |
---|
| 17 | Requires: python |
---|
| 18 | Requires: python-elementtree |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | This is a Python module for accessing online Google services, such as: |
---|
| 22 | - Blogger |
---|
| 23 | - Calendar |
---|
| 24 | - Picasa Web Albums |
---|
| 25 | - Spreadsheets |
---|
| 26 | - YouTube |
---|
| 27 | - Notebook |
---|
| 28 | |
---|
| 29 | %prep |
---|
| 30 | %setup -q -n gdata.py-%{version} |
---|
| 31 | |
---|
| 32 | %build |
---|
| 33 | %{__python} setup.py build |
---|
| 34 | |
---|
| 35 | chmod -x samples/*/*.py |
---|
| 36 | |
---|
| 37 | %install |
---|
| 38 | rm -rf $RPM_BUILD_ROOT |
---|
| 39 | %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT |
---|
| 40 | |
---|
| 41 | %clean |
---|
| 42 | rm -rf $RPM_BUILD_ROOT |
---|
| 43 | |
---|
| 44 | %files |
---|
| 45 | %defattr(-,root,root,-) |
---|
| 46 | %doc README.txt RELEASE_NOTES.txt samples/ |
---|
| 47 | %{python_sitelib}/atom |
---|
| 48 | %{python_sitelib}/gdata |
---|
| 49 | |
---|
| 50 | %changelog |
---|
[5701] | 51 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-3 |
---|
| 52 | - rebuild with python-2.7.2 |
---|
| 53 | |
---|
[521] | 54 | * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.1.1-2 |
---|
| 55 | - rebuild with python-2.6 |
---|
| 56 | |
---|
| 57 | * Mon Jul 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.1-1 |
---|
| 58 | - new upstream release |
---|
| 59 | - build with python2.5 |
---|
| 60 | |
---|
| 61 | * Mon Apr 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-1 |
---|
| 62 | - initial build for Vine Linux |
---|
| 63 | |
---|
| 64 | * Tue Nov 13 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.9-1 |
---|
| 65 | - Update to 1.0.9 |
---|
| 66 | |
---|
| 67 | * Sun Oct 21 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.8-3 |
---|
| 68 | - Remove CFLAGS from the make part, as there's no native compilation, |
---|
| 69 | spotted by Parag AN <panemade@gmail.com> |
---|
| 70 | |
---|
| 71 | * Tue Oct 16 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.8-2 |
---|
| 72 | - Remove python-elementtree dep, it's builtin to Python 2.5 |
---|
| 73 | - Add samples to the docs, for documentation purposes |
---|
| 74 | - Remove unneeded macro |
---|
| 75 | |
---|
| 76 | * Fri Oct 12 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.8-1 |
---|
| 77 | - Initial RPM release |
---|