# Generated from twbs_sass_rails-10.2.0.gem by gem2rpm -*- rpm-spec -*- %global gem_name twbs_sass_rails Name: rubygem-%{gem_name} Version: 10.2.0 Release: 1%{?dist} Summary: Bootstrap and FontAwesome assets in Rails applications License: BSD-2-Clause URL: https://github.com/diowa/twbs_sass_rails Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.4 # BuildRequires: rubygem(appraisal) >= 2.3 # BuildRequires: rubygem(appraisal) < 3 # BuildRequires: rubygem(capybara) >= 3.32 # BuildRequires: rubygem(capybara) < 4 # BuildRequires: rubygem(coveralls_reborn) >= 0.20.0 # BuildRequires: rubygem(coveralls_reborn) < 0.21 # BuildRequires: rubygem(minitest) >= 5.14 # BuildRequires: rubygem(minitest) < 6 # BuildRequires: rubygem(rubocop) >= 1.8 # BuildRequires: rubygem(rubocop) < 2 # BuildRequires: rubygem(rubocop-minitest) >= 0.10.2 # BuildRequires: rubygem(rubocop-minitest) < 0.11 # BuildRequires: rubygem(rubocop-performance) >= 1.9 # BuildRequires: rubygem(rubocop-performance) < 2 # BuildRequires: rubygem(rubocop-rails) >= 2.9 # BuildRequires: rubygem(rubocop-rails) < 3 # BuildRequires: rubygem(rubocop-rake) >= 0.5.1 # BuildRequires: rubygem(rubocop-rake) < 0.6 # BuildRequires: rubygem(scss_lint) >= 0.59.0 # BuildRequires: rubygem(scss_lint) < 0.60 # BuildRequires: rubygem(simplecov) >= 0.18.5 # BuildRequires: rubygem(simplecov) < 0.22 # BuildRequires: rubygem(uglifier) >= 4.2 # BuildRequires: rubygem(uglifier) < 5 BuildArch: noarch %description Provides assets for Bootstrap and FontAwesome in your Rails application. %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 %{gem_instdir}/app %{gem_libdir} %{gem_instdir}/vendor %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/README.md %changelog * Thu Sep 16 2021 mockbuilder - 10.2.0-1 - Initial package