Search
j0ke.net Open Build Service
>
Projects
>
J0KE.NET
:
infrastructure
>
ec2-api-tools
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
ec2-api-tools.spec
@@ -0,0 +1,58 @@ +# +# spec file for package ec2-api-tools +# +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Url: http://www.amazon.com + +Name: ec2-api-tools +#Requires: curl coreutils openssl rsync ruby gzip +Summary: AWS - Elastic Computer Cloud +Version: 1.10 +Release: 28 +Group: System/Management +License: GPL v2 or later +Source: http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +BuildRequires: unzip + +%description +The Amazon Elastic Compute Cloud (Amazon EC2) web service provides you with the +ability to execute arbitrary applications in our computing environment. + +Do + +export EC2_HOME=/usr/lib/AmazonEC2/ + +for using these tools. + +%prep +%setup -n ec2-api-tools-1.3-30349/ + +%build +# noarch + +%install +mkdir -p $RPM_BUILD_ROOT/%{_bindir} +mkdir -p $RPM_BUILD_ROOT/usr/lib/AmazonEC2//ec2-api-tools/{bin,lib}/ +install -m 755 bin/* $RPM_BUILD_ROOT//usr/lib/AmazonEC2/ec2-api-tools/bin +cp -a lib/* $RPM_BUILD_ROOT/usr/lib/AmazonEC2//ec2-api-tools/lib/ +cd $RPM_BUILD_ROOT/usr/lib/AmazonEC2//ec2-api-tools/bin +for i in *; do + ln -sf ../lib/AmazonEC2/ec2-api-tools/bin/$i ../../../../bin/ +done + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) +/usr/lib/AmazonEC2 +/%{_bindir}/ec2* +