# Generated from sleeping_king_studios-tools-1.0.2.gem by gem2rpm -*- rpm-spec -*- %global gem_name sleeping_king_studios-tools Name: rubygem-%{gem_name} Version: 1.0.2 Release: 1%{?dist} Summary: A library of utility services and concerns License: MIT URL: http://sleepingkingstudios.com Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.5.0 # BuildRequires: rubygem(byebug) >= 11.1 # BuildRequires: rubygem(byebug) < 12 # BuildRequires: rubygem(rspec) >= 3.10 # BuildRequires: rubygem(rspec) < 4 # BuildRequires: rubygem(rubocop) >= 1.6 # BuildRequires: rubygem(rubocop) < 2 # BuildRequires: rubygem(rubocop-rake) >= 0.5 # BuildRequires: rubygem(rubocop-rake) < 1 # BuildRequires: rubygem(rubocop-rspec) >= 2.1 # BuildRequires: rubygem(rubocop-rspec) < 3 # BuildRequires: rubygem(simplecov) >= 0.18.5 # BuildRequires: rubygem(simplecov) < 0.19 # BuildRequires: rubygem(thor) >= 1.0 # BuildRequires: rubygem(thor) < 2 # BuildRequires: rubygem(rspec-sleeping_king_studios) >= 2.5 # BuildRequires: rubygem(rspec-sleeping_king_studios) < 3 # BuildRequires: rubygem(sleeping_king_studios-tasks) >= 0.4 # BuildRequires: rubygem(sleeping_king_studios-tasks) < 1 BuildArch: noarch %description A library of utility services and concerns to expand the functionality of core classes without polluting the global namespace. %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}/CODE_OF_CONDUCT.md %{gem_instdir}/DEVELOPMENT.md %license %{gem_instdir}/LICENSE %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/README.md %changelog * Wed Sep 15 2021 mockbuilder - 1.0.2-1 - Initial package