# Generated from jbuilder-1.5.0.gem by gem2rpm -*- rpm-spec -*- %global gem_name jbuilder Name: rubygem-%{gem_name} Version: 2.7.0 Release: 7%{?dist} Summary: Create JSON structures via a Builder-style DSL License: MIT URL: https://github.com/rails/jbuilder Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildRequires: rubygem(activemodel) BuildRequires: rubygem(multi_json) BuildRequires: rubygem(mocha) BuildRequires: rubygem(railties) BuildArch: noarch %description Jbuilder gives you a simple DSL for declaring JSON structures that beats massaging giant hash structures. This is particularly helpful when the generation process is fraught with conditionals and loops. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -c -T %gem_install -n %{SOURCE0} %build %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} # Get rid of Bundler. sed -i '/bundler\/setup/ s/^/#/' test/test_helper.rb ruby -Ilib:test -e "Dir.glob './test/*_test.rb', &method(:require)" popd %files %dir %{gem_instdir} %{gem_libdir} %exclude %{gem_cache} %exclude %{gem_instdir}/.* %license %{gem_instdir}/MIT-LICENSE %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/CONTRIBUTING.md %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/%{gem_name}.gemspec %{gem_instdir}/test %{gem_instdir}/gemfiles %{gem_instdir}/Appraisals %changelog * Thu Jan 30 2020 Fedora Release Engineering - 2.7.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 2.7.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 2.7.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 2.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 2.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 27 2017 Pavel Valena - 2.7.0-1 - Update to 2.7.0 * Sat Feb 11 2017 Fedora Release Engineering - 2.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Jul 20 2016 Vít Ondruch - 2.5.0-1 - Update Jbuilder 2.5.0. * Thu Feb 04 2016 Fedora Release Engineering - 2.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Oct 14 2015 Josef Stribny - 2.3.2-1 - Update to 2.3.2 * Mon Jun 29 2015 Josef Stribny - 2.3.0-1 - Update to 2.3.0 * Thu Jun 18 2015 Fedora Release Engineering - 2.2.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Mar 23 2015 Josef Stribny - 2.2.12-1 - Update to 2.2.12 * Tue Oct 14 2014 Josef Stribny - 2.2.2-1 - Update to 2.2.2 * Mon Aug 18 2014 Josef Stribny - 2.1.3-1 - Update to 2.1.3 * Wed Jul 09 2014 Josef Stribny - 2.1.1-1 - Update to 2.1.1 * Thu Jun 12 2014 Josef Stribny - 2.1.0-1 - Update to jbuilder 2.1.0 * Sun Jun 08 2014 Fedora Release Engineering - 2.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Mar 07 2014 Josef Stribny - 2.0.4-1 - Update to jbuilder 2.0.4 * Tue Jul 30 2013 Josef Stribny - 1.5.0-1 - Initial package