# Generated from axe-matchers-2.6.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name axe-matchers Name: rubygem-%{gem_name} Version: 2.6.1 Release: 1%{?dist} Summary: Automated accessibility testing powered by aXe License: MPL-2.0 URL: https://www.deque.com Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel >= 1.3.6 BuildRequires: ruby >= 1.9.3 # BuildRequires: rubygem(cucumber) >= 2.4 # BuildRequires: rubygem(cucumber) < 3 # BuildRequires: rubygem(pry) # BuildRequires: rubygem(rspec) >= 3.6 # BuildRequires: rubygem(rspec) < 4 # BuildRequires: rubygem(rspec-its) >= 1.2 # BuildRequires: rubygem(rspec-its) < 2 # BuildRequires: rubygem(rspec_junit_formatter) >= 0.3 # BuildRequires: rubygem(rspec_junit_formatter) < 1 # BuildRequires: rubygem(sinatra) >= 2.0 # BuildRequires: rubygem(sinatra) < 3 # BuildRequires: rubygem(capybara) >= 3.29 # BuildRequires: rubygem(capybara) < 4 # BuildRequires: rubygem(capybara-webkit) >= 1.14 # BuildRequires: rubygem(capybara-webkit) < 2 # BuildRequires: rubygem(selenium-webdriver) >= 3.5 # BuildRequires: rubygem(selenium-webdriver) < 4 # BuildRequires: rubygem(watir) >= 6.6 # BuildRequires: rubygem(watir) < 7 BuildArch: noarch %description axe-matchers provides matchers that wrap the axe-core accessibility library. The matchers can be used with RSpec, Cucumber and other test tools. Cucumber step definitions are also provided. %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} # cucumber # rspec spec popd %files %dir %{gem_instdir} %license %{gem_instdir}/LICENSE %{gem_libdir} %{gem_instdir}/node_modules %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/README.md %changelog * Sun Sep 12 2021 mockbuilder - 2.6.1-1 - Initial package