summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVít Ondruch <vondruch@redhat.com>2015-03-12 14:17:35 +0100
committerVít Ondruch <vondruch@redhat.com>2015-03-12 14:17:35 +0100
commit47ef69c836000f58d06d52893bebe206e1f95e78 (patch)
tree0ec94bf2e0769e9a28ed7dbc21546942a2c09107
parent7f6a4e81dcc21b3627048cbf726a91f98783745b (diff)
downloadrubygem-fog-voxel-47ef69c836000f58d06d52893bebe206e1f95e78.tar.gz
rubygem-fog-voxel-47ef69c836000f58d06d52893bebe206e1f95e78.tar.xz
rubygem-fog-voxel-47ef69c836000f58d06d52893bebe206e1f95e78.zip
Initial commit.HEADmaster
-rw-r--r--rubygem-fog-voxel.spec79
1 files changed, 79 insertions, 0 deletions
diff --git a/rubygem-fog-voxel.spec b/rubygem-fog-voxel.spec
new file mode 100644
index 0000000..257bd1f
--- /dev/null
+++ b/rubygem-fog-voxel.spec
@@ -0,0 +1,79 @@
+# Generated from fog-voxel-0.0.2.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name fog-voxel
+
+Name: rubygem-%{gem_name}
+Version: 0.0.2
+Release: 1%{?dist}
+Summary: Module for the 'fog' gem to support Voxel
+Group: Development/Languages
+License: MIT
+URL: https://github.com/fog/fog-voxel
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildRequires: rubygem(fog-core)
+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 Voxel 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}/
+
+
+%check
+pushd .%{gem_instdir}
+FOG_MOCK=true shindo
+popd
+
+%files
+%dir %{gem_instdir}
+%exclude %{gem_instdir}/.*
+%license %{gem_instdir}/LICENSE.md
+%exclude %{gem_instdir}/fog-voxel.gemspec
+%doc %{gem_instdir}/README.md
+%{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
+%{gem_instdir}/Rakefile
+%{gem_instdir}/gemfiles
+%{gem_instdir}/spec
+%{gem_instdir}/tests
+
+%changelog
+* Thu Mar 12 2015 Vít Ondruch <vondruch@redhat.com> - 0.0.2-1
+- Initial package