python-gdata-vl.spec 2.3 KB

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