# Generated from deep_dive-0.3.7.gem by gem2rpm -*- rpm-spec -*- %global gem_name deep_dive Name: rubygem-%{gem_name} Version: 0.3.7 Release: 1%{?dist} Summary: DeepDive Deep Contolled Cloning License: MIT URL: https://github.com/flajann2/deep_dive Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.2 # BuildRequires: rubygem(rspec) >= 3 # BuildRequires: rubygem(rspec) < 4 # BuildRequires: rubygem(juwelier) >= 2 # BuildRequires: rubygem(juwelier) < 3 # BuildRequires: rubygem(simplecov) # BuildRequires: rubygem(simplecov) < 1 # BuildRequires: rubygem(guard-rspec) >= 1 # BuildRequires: rubygem(guard-rspec) < 2 # BuildRequires: rubygem(pry) # BuildRequires: rubygem(pry) < 1 # BuildRequires: rubygem(pry-byebug) >= 3 # BuildRequires: rubygem(pry-byebug) < 4 # BuildRequires: rubygem(pry-doc) # BuildRequires: rubygem(pry-doc) < 1 # BuildRequires: rubygem(pry-remote) # BuildRequires: rubygem(pry-remote) < 1 # BuildRequires: rubygem(pry-rescue) >= 1 # BuildRequires: rubygem(pry-rescue) < 2 # BuildRequires: rubygem(pry-stack_explorer) # BuildRequires: rubygem(pry-stack_explorer) < 1 BuildArch: noarch %description When you have a system of objects that have many references to each other, it becomes an issue to be able to clone properly that object graph. There may be control objects you may not want to clone, but maintain references to. And some references you may not wish to clone at all. Enter DeepDive. Allows you a means by which you can do controlled deep cloning or copying of your complex interconnected objects. . %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}/.ruby-version %{gem_instdir}/.semver %exclude %{gem_instdir}/.travis.yml %license %{gem_instdir}/LICENSE.txt %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/.document %exclude %{gem_instdir}/.rspec %{gem_instdir}/Gemfile %{gem_instdir}/Gemfile.lock %doc %{gem_instdir}/README.rdoc %{gem_instdir}/Rakefile %{gem_instdir}/deep_dive.gemspec %{gem_instdir}/spec %changelog * Mon Sep 13 2021 mockbuilder - 0.3.7-1 - Initial package