# Generated from text-checkm-0.8.gem by gem2rpm -*- rpm-spec -*- %global gem_name text-checkm Name: rubygem-%{gem_name} Version: 0.8 Release: 1%{?dist} Summary: Ruby implementation of the Checkm text manifest format License: MIT URL: https://github.com/dmolesUC/checkm Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.7 # BuildRequires: rubygem(bundle-audit) >= 0.1 # BuildRequires: rubygem(bundle-audit) < 1 # BuildRequires: rubygem(ci_reporter_rspec) >= 1.0 # BuildRequires: rubygem(ci_reporter_rspec) < 2 # BuildRequires: rubygem(colorize) >= 0.8 # BuildRequires: rubygem(colorize) < 1 # BuildRequires: rubygem(irb) >= 1.3 # BuildRequires: rubygem(irb) < 2 # BuildRequires: rubygem(listen) >= 3.0.5 # BuildRequires: rubygem(listen) < 3.2 # BuildRequires: rubygem(rspec-support) >= 3.10 # BuildRequires: rubygem(rspec-support) < 4 # BuildRequires: rubygem(rubocop) = 1.14 # BuildRequires: rubygem(rubocop-rake) = 0.5 # BuildRequires: rubygem(simplecov) >= 0.21 # BuildRequires: rubygem(simplecov) < 1 # BuildRequires: rubygem(simplecov-rcov) >= 0.2 # BuildRequires: rubygem(simplecov-rcov) < 1 BuildArch: noarch %description A Ruby implementation of the Checkm checksum-based text manifest format. %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} # Run the test suite. popd %files %dir %{gem_instdir} %exclude %{gem_instdir}/.gitignore %{gem_instdir}/.idea %exclude %{gem_instdir}/.rubocop.yml %{gem_instdir}/.ruby-version %{gem_instdir}/.simplecov %exclude %{gem_instdir}/.travis.yml %license %{gem_instdir}/LICENSE.md %{gem_instdir}/SPEC.txt %{gem_libdir} %{gem_instdir}/rakelib %{gem_instdir}/text-checkm.iml %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/.document %doc %{gem_instdir}/CHANGELOG.md %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/spec %{gem_instdir}/text-checkm.gemspec %changelog * Thu Sep 16 2021 mockbuilder - 0.8-1 - Initial package