# Generated from govuk_publishing_components-27.0.0.gem by gem2rpm -*- rpm-spec -*- %global gem_name govuk_publishing_components Name: rubygem-%{gem_name} Version: 27.0.0 Release: 1%{?dist} Summary: A gem to document components in GOV.UK frontend applications License: MIT URL: https://github.com/alphagov/govuk_publishing_components Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.6 # BuildRequires: rubygem(capybara) >= 3.25 # BuildRequires: rubygem(capybara) < 4 # BuildRequires: rubygem(faker) >= 2.11 # BuildRequires: rubygem(gds-api-adapters) # BuildRequires: rubygem(govuk_schemas) >= 4.0 # BuildRequires: rubygem(govuk_schemas) < 5 # BuildRequires: rubygem(govuk_test) >= 2 # BuildRequires: rubygem(govuk_test) < 3 # BuildRequires: rubygem(i18n-coverage) # BuildRequires: rubygem(i18n-tasks) # BuildRequires: rubygem(jasmine) >= 3.9.2 # BuildRequires: rubygem(jasmine) < 3.10 # BuildRequires: rubygem(jasmine_selenium_runner) >= 3.0.0 # BuildRequires: rubygem(jasmine_selenium_runner) < 3.1 # BuildRequires: rubygem(percy-capybara) >= 4.0 # BuildRequires: rubygem(percy-capybara) < 5 # BuildRequires: rubygem(percy-capybara) >= 4.0.2 # BuildRequires: rubygem(pry-byebug) # BuildRequires: rubygem(rspec-rails) >= 5.0 # BuildRequires: rubygem(rspec-rails) < 6 # BuildRequires: rubygem(rubocop-govuk) # BuildRequires: rubygem(sassc-rails) >= 2 # BuildRequires: rubygem(sassc-rails) < 3 # BuildRequires: rubygem(uglifier) >= 4.1.0 # BuildRequires: rubygem(webmock) >= 3.8.3 # BuildRequires: rubygem(webmock) < 3.9 # BuildRequires: rubygem(yard) BuildArch: noarch %description A gem to document components in GOV.UK frontend applications. %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} %license %{gem_instdir}/LICENCE.md %{gem_instdir}/app %{gem_instdir}/config %{gem_libdir} %{gem_instdir}/node_modules %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/README.md %changelog * Mon Sep 13 2021 mockbuilder - 27.0.0-1 - Initial package