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