# Generated from rails_fancies-1.0.17.gem by gem2rpm -*- rpm-spec -*- %global gem_name rails_fancies Name: rubygem-%{gem_name} Version: 1.0.17 Release: 1%{?dist} Summary: Rails Fancies is an open source project to develop some fanciful Ruby on Rails helpers License: MIT URL: https://github.com/obromios/rails_fancies Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(better_errors) >= 2.1 # BuildRequires: rubygem(better_errors) < 3 # BuildRequires: rubygem(better_errors) >= 2.1.1 # BuildRequires: rubygem(rails-html-sanitizer) >= 1.2.0 # BuildRequires: rubygem(rails-html-sanitizer) >= 1.2 # BuildRequires: rubygem(rails-html-sanitizer) < 2 # BuildRequires: rubygem(rspec-rails) >= 3.8 # BuildRequires: rubygem(rspec-rails) < 4 # BuildRequires: rubygem(rspec-rails) >= 3.8.2 # BuildRequires: rubygem(sqlite3) >= 1.3 # BuildRequires: rubygem(sqlite3) < 2 # BuildRequires: rubygem(sqlite3) >= 1.3.13 # BuildRequires: rubygem(binding_of_caller) >= 0.7 # BuildRequires: rubygem(binding_of_caller) < 1 # BuildRequires: rubygem(binding_of_caller) >= 0.7.2 # BuildRequires: rubygem(ffi) = 1.9.24 # BuildRequires: rubygem(loofah) >= 2.3 # BuildRequires: rubygem(loofah) < 3 # BuildRequires: rubygem(loofah) >= 2.3.1 # BuildRequires: rubygem(meta_request) >= 0.4.0 # BuildRequires: rubygem(meta_request) >= 0.4 # BuildRequires: rubygem(meta_request) < 1 # BuildRequires: rubygem(sassc-rails) >= 1.2 # BuildRequires: rubygem(sassc-rails) < 2 # BuildRequires: rubygem(sassc-rails) >= 1.2.1 # BuildRequires: rubygem(rack) # BuildRequires: rubygem(nokogiri) >= 1.10 # BuildRequires: rubygem(nokogiri) < 2 # BuildRequires: rubygem(nokogiri) >= 1.10.8 BuildArch: noarch %description Most rails helpers tend to be tightly focused on placing a single element on a page, like a link or an image tag. Rails Fancies is for helpers that are more complex and can form the basis of complete a web page. The inaugural helper is a FAQ helper. %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}/MIT-LICENSE %{gem_instdir}/app %{gem_instdir}/config %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %{gem_instdir}/Rakefile %changelog * Tue Sep 14 2021 mockbuilder - 1.0.17-1 - Initial package