[1057] | 1 | %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
| 2 | %define pkgname boto |
---|
| 3 | |
---|
| 4 | Summary: A simple lightweight interface to Amazon Web Services |
---|
| 5 | Summary(ja): シンプル・軽量な Amazon Web サービスへのインターフェイス |
---|
| 6 | Name: python-boto |
---|
[7375] | 7 | Version: 2.7.0 |
---|
[5877] | 8 | Release: 1%{?_dist_release} |
---|
[1057] | 9 | License: MIT |
---|
| 10 | Group: Development/Languages |
---|
[5877] | 11 | URL: https://github.com/boto/%{pkgname} |
---|
[6347] | 12 | #URL: http://code.google.com/p/boto/ |
---|
[5877] | 13 | Source: https://github.com/downloads/boto/boto/%{pkgname}-%{version}.tar.gz |
---|
[1057] | 14 | BuildRequires: python-devel, python-setuptools |
---|
| 15 | BuildArch: noarch |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | Boto is a Python package that provides interfaces to Amazon Web Services. |
---|
| 20 | It supports S3 (Simple Storage Service), SQS (Simple Queue Service) via |
---|
| 21 | the REST API's provided by those services and EC2 (Elastic Compute Cloud) |
---|
| 22 | via the Query API. The goal of boto is to provide a very simple, easy to |
---|
| 23 | use, lightweight wrapper around the Amazon services. |
---|
| 24 | |
---|
| 25 | %prep |
---|
| 26 | %setup -q -n %{pkgname}-%{version} |
---|
| 27 | |
---|
| 28 | %build |
---|
| 29 | %{__python} setup.py build |
---|
| 30 | |
---|
| 31 | %install |
---|
| 32 | rm -rf $RPM_BUILD_ROOT |
---|
| 33 | %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT |
---|
| 34 | |
---|
| 35 | # Remove all test scripts |
---|
| 36 | rm -rf $RPM_BUILD_ROOT{%{_bindir},%{python_sitelib}/tests} |
---|
| 37 | |
---|
| 38 | %clean |
---|
| 39 | rm -rf $RPM_BUILD_ROOT |
---|
| 40 | |
---|
| 41 | %files |
---|
| 42 | %defattr(-,root,root) |
---|
[6867] | 43 | %doc Changelog.rst README.rst |
---|
[1057] | 44 | %{python_sitelib}/* |
---|
| 45 | |
---|
| 46 | %changelog |
---|
[7375] | 47 | * Sat Jan 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.7.0-1 |
---|
| 48 | - new upstream release |
---|
| 49 | |
---|
[6867] | 50 | * Sat Sep 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.6.0-1 |
---|
| 51 | - new upstream release |
---|
| 52 | - fixed %%files |
---|
| 53 | |
---|
[6532] | 54 | * Sun Jul 09 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.5.2-1 |
---|
| 55 | - new upstream release |
---|
| 56 | |
---|
[6347] | 57 | * Sat Jun 16 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.5.1-1 |
---|
| 58 | - new upstream release |
---|
| 59 | |
---|
[6298] | 60 | * Sat Jun 09 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.4.1-1 |
---|
| 61 | - new upstream release |
---|
| 62 | |
---|
[6163] | 63 | * Fri May 11 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.3.0-1 |
---|
| 64 | - new upstream release |
---|
| 65 | |
---|
[5877] | 66 | * Sat Mar 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.2.2-1 |
---|
| 67 | - new upstream release |
---|
| 68 | - changed URL and Source |
---|
| 69 | |
---|
[5701] | 70 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.1-2 |
---|
| 71 | - rebuild with python-2.7.2 |
---|
| 72 | |
---|
[5125] | 73 | * Mon Nov 07 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.1.1-1 |
---|
| 74 | - new upstream release |
---|
| 75 | |
---|
[3932] | 76 | * Sun May 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0b4-1 |
---|
| 77 | - new upstream release |
---|
| 78 | |
---|
[2106] | 79 | * Mon Oct 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0b3-1 |
---|
| 80 | - new upstream release |
---|
| 81 | |
---|
[1951] | 82 | * Wed Sep 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0b2-2 |
---|
| 83 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 84 | |
---|
[1628] | 85 | * Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0b2-1 |
---|
| 86 | - new upstream release |
---|
| 87 | - fixed Release macro |
---|
| 88 | |
---|
[1057] | 89 | * Sat May 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.9b-1 |
---|
| 90 | - initial build for VineSeed |
---|
| 91 | |
---|
| 92 | * Fri Jul 24 2009 Robert Scheck <robert@fedoraproject.org> 1.8d-1 |
---|
| 93 | - Upgrade to 1.8d (#513560) |
---|
| 94 | |
---|
| 95 | * Wed Jun 03 2009 Luke Macken <lmacken@redhat.com> 1.7a-2 |
---|
| 96 | - Add python-setuptools-devel to our build requirements, for egg-info |
---|
| 97 | |
---|
| 98 | * Thu Apr 16 2009 Robert Scheck <robert@fedoraproject.org> 1.7a-1 |
---|
| 99 | - Upgrade to 1.7a |
---|
| 100 | |
---|
| 101 | * Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 1.5c-2 |
---|
| 102 | - Rebuild against rpm 4.6 |
---|
| 103 | |
---|
| 104 | * Sun Dec 07 2008 Robert Scheck <robert@fedoraproject.org> 1.5c-1 |
---|
| 105 | - Upgrade to 1.5c |
---|
| 106 | |
---|
| 107 | * Fri Dec 05 2008 Jeremy Katz <katzj@redhat.com> 1.2a-2 |
---|
| 108 | - Rebuild for python 2.6 |
---|
| 109 | |
---|
| 110 | * Wed May 07 2008 Robert Scheck <robert@fedoraproject.org> 1.2a-1 |
---|
| 111 | - Upgrade to 1.2a |
---|
| 112 | |
---|
| 113 | * Sat Feb 09 2008 Robert Scheck <robert@fedoraproject.org> 1.0a-1 |
---|
| 114 | - Upgrade to 1.0a |
---|
| 115 | |
---|
| 116 | * Sat Dec 08 2007 Robert Scheck <robert@fedoraproject.org> 0.9d-1 |
---|
| 117 | - Upgrade to 0.9d |
---|
| 118 | |
---|
| 119 | * Thu Aug 30 2007 Robert Scheck <robert@fedoraproject.org> 0.9b-1 |
---|
| 120 | - Upgrade to 0.9b |
---|
| 121 | - Initial spec file for Fedora and Red Hat Enterprise Linux |
---|