# Generated from rubycheck-0.0.9.gem by gem2rpm -*- rpm-spec -*- %global gem_name rubycheck Name: rubygem-%{gem_name} Version: 0.0.9 Release: 1%{?dist} Summary: a Ruby port of the QuickCheck unit test framework License: FreeBSD URL: http://www.yellosoft.us/quickcheck Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.0 # BuildRequires: rubygem(reek) >= 1.3 # BuildRequires: rubygem(reek) < 2 # BuildRequires: rubygem(flay) >= 2.5 # BuildRequires: rubygem(flay) < 3 # BuildRequires: rubygem(flog) >= 4.3 # BuildRequires: rubygem(flog) < 5 # BuildRequires: rubygem(roodi) >= 4.0 # BuildRequires: rubygem(roodi) < 5 # BuildRequires: rubygem(churn) >= 1.0 # BuildRequires: rubygem(churn) < 2 # BuildRequires: rubygem(cane) >= 2.6 # BuildRequires: rubygem(cane) < 3 # BuildRequires: rubygem(excellent) >= 2.1 # BuildRequires: rubygem(excellent) < 3 # BuildRequires: rubygem(rubocop) >= 0.25 # BuildRequires: rubygem(rubocop) < 1 # BuildRequires: rubygem(tailor) >= 1.4 # BuildRequires: rubygem(tailor) < 2 # BuildRequires: rubygem(guard) >= 2.6 # BuildRequires: rubygem(guard) < 3 # BuildRequires: rubygem(guard-shell) >= 0.6 # BuildRequires: rubygem(guard-shell) < 1 # BuildRequires: rubygem(rspec) >= 3.0 # BuildRequires: rubygem(rspec) < 4 # BuildRequires: rubygem(aspelllint) >= 0.10 # BuildRequires: rubygem(aspelllint) < 1 # BuildRequires: rubygem(lili) >= 0.2 # BuildRequires: rubygem(lili) < 1 BuildArch: noarch %description See specs/ tests for example usage. %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} %license %{gem_instdir}/LICENSE.md %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %changelog * Wed Apr 20 2022 mockbuilder - 0.0.9-1 - Initial package