summaryrefslogtreecommitdiffstats
path: root/rubygem-fog-atmos.spec
diff options
context:
space:
mode:
authorVít Ondruch <vondruch@redhat.com>2015-03-10 10:59:49 +0100
committerVít Ondruch <vondruch@redhat.com>2015-03-10 10:59:49 +0100
commit6e1e7b211d625fabb04c2ab6702eac58601e04fd (patch)
tree5938ae49a66fb7d31c34a905e06df21c747350c6 /rubygem-fog-atmos.spec
parentb746d9ec38d591d655b1807ec50cc580936004c5 (diff)
downloadrubygem-fog-atmos-6e1e7b211d625fabb04c2ab6702eac58601e04fd.tar.gz
rubygem-fog-atmos-6e1e7b211d625fabb04c2ab6702eac58601e04fd.tar.xz
rubygem-fog-atmos-6e1e7b211d625fabb04c2ab6702eac58601e04fd.zip
Initial commit.HEADmaster
Diffstat (limited to 'rubygem-fog-atmos.spec')
-rw-r--r--rubygem-fog-atmos.spec81
1 files changed, 81 insertions, 0 deletions
diff --git a/rubygem-fog-atmos.spec b/rubygem-fog-atmos.spec
new file mode 100644
index 0000000..035f785
--- /dev/null
+++ b/rubygem-fog-atmos.spec
@@ -0,0 +1,81 @@
+# Generated from fog-atmos-0.1.0.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name fog-atmos
+
+Name: rubygem-%{gem_name}
+Version: 0.1.0
+Release: 1%{?dist}
+Summary: Module for the 'fog' gem to support Atmos
+Group: Development/Languages
+License: MIT
+URL: https://github.com/fog/fog-atmos
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildRequires: rubygem(fog-xml)
+BuildRequires: rubygem(shindo)
+BuildArch: noarch
+
+%description
+This library can be used as a module for `fog` or as standalone provider
+to use the Atmos 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
+gem build %{gem_name}.gemspec
+
+%gem_install
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a .%{gem_dir}/* \
+ %{buildroot}%{gem_dir}/
+
+
+
+
+# Run the test suite
+%check
+pushd .%{gem_instdir}
+FOG_MOCK=true shindo
+popd
+
+%files
+%dir %{gem_instdir}
+%license %{gem_instdir}/LICENSE.md
+%exclude %{gem_instdir}/.*
+%exclude %{gem_instdir}/fog-atmos.gemspec
+%{gem_libdir}
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files doc
+%doc %{gem_docdir}
+%doc %{gem_instdir}/CONTRIBUTING.md
+%doc %{gem_instdir}/CONTRIBUTORS.md
+%{gem_instdir}/Gemfile
+%doc %{gem_instdir}/README.md
+%{gem_instdir}/Rakefile
+%{gem_instdir}/gemfiles
+%{gem_instdir}/tests
+
+
+%changelog
+* Tue Mar 10 2015 Vít Ondruch <vondruch@redhat.com> - 0.1.0-1
+- Initial package