読者です 読者をやめる 読者になる 読者になる

ec2-ami-toolsのspecファイル

EC2
Summary: Amazon EC2 AMI Tools
Name: ec2-ami-tools
Version: 1.3
Release: 66634
License: Amazon Software License
Group: Development/Tools
Source: ec2-ami-tools.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch

%define destdir /usr/local/ec2-ami-tools-1.3-66634
%define _unpackaged_files_terminate_build 0

%description
The Amazon EC2 AMI Tools are command-line utilities to help bundle an Amazon Machine Image (AMI), create an AMI from an existing machine or installed volume, and upload a bundled AMI to Amazon S3.

%prep
%setup -q -n %{name}-%{version}-%{release}

%install
install -d $RPM_BUILD_ROOT%{destdir}/bin
install -d $RPM_BUILD_ROOT/%{destdir}/lib
install -d $RPM_BUILD_ROOT/%{destdir}/lib/ec2
install -d $RPM_BUILD_ROOT/%{destdir}/lib/ec2/oem
install -d $RPM_BUILD_ROOT/%{destdir}/lib/ec2/common
install -d $RPM_BUILD_ROOT/%{destdir}/lib/ec2/amitools
install -d $RPM_BUILD_ROOT/%{destdir}/lib/ec2/platform
install -d $RPM_BUILD_ROOT/%{destdir}/lib/ec2/platform/linux
install -d $RPM_BUILD_ROOT/%{destdir}/lib/ec2/platform/solaris
install -d $RPM_BUILD_ROOT/%{destdir}/lib/ec2/platform/base
install -d $RPM_BUILD_ROOT/%{destdir}/etc
install -d $RPM_BUILD_ROOT/%{destdir}/etc/ec2
install -d $RPM_BUILD_ROOT/%{destdir}/etc/ec2/amitools
install -m 755 bin/* $RPM_BUILD_ROOT%{destdir}/bin/
install -m 644 lib/ec2/amitools/migratebundleparameters.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/downloadbundleparameters.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/bundleparameters.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/manifestv20070829.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/decryptmanifest.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/manifestv20071010.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/unbundle.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/version.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/showversion.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/crypto.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/bundlevol.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/tool_base.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/format.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/bundleimageparameters.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/fileutil.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/util.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/parameters_base.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/instance-data.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/manifestv3.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/bundle.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/bundlemachineparameters.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/bundlevolparameters.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/minimalec2.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/deletebundleparameters.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/downloadbundle.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/migratemanifestparameters.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/bundleimage.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/parameter_exceptions.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/xmlutil.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/deletebundle.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/defaults.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/s3toolparameters.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/mapids.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/bundle_base.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/exception.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/migratebundle.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/migratemanifest.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/uploadbundleparameters.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/syschecks.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/xmlbuilder.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/uploadbundle.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/unbundleparameters.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/amitools/manifest_wrapper.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/amitools/
install -m 644 lib/ec2/common/http.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/common/
install -m 644 lib/ec2/common/s3support.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/common/
install -m 644 lib/ec2/common/curl.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/common/
install -m 644 lib/ec2/platform.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/
install -m 644 lib/ec2/oem/LICENSE.txt $RPM_BUILD_ROOT%{destdir}/lib/ec2/oem/
install -m 644 lib/ec2/oem/open4.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/oem/
install -m 644 lib/ec2/platform/solaris.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/
install -m 644 lib/ec2/platform/solaris/constants.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/solaris/
install -m 644 lib/ec2/platform/solaris/tar.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/solaris/
install -m 644 lib/ec2/platform/solaris/identity.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/solaris/
install -m 644 lib/ec2/platform/solaris/fstab.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/solaris/
install -m 644 lib/ec2/platform/solaris/mtab.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/solaris/
install -m 644 lib/ec2/platform/solaris/pipeline.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/solaris/
install -m 644 lib/ec2/platform/solaris/rsync.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/solaris/
install -m 644 lib/ec2/platform/solaris/uname.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/solaris/
install -m 644 lib/ec2/platform/solaris/image.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/solaris/
install -m 644 lib/ec2/platform/solaris/architecture.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/solaris/
install -m 644 lib/ec2/platform/linux.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/
install -m 644 lib/ec2/platform/current.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/
install -m 644 lib/ec2/platform/linux/constants.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/linux/
install -m 644 lib/ec2/platform/linux/tar.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/linux/
install -m 644 lib/ec2/platform/linux/identity.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/linux/
install -m 644 lib/ec2/platform/linux/fstab.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/linux/
install -m 644 lib/ec2/platform/linux/mtab.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/linux/
install -m 644 lib/ec2/platform/linux/pipeline.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/linux/
install -m 644 lib/ec2/platform/linux/rsync.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/linux/
install -m 644 lib/ec2/platform/linux/uname.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/linux/
install -m 644 lib/ec2/platform/linux/image.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/linux/
install -m 644 lib/ec2/platform/linux/architecture.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/linux/
install -m 644 lib/ec2/platform/base/constants.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/base/
install -m 644 lib/ec2/platform/base/pipeline.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/base/
install -m 644 lib/ec2/platform/base/architecture.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/base/
install -m 644 lib/ec2/platform/base.rb $RPM_BUILD_ROOT%{destdir}/lib/ec2/platform/
install -m 644 etc/ec2/amitools/mappings.csv $RPM_BUILD_ROOT%{destdir}/etc/ec2/amitools/
install -m 644 etc/ec2/amitools/cert-ec2.pem $RPM_BUILD_ROOT%{destdir}/etc/ec2/amitools/

%files
/usr/local/ec2-ami-tools-1.3-66634/bin/ec2-unbundle
/usr/local/ec2-ami-tools-1.3-66634/bin/ec2-download-bundle
/usr/local/ec2-ami-tools-1.3-66634/bin/ec2-migrate-manifest
/usr/local/ec2-ami-tools-1.3-66634/bin/ec2-bundle-vol
/usr/local/ec2-ami-tools-1.3-66634/bin/ec2-upload-bundle
/usr/local/ec2-ami-tools-1.3-66634/bin/ec2-migrate-bundle
/usr/local/ec2-ami-tools-1.3-66634/bin/ec2-bundle-image
/usr/local/ec2-ami-tools-1.3-66634/bin/ec2-ami-tools-version
/usr/local/ec2-ami-tools-1.3-66634/bin/ec2-delete-bundle
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/migratebundleparameters.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/downloadbundleparameters.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/bundleparameters.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/manifestv20070829.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/decryptmanifest.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/manifestv20071010.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/unbundle.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/version.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/showversion.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/crypto.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/bundlevol.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/tool_base.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/format.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/bundleimageparameters.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/fileutil.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/util.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/parameters_base.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/instance-data.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/manifestv3.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/bundle.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/bundlemachineparameters.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/bundlevolparameters.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/minimalec2.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/deletebundleparameters.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/downloadbundle.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/migratemanifestparameters.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/bundleimage.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/parameter_exceptions.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/xmlutil.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/deletebundle.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/defaults.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/s3toolparameters.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/mapids.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/bundle_base.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/exception.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/migratebundle.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/migratemanifest.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/uploadbundleparameters.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/syschecks.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/xmlbuilder.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/uploadbundle.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/unbundleparameters.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/amitools/manifest_wrapper.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/common/http.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/common/s3support.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/common/curl.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/oem/LICENSE.txt
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/oem/open4.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/solaris.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/solaris/constants.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/solaris/tar.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/solaris/identity.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/solaris/fstab.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/solaris/mtab.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/solaris/pipeline.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/solaris/rsync.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/solaris/uname.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/solaris/image.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/solaris/architecture.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/linux.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/current.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/linux/constants.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/linux/tar.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/linux/identity.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/linux/fstab.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/linux/mtab.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/linux/pipeline.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/linux/rsync.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/linux/uname.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/linux/image.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/linux/architecture.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/base/constants.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/base/pipeline.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/base/architecture.rb
/usr/local/ec2-ami-tools-1.3-66634/lib/ec2/platform/base.rb
/usr/local/ec2-ami-tools-1.3-66634/etc/ec2/amitools/mappings.csv
/usr/local/ec2-ami-tools-1.3-66634/etc/ec2/amitools/cert-ec2.pem