This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
euca2ools.spec
274 lines (203 loc) · 9.2 KB
/
euca2ools.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
# Copyright (c) 2009-2017 Hewlett Packard Enterprise Development LP
#
# Redistribution and use of this software in source and binary forms, with or
# without modification, are permitted provided that the following conditions
# are met:
#
# Redistributions of source code must retain the above
# copyright notice, this list of conditions and the
# following disclaimer.
#
# Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the
# following disclaimer in the documentation and/or other
# materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
Name: euca2ools
Version: 3.4.1
Release: 0%{?build_id:.%build_id}%{?dist}
Summary: Eucalyptus/AWS-compatible command line tools
Group: Applications/Internet
License: BSD
URL: http://www.eucalyptus.com/
Source0: %{tarball_basedir}.tar.xz
Requires: gdisk
Requires: gzip
Requires: kpartx
Requires: openssl
Requires: parted
Requires: python-argparse
Requires: python-lxml
Requires: python-progressbar >= 2.3
Requires: python-requestbuilder >= 0.6
Requires: python-requests
Requires: python-setuptools
Requires: python-six >= 1.8
Requires: PyYAML
Requires: rsync
Requires: util-linux
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildArch: noarch
%description
Euca2ools are command line tools used to interact with Amazon
Web Services (AWS) as well as other compatible services, such as
Eucalyptus. They aim to use the same input as similar tools provided
by AWS for each service individually along with several enhancements
that make them easier to use.
%prep
%setup -q -n %{tarball_basedir}
%build
%{__python} setup.py build
%install
%{__python} setup.py install --skip-build --root %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
mkdir -p %{buildroot}/etc/euca2ools
cp -Rp conf/* %{buildroot}/etc/euca2ools
mkdir -p %{buildroot}/%{_datadir}/euca2ools/certs
cp -p certs/* %{buildroot}/%{_datadir}/euca2ools/certs
%files
%{_bindir}/euare-*
%{_bindir}/euca-*
%{_bindir}/euform-*
%{_bindir}/euimage-*
%{_bindir}/eulb-*
%{_bindir}/euscale-*
%{_bindir}/euwatch-*
%{_mandir}/*/*
%{python_sitelib}/%{name}-*.egg-info
%{python_sitelib}/%{name}/
%dir /etc/euca2ools
%dir /etc/euca2ools/bundle-vol
%config(noreplace) /etc/euca2ools/bundle-vol/excludes
%config(noreplace) /etc/euca2ools/bundle-vol/fstab
%dir /etc/euca2ools/conf.d
%config(noreplace) /etc/euca2ools/euca2ools.ini
%config(noreplace) /etc/euca2ools/conf.d/*
%{_datadir}/euca2ools/certs
%doc COPYING
%doc INSTALL
%doc README
%changelog
* Wed Jan 18 2017 Garrett Holmstrom <[email protected]> - 3.4.1
- Version bump (3.4.1)
* Wed Jan 18 2017 Garrett Holmstrom <[email protected]> - 3.3.3
- Version bump (3.3.3)
* Tue Dec 13 2016 Garrett Holmstrom <[email protected]> - 3.4.0
- Version bump (3.4.0)
* Tue Dec 13 2016 Garrett Holmstrom <[email protected]> - 3.3.2
- Version bump (3.3.2)
* Tue Dec 13 2016 Garrett Holmstrom <[email protected]> - 3.2.3
- Version bump (3.2.3)
* Thu Dec 8 2016 Garrett Holmstrom <[email protected]> - 3.4.0
- Bumped python-six dependency to 1.8
* Mon Nov 14 2016 Garrett Holmstrom <[email protected]> - 3.4.0
- Bumped python-requestbuilder dependency to 0.6
* Wed Apr 27 2016 Matt Bacchi <[email protected]> - 3.3.1
- Version bump (3.3.1)
* Wed Apr 27 2016 Matt Bacchi <[email protected]> - 3.2.2
- Version bump (3.2.2)
* Mon Sep 21 2015 Eucalyptus Release Engineering <[email protected]> - 3.3.0
- Pull in python-requestbuilder >= 0.4 to fix unsigned redirects (EUCA-11378)
* Sat Aug 15 2015 Eucalyptus Release Engineering <[email protected]> - 3.3.0
- Version bump (3.3.0)
* Tue Jul 28 2015 Eucalyptus Release Engineering <[email protected]> - 3.2.1
- Version bump (3.2.1)
* Tue Jul 28 2015 Eucalyptus Release Engineering <[email protected]> - 3.1.3
- Version bump (3.1.3)
* Wed Jul 22 2015 Eucalyptus Release Engineering <[email protected]> - 3.2.0
- Pull in python-requestbuilder >= 0.3.4 for TimeoutError
* Fri Apr 24 2015 Eucalyptus Release Engineering <[email protected]> - 3.2.0
- Pull in python-requestbuilder >= 0.3
* Fri Apr 24 2015 Eucalyptus Release Engineering <[email protected]> - 3.2.0
- Pull in python-six >= 1.5
- Added new man pages
* Fri Apr 24 2015 Eucalyptus Release Engineering <[email protected]> - 3.2.0
- Pull in python-six >= 1.5
- Added new man pages
* Wed Jan 28 2015 Eucalyptus Release Engineering <[email protected]> - 3.1.2
- Version bump (3.1.2)
* Wed Jan 28 2015 Eucalyptus Release Engineering <[email protected]> - 3.0.5
- Version bump (3.0.5)
* Wed Jan 28 2015 Eucalyptus Release Engineering <[email protected]> - 3.1.2
- Version bump (3.1.2)
* Wed Jan 28 2015 Eucalyptus Release Engineering <[email protected]> - 3.0.5
- Version bump (3.0.5)
- Version bump (3.0.4)
* Thu Oct 16 2014 Eucalyptus Release Engineering <[email protected]> - 3.1.1
- Version bump (3.1.1)
* Mon Oct 6 2014 Eucalyptus Release Engineering <[email protected]> - 3.1.1
- Added missing deps for euca-bundle-vol (TOOLS-520)
* Thu Sep 25 2014 Eucalyptus Release Engineering <[email protected]> - 3.2.0
- Version bump (3.2.0)
* Mon Sep 22 2014 Eucalyptus Release Engineering <[email protected]> - 3.1.0
- Added euform-* man pages
* Fri Jun 20 2014 Eucalyptus Release Engineering <[email protected]> - 3.0.3-0
- Switched to xz-compressed sources
* Tue Jun 17 2014 Eucalyptus Release Engineering <[email protected]> - 3.1.0-0
- Switched to xz-compressed sources
* Wed May 28 2014 Eucalyptus Release Engineering <[email protected]> - 3.1.0-0
- Pull in python-six >= 1.4
* Fri May 23 2014 Eucalyptus Release Engineering <[email protected]> - 3.0.3-0
- Updated to 3.0.3
* Mon May 5 2014 Eucalyptus Release Engineering <[email protected]> - 3.1.0-0
- Added /etc/euca2ools/conf.d
* Fri May 2 2014 Eucalyptus Release Engineering <[email protected]> - 3.1.0-0
- Added new bundle-vol config files
* Tue Apr 17 2014 Eucalyptus Release Engineering <[email protected]> - 3.1.0-0
- Added euform-* commands
- Updated for 3.1.0-pre3
* Tue Apr 8 2014 Eucalyptus Release Engineering <[email protected]> - 3.1.0-0
- Updated for 3.1.0-pre2
* Wed Mar 19 2014 Eucalyptus Release Engineering <[email protected]> - 3.1.0-0
- Updated for 3.1.0-pre1
* Mon Feb 24 2014 Eucalyptus Release Engineering <[email protected]> - 3.1.0-0
- Dropped eustore client tools (TOOLS-423)
* Mon Sep 30 2013 Eucalyptus Release Engineering <[email protected]> - 3.0.2-0
- Updated to 3.0.2
- Make tarball_basedir a single macro rather than assembling it ourselves
* Fri Aug 23 2013 Eucalyptus Release Engineering <[email protected]> - 3.0.1-0
- Updated to 3.0.1
* Thu May 30 2013 Eucalyptus Release Engineering <[email protected]> - 3.0.0-0
- Updated to 3.0.0
* Fri Apr 26 2013 Eucalyptus Release Engineering <[email protected]> - 2.1.4-0
- Changed to a more sane version
* Wed Jun 6 2012 Eucalyptus Release Engineering <[email protected]> - 2.1.9999-0
- Updated to post-2.1 mainline
* Tue May 22 2012 Eucalyptus Release Engineering <[email protected]> - 2.1-0
- Update to 2.1 pre-releases
- Generate man pages at build time
* Fri May 11 2012 Eucalyptus Release Engineering <[email protected]> - 2.0.999-0
- Update to post-2.0 mainline
* Thu Mar 15 2012 Eucalyptus Release Engineering <[email protected]> - 2.0.1-0.1
- Update to 2.0.1
* Tue Feb 14 2012 Eucalyptus Release Engineering <[email protected]> - 2.0-0.2
- Fix euare-usercreate convenience options with --delegate
* Thu Feb 2 2012 Eucalyptus Release Engineering <[email protected]> - 2.0-0.1
- Update to 2.0
* Thu Apr 21 2011 Eucalyptus Release Engineering <[email protected]> - 1.4-0.1.alpha1
- Update to 1.4 alpha 1 (bzr rev 399)
* Thu Jan 20 2011 Eucalyptus Release Engineering <[email protected]> - 1.3.2-0
- Update to nightly builds of 1.3.2
* Wed Aug 18 2010 Eucalyptus Systems <[email protected]>
- Don't build m2crypto on fedora
* Wed Mar 17 2010 Eucalyptus Systems <[email protected]>
- Added support for fedora
* Fri Feb 12 2010 Eucalyptus Systems <[email protected]>
- Version 1.2
* Sun Nov 1 2009 Eucalyptus Systems <[email protected]>
- Version 1.1
* Sat Jun 27 2009 Eucalyptus Systems <[email protected]>
- First public release.