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 |
---|
7 | Version: 2.38.0 |
---|
8 | Release: 1%{?_dist_release} |
---|
9 | License: MIT |
---|
10 | Group: Development/Languages |
---|
11 | URL: https://github.com/boto/%{pkgname} |
---|
12 | #URL: http://code.google.com/p/boto/ |
---|
13 | Source: https://github.com/downloads/boto/boto/%{pkgname}-%{version}.zip |
---|
14 | BuildRequires: python-devel, python-setuptools |
---|
15 | BuildRequires: unzip |
---|
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) |
---|
44 | %doc docs/ README.rst |
---|
45 | %{python_sitelib}/* |
---|
46 | |
---|
47 | %changelog |
---|
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 | |
---|
53 | * Sat Dec 14 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.20.1-1 |
---|
54 | - new upstream release |
---|
55 | - fixed %%doc |
---|
56 | |
---|
57 | * Sun Apr 28 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.9.0-1 |
---|
58 | - new upstream release |
---|
59 | |
---|
60 | * Sat Jan 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.7.0-1 |
---|
61 | - new upstream release |
---|
62 | |
---|
63 | * Sat Sep 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.6.0-1 |
---|
64 | - new upstream release |
---|
65 | - fixed %%files |
---|
66 | |
---|
67 | * Mon Jul 09 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.5.2-1 |
---|
68 | - new upstream release |
---|
69 | |
---|
70 | * Sat Jun 16 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.5.1-1 |
---|
71 | - new upstream release |
---|
72 | |
---|
73 | * Sat Jun 09 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.4.1-1 |
---|
74 | - new upstream release |
---|
75 | |
---|
76 | * Fri May 11 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.3.0-1 |
---|
77 | - new upstream release |
---|
78 | |
---|
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 | |
---|
83 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.1-2 |
---|
84 | - rebuild with python-2.7.2 |
---|
85 | |
---|
86 | * Mon Nov 07 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.1.1-1 |
---|
87 | - new upstream release |
---|
88 | |
---|
89 | * Sun May 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0b4-1 |
---|
90 | - new upstream release |
---|
91 | |
---|
92 | * Mon Oct 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0b3-1 |
---|
93 | - new upstream release |
---|
94 | |
---|
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 | |
---|
98 | * Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.0b2-1 |
---|
99 | - new upstream release |
---|
100 | - fixed Release macro |
---|
101 | |
---|
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 |
---|