summaryrefslogtreecommitdiffstats
path: root/rubygem-fog-riakcs.spec
diff options
context:
space:
mode:
authorVít Ondruch <vondruch@redhat.com>2015-03-11 14:05:04 +0100
committerVít Ondruch <vondruch@redhat.com>2015-03-11 14:05:04 +0100
commit35fdf1b191c4e26619c40ebc7053fc83066930cf (patch)
tree3b96c7ae50d13b9a8f0c79837c630808ead54169 /rubygem-fog-riakcs.spec
parent569c24d5f45097151090b331cb538273b2b8d6a2 (diff)
downloadrubygem-fog-riakcs-35fdf1b191c4e26619c40ebc7053fc83066930cf.tar.gz
rubygem-fog-riakcs-35fdf1b191c4e26619c40ebc7053fc83066930cf.tar.xz
rubygem-fog-riakcs-35fdf1b191c4e26619c40ebc7053fc83066930cf.zip
Initial commit.HEADmaster
Diffstat (limited to 'rubygem-fog-riakcs.spec')
-rw-r--r--rubygem-fog-riakcs.spec78
1 files changed, 78 insertions, 0 deletions
diff --git a/rubygem-fog-riakcs.spec b/rubygem-fog-riakcs.spec
new file mode 100644
index 0000000..3da643d
--- /dev/null
+++ b/rubygem-fog-riakcs.spec
@@ -0,0 +1,78 @@
+# Generated from fog-riakcs-0.1.0.gem by gem2rpm -*- rpm-spec -*-
+%global gem_name fog-riakcs
+
+Name: rubygem-%{gem_name}
+Version: 0.1.0
+Release: 1%{?dist}
+Summary: Module for the 'fog' gem to support Riakcs
+Group: Development/Languages
+License: MIT
+URL: https://github.com/fog/fog-riakcs
+Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel
+BuildRequires: ruby
+BuildRequires: rubygem(fog-core)
+BuildRequires: rubygem(shindo)
+BuildArch: noarch
+
+%description
+This library can be used as a module for `fog` or as standalone provider
+to use the Riakcs 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-riakcs.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}/spec
+%{gem_instdir}/tests
+
+%changelog
+* Wed Mar 11 2015 Vít Ondruch <vondruch@redhat.com> - 0.1.0-1
+- Initial package