python-boto-vl.spec 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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.0b4
  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. * Sun May 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0b4-1
  38. - new upstream release
  39. * Mon Oct 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0b3-1
  40. - new upstream release
  41. * Wed Sep 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0b2-2
  42. - rebuilt with rpm-4.8.1 for pkg-config
  43. * Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0b2-1
  44. - new upstream release
  45. - fixed Release macro
  46. * Sat May 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.9b-1
  47. - initial build for VineSeed
  48. * Fri Jul 24 2009 Robert Scheck <robert@fedoraproject.org> 1.8d-1
  49. - Upgrade to 1.8d (#513560)
  50. * Wed Jun 03 2009 Luke Macken <lmacken@redhat.com> 1.7a-2
  51. - Add python-setuptools-devel to our build requirements, for egg-info
  52. * Thu Apr 16 2009 Robert Scheck <robert@fedoraproject.org> 1.7a-1
  53. - Upgrade to 1.7a
  54. * Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 1.5c-2
  55. - Rebuild against rpm 4.6
  56. * Sun Dec 07 2008 Robert Scheck <robert@fedoraproject.org> 1.5c-1
  57. - Upgrade to 1.5c
  58. * Fri Dec 05 2008 Jeremy Katz <katzj@redhat.com> 1.2a-2
  59. - Rebuild for python 2.6
  60. * Wed May 07 2008 Robert Scheck <robert@fedoraproject.org> 1.2a-1
  61. - Upgrade to 1.2a
  62. * Sat Feb 09 2008 Robert Scheck <robert@fedoraproject.org> 1.0a-1
  63. - Upgrade to 1.0a
  64. * Sat Dec 08 2007 Robert Scheck <robert@fedoraproject.org> 0.9d-1
  65. - Upgrade to 0.9d
  66. * Thu Aug 30 2007 Robert Scheck <robert@fedoraproject.org> 0.9b-1
  67. - Upgrade to 0.9b
  68. - Initial spec file for Fedora and Red Hat Enterprise Linux