Blame SPECS/euca2ools.spec

cf5968
# Spec file license: MIT
cf5968
cf5968
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
cf5968
cf5968
Name:           euca2ools
cf5968
Version:        2.1.4
cf5968
Release:        1%{?dist}
cf5968
Summary:        Eucalyptus/AWS-compatible command line tools
cf5968
cf5968
Group:          Applications/Internet
cf5968
License:        BSD
cf5968
URL:            http://www.eucalyptus.com/
cf5968
Source0:        http://downloads.eucalyptus.com/software/euca2ools/2.0/source/euca2ools-%{version}.tar.gz
cf5968
cf5968
Requires:       m2crypto
cf5968
# This requires EC2Connection.register_image to have a virtualization_type arg.
cf5968
# The 2.13.3-1 package includes it as a backport.
cf5968
Requires:       python-boto >= 2.13.3-1
cf5968
Requires:       rsync
cf5968
Requires:       util-linux
cf5968
cf5968
Obsoletes:      euca2ools-eustore < 2.1.1-2
cf5968
Provides:       euca2ools-eustore = %{version}-%{release}
cf5968
cf5968
BuildRequires:  help2man
cf5968
BuildRequires:  python-devel
cf5968
BuildRequires:  python-setuptools-devel
cf5968
cf5968
# For building man pages
cf5968
BuildRequires:  python-boto >= 2.0
cf5968
BuildRequires:  m2crypto
cf5968
cf5968
BuildArch:      noarch
cf5968
cf5968
# Disable SSL cert validation by default for boto 2.6+ compatibility
cf5968
# (Eucalyptus uses self-signed certs by default, which breaks connections)
cf5968
Patch1:         euca2ools-2.1.3-boto-ssl.patch
cf5968
# Add euca-register --virtualization-type per Fedora rel-eng's request
cf5968
# Requires fixes from boto 2.14, backported in python-boto-2.13.3-1
cf5968
Patch2:         euca2ools-2.1.4-virttype.patch
cf5968
cf5968
cf5968
%description
cf5968
Euca2ools are command line tools used to interact with Eucalyptus,
cf5968
a service overlay designed to be interface-compatible with Amazon Web
cf5968
Services (AWS), as well as AWS itself.
cf5968
cf5968
cf5968
%prep
cf5968
%setup -q
cf5968
%patch1 -p1
cf5968
%patch2 -p1
cf5968
cf5968
cf5968
%build
cf5968
%{__python} setup.py build
cf5968
export PYTHON=%{__python}
cf5968
sh -xe generate-manpages.sh
cf5968
cf5968
cf5968
%install
cf5968
%{__python} setup.py install --skip-build --root %{buildroot}
cf5968
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
cf5968
cf5968
export DESTDIR=%{buildroot}
cf5968
export PREFIX=%{_prefix}
cf5968
sh -xe install-manpages.sh
cf5968
cf5968
cf5968
%clean
cf5968
rm -rf %{buildroot}
cf5968
cf5968
cf5968
%files
cf5968
%{_bindir}/euare-*
cf5968
%{_bindir}/euca-*
cf5968
%{_bindir}/eustore-*
cf5968
%{_mandir}/man1/euare*
cf5968
%{_mandir}/man1/euca*
cf5968
%{_mandir}/man1/eustore*
cf5968
%{python_sitelib}/%{name}-*.egg-info
cf5968
%{python_sitelib}/%{name}/
cf5968
%doc CHANGELOG
cf5968
%doc COPYING
cf5968
%doc INSTALL
cf5968
%doc README
cf5968
cf5968
cf5968
%changelog
cf5968
* Thu Sep 26 2013 Garrett Holmstrom <gholms@fedoraproject.org> - 2.1.4-1
cf5968
- Upstream update (2.1.4)
cf5968
- Fixed eustore-install-image breakage from 2.1.3-2 [RH:1001433]
cf5968
cf5968
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-3
cf5968
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
cf5968
cf5968
* Fri Jun 21 2013 Garrett Holmstrom <gholms@fedoraproject.org> - 2.1.3-2
cf5968
- Disabled SSL cert validation to make things work with boto 2.6+
cf5968
- Fixed eustore account name checking [TOOLS-282]
cf5968
- Fixed eustore registering images with the wrong type [TOOLS-184]
cf5968
- Fixed euare-userlistpolicies -v --delegate [TOOLS-281]
cf5968
- Fixed euca-get-console-output crash on no output
cf5968
- Added euca-register --virtualization type (note that it requires special privs)
cf5968
cf5968
* Mon Mar  4 2013 Garrett Holmstrom <gholms@fedoraproject.org> - 2.1.3-1
cf5968
- Upstream update (2.1.3) [RH:916716]
cf5968
- Fix euare-useraddpolicy --delegate
cf5968
cf5968
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-3
cf5968
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
cf5968
cf5968
* Wed Oct 10 2012 Garrett Holmstrom <gholms@fedoraproject.org> - 2.1.1-2
cf5968
- Combined the -eustore package into the main package [RH:865108]
cf5968
cf5968
* Wed Sep 13 2012 Garrett Holmstrom <gholms@fedoraproject.org> - 2.1.1-1
cf5968
- Upstream update (2.1.1)
cf5968
- The new EuStore tools introduced in this version are in the -eustore package.
cf5968
cf5968
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-2
cf5968
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
cf5968
cf5968
* Tue Apr 17 2012 Garrett Holmstrom <gholms@fedoraproject.org> - 2.0.2-1
cf5968
- Upstream update (2.0.2)
cf5968
cf5968
* Tue Apr 17 2012 Garrett Holmstrom <gholms@fedoraproject.org> - 1.3.2-1
cf5968
- Upstream update (1.3.2)
cf5968
cf5968
* Wed Apr  4 2012 Garrett Holmstrom <gholms@fedoraproject.org> - 2.0.1-1
cf5968
- Upstream update (2.0.1)
cf5968
cf5968
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-13
cf5968
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cf5968
cf5968
* Fri Jul 22 2011 Garrett Holmstrom <gholms@fedoraproject.org> - 1.3.1-12
cf5968
- Fixed registration of EBS-backed images
cf5968
cf5968
* Fri Jul  1 2011 Garrett Holmstrom <gholms@fedoraproject.org> - 1.3.1-11
cf5968
- Backported support for bundle upload location constraints [LP:704658]
cf5968
cf5968
* Fri Jun 10 2011 Garrett Holmstrom <gholms@fedoraproject.org> - 1.3.1-11
cf5968
- Fixed handling of empty block device sizes
cf5968
- Fixed euca-describe-image-attribute -B output [LP:795395]
cf5968
cf5968
* Tue Apr 26 2011 Garrett Holmstrom <gholms@fedoraproject.org> - 1.3.1-10
cf5968
- Added unlisted dependencies for euca-bundle-vol
cf5968
- Fixed typos introduced by the FSID patch
cf5968
- Fixed bundling failure on small images [LP:760157]
cf5968
- Fixed use of bad mkfs options on older systems [LP:771498]
cf5968
cf5968
* Tue Mar 22 2011 Garrett Holmstrom <gholms@fedoraproject.org> - 1.3.1-9
cf5968
- Work around Boto 2.0 + Eucalyptus 2.0 incompatibility [RH:684976]
cf5968
cf5968
* Mon Mar  7 2011 Garrett Holmstrom <gholms@fedoraproject.org> - 1.3.1-8
cf5968
- Fix Boto 2.0 compatibility
cf5968
cf5968
* Fri Mar  4 2011 Garrett Holmstrom <gholms@fedoraproject.org> - 1.3.1-7
cf5968
- Fix backtrace when --user-data-file does not exist [LP:726901]
cf5968
- Don't require source subnet when (de)authorizing [LP:725170]
cf5968
cf5968
* Thu Feb 17 2011 Garrett Holmstrom <gholms@fedoraproject.org> - 1.3.1-6
cf5968
- Stop stripping leading '0's from user IDs [LP:479823]
cf5968
- Fix bad behavior with user IDs that contain '-'
cf5968
- Preserve filesystem labels and UUIDs when bundling [LP:667793 LP:672986]
cf5968
cf5968
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-5
cf5968
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
cf5968
cf5968
* Wed Dec 15 2010 Garrett Holmstrom <gholms@fedoraproject.org> - 1.3.1-4
cf5968
- Fix EC2-incompatible bundle checksumming [LP:665667]
cf5968
cf5968
* Wed Dec  8 2010 Garrett Holmstrom <gholms@fedoraproject.org> - 1.3.1-3
cf5968
- Fix URI parsing in main euca2ools module [RH:658560 LP:405628]
cf5968
- Fix euca-confirm-product-instance crash [LP:548483]
cf5968
cf5968
* Wed Dec  8 2010 Garrett Holmstrom <gholms@fedoraproject.org> - 1.3.1-2.1
cf5968
- Remove extraneous copies of executables from %%{_bindir}
cf5968
cf5968
* Thu Nov 18 2010 Garrett Holmstrom <gholms@fedoraproject.org> - 1.3.1-2
cf5968
- Fix euca-bundle-image returning Odd-length string errors [LP:509562]
cf5968
- Fix euca-bundle-image failure to use symbolic links [LP:522292]
cf5968
- Fix euca-bundle-image --help yielding 'Invalid user' messages [LP:546526]
cf5968
- Fix rebundled instance boot failure [LP:551847]
cf5968
- Check a default location for Eucalyptus certificate [LP:479836]
cf5968
- Fix euca-describe-image-attribute --kernel or --ramdisk [LP:546551]
cf5968
- Fix euca-describe-images listing too many images on EC2 [LP:541468]
cf5968
- Fix euca-download-bundle usage message [LP:546567]
cf5968
- Fix failures related to a spurious space in euca-describe-images [LP:531453]
cf5968
- Fix euca-run-instances parameter validation [LP:546420]
cf5968
- Fix euca-run-instances usage message [LP:530816]
cf5968
cf5968
* Sat Sep  4 2010 Garrett Holmstrom <gholms@fedoraproject.org> - 1.3.1-1
cf5968
- Upstream bugfix release [LP:629118]
cf5968
cf5968
* Wed Aug 25 2010 Garrett Holmstrom <gholms@fedoraproject.org> - 1.3-1
cf5968
- Update to 1.3 final
cf5968
- This release no longer requires python-boto 2.0
cf5968
cf5968
* Fri Jul 30 2010 Garrett Holmstrom <gholms@fedoraproject.org> - 1.2-5.20100701bzr293
cf5968
- Rebuild prerelease against Python 2.7
cf5968
cf5968
* Thu Jul 22 2010 Garrett Holmstrom <gholms@fedoraproject.org> - 1.2-4.20100701bzr293
cf5968
- Update to a snapshot that includes support for block device mapping [575258]
cf5968
cf5968
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.2-3
cf5968
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
cf5968
cf5968
* Mon Mar 22 2010 Garrett Holmstrom <gholms@fedoraproject.org> - 1.2-2
cf5968
- Fix bad version reporting [LP:522396]
cf5968
- Fix broken rc file searching [LP:516738 LP:524652]
cf5968
- Fix reversed kernel+ramdisk display order in euca-describe-images [LP:256697]
cf5968
- Fix broken file patch processing [LP:522060]
cf5968
- Make euca-create-volume documentation consistent [LP:542097]
cf5968
- Correct help files for euca-{modify,reset}-image-attribute [LP:543559]
cf5968
- Fix euca-bundle-image --block-device-mapping [575166]
cf5968
cf5968
* Thu Feb 18 2010 Garrett Holmstrom <gholms@fedoraproject.org> - 1.2-1
cf5968
- Upstream update
cf5968
cf5968
* Thu Feb  4 2010 Garrett Holmstrom <gholms@fedoraproject.org> - 1.1-5
cf5968
- Fix changelog
cf5968
cf5968
* Wed Jan 20 2010 Garrett Holmstrom <gholms@fedoraproject.org> - 1.1-4
cf5968
- Stop requiring swig
cf5968
- Take ownership of %%{python_sitelib}/%%{name} directory
cf5968
- Clarify description
cf5968
- Drop now-superfluous buildroot tag and cleaning step
cf5968
cf5968
* Fri Jan 15 2010 Garrett Holmstrom <gholms@fedoraproject.org> - 1.1-3
cf5968
- Update download URI
cf5968
cf5968
* Fri Jan  8 2010 Garrett Holmstrom <gholms@fedoraproject.org> - 1.1-2
cf5968
- Add COPYING and INSTALL docfiles
cf5968
cf5968
* Fri Jan  8 2010 Garrett Holmstrom <gholms@fedoraproject.org> - 1.1-1
cf5968
- Initial packaging attempt