| [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 |
|---|
| [8158] | 7 | Release: 4%{?_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 | |
|---|
| [8158] | 20 | Vendor: Project Vine |
|---|
| 21 | Distribution: Vine Linux |
|---|
| 22 | |
|---|
| [521] | 23 | %description |
|---|
| 24 | This is a Python module for accessing online Google services, such as: |
|---|
| 25 | - Blogger |
|---|
| 26 | - Calendar |
|---|
| 27 | - Picasa Web Albums |
|---|
| 28 | - Spreadsheets |
|---|
| 29 | - YouTube |
|---|
| 30 | - Notebook |
|---|
| 31 | |
|---|
| 32 | %prep |
|---|
| 33 | %setup -q -n gdata.py-%{version} |
|---|
| 34 | |
|---|
| 35 | %build |
|---|
| 36 | %{__python} setup.py build |
|---|
| 37 | |
|---|
| 38 | chmod -x samples/*/*.py |
|---|
| 39 | |
|---|
| 40 | %install |
|---|
| 41 | rm -rf $RPM_BUILD_ROOT |
|---|
| 42 | %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT |
|---|
| 43 | |
|---|
| 44 | %clean |
|---|
| 45 | rm -rf $RPM_BUILD_ROOT |
|---|
| 46 | |
|---|
| 47 | %files |
|---|
| 48 | %defattr(-,root,root,-) |
|---|
| 49 | %doc README.txt RELEASE_NOTES.txt samples/ |
|---|
| 50 | %{python_sitelib}/atom |
|---|
| 51 | %{python_sitelib}/gdata |
|---|
| 52 | |
|---|
| 53 | %changelog |
|---|
| [8158] | 54 | * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-4 |
|---|
| 55 | - rebuild with VineSeed environment |
|---|
| 56 | |
|---|
| [5701] | 57 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-3 |
|---|
| 58 | - rebuild with python-2.7.2 |
|---|
| 59 | |
|---|
| [521] | 60 | * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.1.1-2 |
|---|
| 61 | - rebuild with python-2.6 |
|---|
| 62 | |
|---|
| 63 | * Mon Jul 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.1-1 |
|---|
| 64 | - new upstream release |
|---|
| 65 | - build with python2.5 |
|---|
| 66 | |
|---|
| 67 | * Mon Apr 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-1 |
|---|
| 68 | - initial build for Vine Linux |
|---|
| 69 | |
|---|
| 70 | * Tue Nov 13 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.9-1 |
|---|
| 71 | - Update to 1.0.9 |
|---|
| 72 | |
|---|
| 73 | * Sun Oct 21 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.8-3 |
|---|
| 74 | - Remove CFLAGS from the make part, as there's no native compilation, |
|---|
| 75 | spotted by Parag AN <panemade@gmail.com> |
|---|
| 76 | |
|---|
| 77 | * Tue Oct 16 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.8-2 |
|---|
| 78 | - Remove python-elementtree dep, it's builtin to Python 2.5 |
|---|
| 79 | - Add samples to the docs, for documentation purposes |
|---|
| 80 | - Remove unneeded macro |
|---|
| 81 | |
|---|
| 82 | * Fri Oct 12 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.8-1 |
|---|
| 83 | - Initial RPM release |
|---|