python-gdata-vl.spec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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: 2%{?_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. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.1.1-2
  41. - rebuild with python-2.6
  42. * Mon Jul 21 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.1-1
  43. - new upstream release
  44. - build with python2.5
  45. * Mon Apr 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-1
  46. - initial build for Vine Linux
  47. * Tue Nov 13 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.9-1
  48. - Update to 1.0.9
  49. * Sun Oct 21 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.8-3
  50. - Remove CFLAGS from the make part, as there's no native compilation,
  51. spotted by Parag AN <panemade@gmail.com>
  52. * Tue Oct 16 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.8-2
  53. - Remove python-elementtree dep, it's builtin to Python 2.5
  54. - Add samples to the docs, for documentation purposes
  55. - Remove unneeded macro
  56. * Fri Oct 12 2007 - Bastien Nocera <bnocera@redhat.com> - 1.0.8-1
  57. - Initial RPM release