[rubygem-fog-softlayer] Initial import (#1125189).

Vít Ondruch vondruch at fedoraproject.org
Thu Jul 31 12:43:50 UTC 2014


commit d548e4bb68c2ee7af2b7b178cb586324e16edf44
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Thu Jul 31 14:43:42 2014 +0200

    Initial import (#1125189).

 .gitignore                 |    1 +
 rubygem-fog-softlayer.spec |   93 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 95 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2dab49d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fog-softlayer-0.3.11.gem
diff --git a/rubygem-fog-softlayer.spec b/rubygem-fog-softlayer.spec
new file mode 100644
index 0000000..84c75f8
--- /dev/null
+++ b/rubygem-fog-softlayer.spec
@@ -0,0 +1,93 @@
+# Generated from fog-softlayer-0.3.11.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name fog-softlayer
+
+Name: rubygem-%{gem_name}
+Version: 0.3.11
+Release: 1%{?dist}
+Summary: Module for the 'fog' gem to support SoftLayer Cloud
+Group: Development/Languages
+License: MIT
+URL: https://github.com/fog/fog-softlayer
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildRequires: rubygem(fog-core)
+BuildRequires: rubygem(fog-json)
+BuildRequires: rubygem(minitest)
+BuildRequires: rubygem(shindo)
+BuildArch: noarch
+
+%description
+This library can be used as a module for `fog` or as standalone provider to
+use the SoftLayer Cloud in applications.
+
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}.
+
+%prep
+gem unpack %{SOURCE0}
+
+%setup -q -D -T -n  %{gem_name}-%{version}
+
+gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
+
+%build
+# Create the gem as gem install only works on a gem file
+gem build %{gem_name}.gemspec
+
+# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
+# by default, so that we can move it into the buildroot in %%install
+%gem_install
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a .%{gem_dir}/* \
+        %{buildroot}%{gem_dir}/
+
+
+
+
+# Run the test suite
+%check
+pushd .%{gem_instdir}
+# Ignore code coverage.
+sed -i "/require 'simplecov'/ s/^/#/" tests/helper.rb
+
+FOG_MOCK=true shindont
+ruby -Ilib -e 'Dir.glob "./spec/**/*_spec.rb", &method(:require)'
+popd
+
+%files
+%doc %{gem_instdir}/LICENSE.txt
+%dir %{gem_instdir}
+%exclude %{gem_instdir}/.*
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%{gem_instdir}/CHANGELOG.md
+%doc %{gem_instdir}/CONTRIBUTING.md
+%doc %{gem_instdir}/CONTRIBUTORS.md
+%{gem_instdir}/Gemfile
+%doc %{gem_instdir}/README.md
+%{gem_instdir}/Rakefile
+%doc %{gem_instdir}/docs
+%doc %{gem_instdir}/examples
+%{gem_instdir}/fog-softlayer.gemspec
+%{gem_instdir}/gemfiles
+%{gem_instdir}/spec
+%{gem_instdir}/tests
+
+%changelog
+* Thu Jul 31 2014 Vít Ondruch <vondruch at redhat.com> - 0.3.11-1
+- Initial package
diff --git a/sources b/sources
index e69de29..7c87c9e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6c8a9fa0b32e4455d8742a63141b1cc0  fog-softlayer-0.3.11.gem


More information about the scm-commits mailing list