python-gdata-vl.spec 2.2 KB

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