diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2022-04-18 02:46:30 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2022-04-18 02:46:30 +0000 |
commit | 096efa00d46a396e27851b6215f8ddd719ba651d (patch) | |
tree | 571795d7f0972dad2f7a69674cfe5f0ad6d4fbf4 | |
parent | 04ff5cb98ab50be79ab1de794410fc4e6138d7ec (diff) |
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | rubygem-adept_dynamoid.spec | 86 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 88 insertions, 0 deletions
@@ -0,0 +1 @@ +/adept_dynamoid-0.6.0.gem diff --git a/rubygem-adept_dynamoid.spec b/rubygem-adept_dynamoid.spec new file mode 100644 index 0000000..9ddf6ed --- /dev/null +++ b/rubygem-adept_dynamoid.spec @@ -0,0 +1,86 @@ +# Generated from adept_dynamoid-0.6.0.gem by gem2rpm -*- rpm-spec -*- +%global gem_name adept_dynamoid + +Name: rubygem-%{gem_name} +Version: 0.6.0 +Release: 1%{?dist} +Summary: Dynamoid is an ORM for Amazon's DynamoDB +License: MIT +URL: http://github.com/Veraticus/Dynamoid +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +BuildRequires: ruby(release) +BuildRequires: rubygems-devel +BuildRequires: ruby +# BuildRequires: rubygem(rspec) +# BuildRequires: rubygem(jeweler) +# BuildRequires: rubygem(yard) +# BuildRequires: rubygem(redcarpet) = 1.17.2 +# BuildRequires: rubygem(github-markup) +# BuildRequires: rubygem(pry) +# BuildRequires: rubygem(fake_dynamo) +# BuildRequires: rubygem(mocha) = 0.10.0 +BuildArch: noarch + +%description +Dynamoid is an ORM for Amazon's DynamoDB that supports offline development, +associations, querying, and everything else you'd expect from an +ActiveRecord-style replacement. Make sure you add require 'dynamoid' to before +your configure script with adept_dynamoid. + + +%package doc +Summary: Documentation for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +Documentation for %{name}. + +%prep +%setup -q -n %{gem_name}-%{version} + +%build +# Create the gem as gem install only works on a gem file +gem build ../%{gem_name}-%{version}.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}/ + + + +%check +pushd .%{gem_instdir} +# rspec spec +popd + +%files +%dir %{gem_instdir} +%{gem_instdir}/.project +%license %{gem_instdir}/LICENSE.txt +%{gem_instdir}/VERSION +%{gem_libdir} +%exclude %{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_docdir} +%doc %{gem_instdir}/.document +%exclude %{gem_instdir}/.rspec +%{gem_instdir}/Dynamoid.gemspec +%{gem_instdir}/Gemfile +%{gem_instdir}/Gemfile.lock +%doc %{gem_instdir}/README.markdown +%{gem_instdir}/Rakefile +%{gem_instdir}/adept_dynamoid.gemspec +%doc %{gem_instdir}/doc +%{gem_instdir}/spec + +%changelog +* Mon Apr 18 2022 mockbuilder - 0.6.0-1 +- Initial package @@ -0,0 +1 @@ +baa7d1e76b9afe67296ff6babe8d091f adept_dynamoid-0.6.0.gem |