python-boto-vl.spec 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. %define pkgname boto
  3. Summary: A simple lightweight interface to Amazon Web Services
  4. Summary(ja): シンプル・軽量な Amazon Web サービスへのインターフェイス
  5. Name: python-boto
  6. Version: 2.0b2
  7. Release: 1%{?_dist_release}
  8. License: MIT
  9. Group: Development/Languages
  10. URL: http://code.google.com/p/%{pkgname}/
  11. Source: http://boto.googlecode.com/files/%{pkgname}-%{version}.tar.gz
  12. BuildRequires: python-devel, python-setuptools
  13. BuildArch: noarch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. %description
  16. Boto is a Python package that provides interfaces to Amazon Web Services.
  17. It supports S3 (Simple Storage Service), SQS (Simple Queue Service) via
  18. the REST API's provided by those services and EC2 (Elastic Compute Cloud)
  19. via the Query API. The goal of boto is to provide a very simple, easy to
  20. use, lightweight wrapper around the Amazon services.
  21. %prep
  22. %setup -q -n %{pkgname}-%{version}
  23. %build
  24. %{__python} setup.py build
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
  28. # Remove all test scripts
  29. rm -rf $RPM_BUILD_ROOT{%{_bindir},%{python_sitelib}/tests}
  30. %clean
  31. rm -rf $RPM_BUILD_ROOT
  32. %files
  33. %defattr(-,root,root)
  34. %doc README
  35. %{python_sitelib}/*
  36. %changelog
  37. * Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0b2-1
  38. - new upstream release
  39. - fixed Release macro
  40. * Sat May 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.9b-1
  41. - initial build for VineSeed
  42. * Fri Jul 24 2009 Robert Scheck <robert@fedoraproject.org> 1.8d-1
  43. - Upgrade to 1.8d (#513560)
  44. * Wed Jun 03 2009 Luke Macken <lmacken@redhat.com> 1.7a-2
  45. - Add python-setuptools-devel to our build requirements, for egg-info
  46. * Thu Apr 16 2009 Robert Scheck <robert@fedoraproject.org> 1.7a-1
  47. - Upgrade to 1.7a
  48. * Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 1.5c-2
  49. - Rebuild against rpm 4.6
  50. * Sun Dec 07 2008 Robert Scheck <robert@fedoraproject.org> 1.5c-1
  51. - Upgrade to 1.5c
  52. * Fri Dec 05 2008 Jeremy Katz <katzj@redhat.com> 1.2a-2
  53. - Rebuild for python 2.6
  54. * Wed May 07 2008 Robert Scheck <robert@fedoraproject.org> 1.2a-1
  55. - Upgrade to 1.2a
  56. * Sat Feb 09 2008 Robert Scheck <robert@fedoraproject.org> 1.0a-1
  57. - Upgrade to 1.0a
  58. * Sat Dec 08 2007 Robert Scheck <robert@fedoraproject.org> 0.9d-1
  59. - Upgrade to 0.9d
  60. * Thu Aug 30 2007 Robert Scheck <robert@fedoraproject.org> 0.9b-1
  61. - Upgrade to 0.9b
  62. - Initial spec file for Fedora and Red Hat Enterprise Linux