[rubygem-aeolus-cli] initial import

Mohammed Morsi mmorsi at fedoraproject.org
Tue Oct 18 13:58:26 UTC 2011


commit 2c3308826ad8cfc65a36f81c1f9406be77b1459d
Author: Mo Morsi <mmorsi at redhat.com>
Date:   Tue Oct 18 09:56:54 2011 -0400

    initial import

 .gitignore              |    1 +
 rubygem-aeolus-cli.spec |   91 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 93 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..351ccdb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/aeolus-cli-0.1.0.gem
diff --git a/rubygem-aeolus-cli.spec b/rubygem-aeolus-cli.spec
new file mode 100644
index 0000000..19c68d2
--- /dev/null
+++ b/rubygem-aeolus-cli.spec
@@ -0,0 +1,91 @@
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global gemname aeolus-cli
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%global mandir %{_mandir}/man1
+%global rubyabi 1.8
+
+Summary: Command-line interface for working with the Aeolus cloud suite
+Name: rubygem-%{gemname}
+Version: 0.1.0
+Release: 5%{?dist}
+Group: Development/Languages
+License: ASL 2.0
+URL: http://aeolusproject.org
+
+# The source for this packages was pulled from the upstream's git repo.
+# Use the following commands to generate the gem
+# git clone git://github.com/aeolusproject/aeolus-image.git
+# rake gem
+# grab aeolus-cli-0.1.0.gem from the pkg subdir
+Source0: %{gemname}-%{version}.gem
+
+Requires: ruby(abi) = %{rubyabi}
+Requires: rubygems
+Requires: rubygem(nokogiri) >= 1.4.0
+Requires: rubygem(rest-client)
+Requires: rubygem(imagefactory-console) >= 0.4.0
+Requires: rubygem(aeolus-image) >= 0.1.0
+
+BuildRequires: ruby
+BuildRequires: rubygems
+BuildRequires: rubygem(rspec-core)
+
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version}
+
+%description
+CLI for Aeolus Image Factory
+
+%prep
+%setup -q -c -T
+mkdir -p ./%{gemdir}
+gem install --local --install-dir ./%{gemdir} --force --rdoc %{SOURCE0}
+
+%build
+
+%install
+mkdir -p %{buildroot}%{gemdir}
+cp -a .%{gemdir}/* %{buildroot}%{gemdir}/
+
+mkdir -p %{buildroot}/%{_bindir}
+mv %{buildroot}%{gemdir}/bin/* %{buildroot}/%{_bindir}
+find %{buildroot}%{geminstdir}/bin -type f | xargs chmod 755
+rmdir %{buildroot}%{gemdir}/bin
+rm -rf %{buildroot}%{gemdir}/gems/%{gemname}-%{version}/.yardoc
+
+mkdir -p %{buildroot}%{mandir}
+mv %{buildroot}%{geminstdir}/man/* %{buildroot}%{mandir}
+
+%files
+%dir %{geminstdir}
+%{geminstdir}/Rakefile
+%{geminstdir}/bin
+%{geminstdir}/lib
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+%{_bindir}/aeolus-image
+%doc %{mandir}/*
+%doc %{gemdir}/doc/%{gemname}-%{version}
+%doc %{geminstdir}/examples
+%doc %{geminstdir}/man
+%doc %{geminstdir}/COPYING
+%doc %{geminstdir}/spec
+
+%changelog
+* Mon Oct 17 2011 Mo Morsi <mmorsi at redhat.com>  - 0.1.0-5
+- more updates to conform to fedora guidelines
+
+* Thu Oct 13 2011 Mo Morsi <mmorsi at redhat.com>  - 0.1.0-4
+- updates to conform to fedora guidelines
+
+* Wed Jul 20 2011 Mo Morsi <mmorsi at redhat.com>  - 0.0.1-3
+- more updates to conform to fedora guidelines
+
+* Fri Jul 15 2011 Mo Morsi <mmorsi at redhat.com>  - 0.0.1-2
+- updated package to conform to fedora guidelines
+
+* Mon Jul 04 2011  <mtaylor at redhat.com>  - 0.0.1-1
+- Added man files
+
+* Wed Jun 15 2011  <jguiditt at redhat.com> - 0.0.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..db636df 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0a6969a8d4620ae8e4916f1a574ebac4  aeolus-cli-0.1.0.gem


More information about the scm-commits mailing list