# Generated from dynamic_fieldsets-0.1.20.gem by gem2rpm -*- rpm-spec -*- %global gem_name dynamic_fieldsets Name: rubygem-%{gem_name} Version: 0.1.20 Release: 1%{?dist} Summary: Dynamic fieldsets for rails controllers License: MIT URL: http://github.com/jeremiahishere/dynamic_fieldsets Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(capybara) >= 1.1.2 # BuildRequires: rubygem(capybara) < 1.2 # BuildRequires: rubygem(sqlite3) # BuildRequires: rubygem(ruby-debug19) # BuildRequires: rubygem(jeweler) >= 2.0.1 # BuildRequires: rubygem(jeweler) < 2.1 # BuildRequires: rubygem(json) # BuildRequires: rubygem(rspec) >= 2.6.0 # BuildRequires: rubygem(rspec) < 2.7 # BuildRequires: rubygem(rspec-rails) # BuildRequires: rubygem(shoulda) >= 3.0.0 # BuildRequires: rubygem(shoulda) < 3.1 # BuildRequires: rubygem(ruby_parser) >= 2.3.1 # BuildRequires: rubygem(ruby_parser) < 2.4 # BuildRequires: rubygem(cucumber) # BuildRequires: rubygem(cucumber-rails) # BuildRequires: rubygem(database_cleaner) # BuildRequires: rubygem(yard) >= 0.6.0 # BuildRequires: rubygem(yard) < 0.7 # BuildRequires: rubygem(ci_reporter) BuildArch: noarch %description Dynamic fieldsets for rails controllers. %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} %exclude %{gem_instdir}/.rdebugrc %license %{gem_instdir}/MIT-LICENSE %{gem_instdir}/VERSION %{gem_instdir}/app %{gem_instdir}/autotest %{gem_instdir}/config %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %exclude %{gem_instdir}/.rspec %doc %{gem_instdir}/CHANGELOG %{gem_instdir}/Gemfile %{gem_instdir}/Gemfile.lock %doc %{gem_instdir}/README.rdoc %{gem_instdir}/Rakefile %{gem_instdir}/dynamic_fieldsets.gemspec %{gem_instdir}/spec %changelog * Mon Apr 18 2022 mockbuilder - 0.1.20-1 - Initial package