# Generated from wovnrb-3.0.3.gem by gem2rpm -*- rpm-spec -*- %global gem_name wovnrb Name: rubygem-%{gem_name} Version: 3.0.3 Release: 1%{?dist} Summary: Gem for WOVN.io License: MIT URL: https://wovn.io Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.5 # BuildRequires: rubygem(guard) # BuildRequires: rubygem(guard-rspec) # BuildRequires: rubygem(listen) >= 3.0.6 # BuildRequires: rubygem(listen) < 3.1 # BuildRequires: rubygem(minitest) # BuildRequires: rubygem(mocha) # BuildRequires: rubygem(pry) # BuildRequires: rubygem(pry-nav) # BuildRequires: rubygem(pry-remote) # BuildRequires: rubygem(rb-readline) # BuildRequires: rubygem(shoulda-context) # BuildRequires: rubygem(terminal-notifier) # BuildRequires: rubygem(test-unit) # BuildRequires: rubygem(test-unit-notify) # BuildRequires: rubygem(rake-compiler) # BuildRequires: rubygem(rubocop) # BuildRequires: rubygem(timecop) # BuildRequires: rubygem(public_suffix) >= 1.4.6 # BuildRequires: rubygem(public_suffix) < 1.5 # BuildRequires: rubygem(simplecov) # BuildRequires: rubygem(webmock) >= 2.3.2 BuildArch: noarch %description Ruby gem for WOVN backend on Rack. %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)' # ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' popd %files %dir %{gem_instdir} %{gem_instdir}/.circleci %exclude %{gem_instdir}/.gitignore %exclude %{gem_instdir}/.rubocop.yml %exclude %{gem_instdir}/.rubocop_todo.yml %license %{gem_instdir}/LICENSE.txt %{gem_instdir}/PULL_REQUEST_TEMPLATE %{gem_libdir} %{gem_instdir}/makefile %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.en.md %doc %{gem_instdir}/README.ja.md %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %doc %{gem_instdir}/docker %{gem_instdir}/test %{gem_instdir}/wovnrb.gemspec %changelog * Thu Sep 16 2021 mockbuilder - 3.0.3-1 - Initial package