# Generated from primer_view_components-0.0.57.gem by gem2rpm -*- rpm-spec -*- %global gem_name primer_view_components Name: rubygem-%{gem_name} Version: 0.0.57 Release: 1%{?dist} Summary: ViewComponents for the Primer Design System License: MIT URL: https://github.com/primer/view_components Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.5.0 # BuildRequires: rubygem(allocation_stats) >= 0.1 # BuildRequires: rubygem(allocation_stats) < 1 # BuildRequires: rubygem(allocation_tracer) >= 0.6.3 # BuildRequires: rubygem(allocation_tracer) < 0.7 # BuildRequires: rubygem(axe-core-api) >= 4.1 # BuildRequires: rubygem(axe-core-api) < 5 # BuildRequires: rubygem(benchmark-ips) >= 2.8.4 # BuildRequires: rubygem(benchmark-ips) < 2.9 # BuildRequires: rubygem(capybara) >= 3 # BuildRequires: rubygem(capybara) < 4 # BuildRequires: rubygem(cuprite) = 0.13 # BuildRequires: rubygem(erb_lint) # BuildRequires: rubygem(listen) >= 3.0 # BuildRequires: rubygem(listen) < 4 # BuildRequires: rubygem(minitest) >= 5.0 # BuildRequires: rubygem(minitest) < 6 # BuildRequires: rubygem(mocha) # BuildRequires: rubygem(pry) # BuildRequires: rubygem(rubocop) = 1.13.0 # BuildRequires: rubygem(rubocop-github) >= 0.16.0 # BuildRequires: rubygem(rubocop-github) < 0.17 # BuildRequires: rubygem(rubocop-performance) >= 1.7 # BuildRequires: rubygem(rubocop-performance) < 2 # BuildRequires: rubygem(simplecov) >= 0.18.0 # BuildRequires: rubygem(simplecov) < 0.19 # BuildRequires: rubygem(simplecov-console) >= 0.7.2 # BuildRequires: rubygem(simplecov-console) < 0.8 # BuildRequires: rubygem(sprockets) # BuildRequires: rubygem(sprockets-rails) # BuildRequires: rubygem(thor) # BuildRequires: rubygem(timecop) # BuildRequires: rubygem(yard) >= 0.9.25 # BuildRequires: rubygem(yard) < 0.10 BuildArch: noarch %description ViewComponents for the Primer Design System. %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} # ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' popd %files %dir %{gem_instdir} %license %{gem_instdir}/LICENSE.txt %{gem_instdir}/app %{gem_libdir} %{gem_instdir}/static %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/README.md %changelog * Tue Sep 14 2021 mockbuilder - 0.0.57-1 - Initial package