# Generated from ammeter-0.2.2.gem by gem2rpm -*- rpm-spec -*- %global gem_name ammeter Summary: Write specs for your Rails 3+ generators Name: rubygem-%{gem_name} Version: 1.1.4 Release: 5%{?dist} License: MIT URL: https://github.com/alexrothenberg/%{gem_name} Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildRequires: rubygem(activerecord) BuildRequires: rubygem(haml) BuildRequires: rubygem(railties) BuildRequires: rubygem(rspec-rails) >= 2.2 BuildRequires: rubygem(sqlite3) BuildArch: noarch %description Write specs for your Rails 3+ generators. %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} # Fix test suite for Ruby 2.3 compatibility. # File#read is re-defined in spec/spec_helpr.rb#stub_file, # and File#read is also used in 'require': specification.rb#load. # If the first "require" for on library is called after the stub definition, # it is failed. rspec -r haml spec popd %files %dir %{gem_instdir} %{gem_libdir} %exclude %{gem_cache} %exclude %{gem_instdir}/.* %license %{gem_instdir}/LICENSE.txt %{gem_spec} %exclude %{gem_instdir}/ammeter.gemspec %files doc %doc %{gem_docdir} %doc %{gem_instdir}/History.md %doc %{gem_instdir}/README.md %{gem_instdir}/Gemfile %{gem_instdir}/features %{gem_instdir}/Rakefile %{gem_instdir}/spec %changelog * Thu Jan 30 2020 Fedora Release Engineering - 1.1.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.1.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jul 02 2018 pvalena - 1.1.4-1 - Update to ammeter 1.1.4. * Fri Feb 09 2018 Fedora Release Engineering - 1.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Mar 29 2016 Jun Aruga - 1.1.3-1 - Update to v1.1.3. - Fix test suite for Ruby 2.3 compatibility. * Thu Feb 04 2016 Fedora Release Engineering - 1.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Feb 25 2015 Vít Ondruch - 1.1.2-1 - Update to Ammeter 1.1.2. * Tue Jun 10 2014 Vít Ondruch - 0.2.9-3 - Fix FTBFS in Rawhide (hrbz#1107063). * Sun Jun 08 2014 Fedora Release Engineering - 0.2.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Aug 20 2013 Josef Stribny - 0.2.9-1 - Update to 0.2.9 - Rebuilt with Rails 4.0 * Sun Aug 04 2013 Fedora Release Engineering - 0.2.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Mar 11 2013 Vít Ondruch - 0.2.8-3 - Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 * Thu Feb 14 2013 Fedora Release Engineering - 0.2.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 27 2012 Bohuslav Kabrda - 0.2.8-1 - Updated to Ammeter 0.2.8. * Sat Jul 21 2012 Fedora Release Engineering - 0.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Feb 03 2012 Bohuslav Kabrda - 0.2.2-2 - Moved features to doc subpackage (not needed for runtime). - Moved gemspec and Gemfile to doc. - Patched the dependencies to require rspec-core. * Thu Feb 02 2012 Bohuslav Kabrda - 0.2.2-1 - Initial package