%{?scl:%scl_package rubygem-%{gem_name}} %{!?scl:%global pkg_name %{name}} # Generated from actionmailer-1.3.6.gem by gem2rpm -*- rpm-spec -*- %global gem_name actionmailer Summary: Email composition, delivery, and receiving framework (part of Rails) Name: %{?scl_prefix}rubygem-%{gem_name} Epoch: 1 Version: 5.0.1 Release: 1%{?dist} Group: Development/Languages License: MIT URL: http://rubyonrails.org Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # ActionMailer gem doesn't ship with the test suite. # You may check it out like so # git clone http://github.com/rails/rails.git && cd rails/actionmailer/ # git checkout v5.0.1 && tar czvf actionmailer-5.0.1-tests.tgz test/ Source1: actionmailer-%{version}-tests.tgz # Let's keep Requires and BuildRequires sorted alphabeticaly Requires: %{?scl_prefix_ruby}ruby(release) Requires: %{?scl_prefix_ruby}ruby(rubygems) Requires: %{?scl_prefix}rubygem(actionpack) = %{version} Requires: %{?scl_prefix}rubygem(activejob) = %{version} Requires: %{?scl_prefix}rubygem(mail) >= 2.5.4 Requires: %{?scl_prefix}rubygem(rails-dom-testing) >= 2.0.0 Requires: %{?scl_prefix}rubygem(rails-dom-testing) < 3 BuildRequires: %{?scl_prefix_ruby}rubygems-devel BuildRequires: %{?scl_prefix}rubygem(actionpack) = %{version} BuildRequires: %{?scl_prefix}rubygem(activejob) = %{version} BuildRequires: %{?scl_prefix}rubygem(mail) >= 2.5.4 BuildArch: noarch Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version} # Explicitly require runtime subpackage, as long as older scl-utils do not generate it %{?scl:Requires: %{?scl_prefix}runtime} %description Email on Rails. Compose, deliver, receive, and test emails using the familiar controller/view pattern. First-class support for multipart email and attachments. %package doc Summary: Documentation for %{pkg_name} Group: Documentation Requires:%{?scl_prefix}%{pkg_name} = %{epoch}:%{version}-%{release} BuildArch: noarch %description doc Documentation for %{pkg_name}. %prep %setup -n %{pkg_name}-%{version} -q -c -T %{?scl:scl enable %{scl} - << \EOF} %gem_install -n %{SOURCE0} %{?scl:EOF} %build %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} # Move the tests into place. tar xzvf %{SOURCE1} %{?scl:scl enable %{scl} - << \EOF} ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' %{?scl:EOF} popd %files # There is no %%license macro on RHEL6. # https://bugzilla.redhat.com/show_bug.cgi?id=1386246 %{!?_licensedir:%global license %%doc} %dir %{gem_instdir} %license %{gem_instdir}/MIT-LICENSE %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/README.rdoc %changelog * Mon Jan 16 2017 Jun Aruga - 1:5.0.1-1 - Update to Action Mailer 5.0.1. * Fri Apr 01 2016 Pavel Valena - 1:4.2.6-1 - Update to 4.2.6 * Wed Feb 17 2016 Pavel Valena - 1:4.2.5.1-3 - Update to 4.2.5.1 * Thu Jan 22 2015 Josef Stribny - 1:4.1.5-1 - Update to 4.1.5 * Wed Dec 04 2013 Josef Stribny - 1:4.0.2-1 - Update to ActionMailer 4.0.2 - Resolves: rhbz#1037985 * Thu Nov 21 2013 Josef Stribny - 1:4.0.1-1 - Update to ActionMailer 4.0.1 * Wed Oct 16 2013 Josef Stribny - 1:4.0.0-2 - Convert to scl. * Thu Aug 08 2013 Josef Stribny - 1:4.0.0-1 - Update to ActionMailer 4.0.0. * Sun Aug 04 2013 Fedora Release Engineering - 1:3.2.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Mar 19 2013 Vít Ondruch - 1:3.2.13-1 - Update to ActionMailer 3.2.13. * Fri Mar 08 2013 Vít Ondruch - 1:3.2.12-2 - Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 * Tue Feb 12 2013 Vít Ondruch - 1:3.2.12-1 - Update to ActionMailer 3.2.12. * Wed Jan 09 2013 Vít Ondruch - 1:3.2.11-1 - Update to ActionMailer 3.2.11. * Thu Jan 03 2013 Vít Ondruch - 1:3.2.10-1 - Update to ActionMailer 3.2.10. * Mon Aug 13 2012 Vít Ondruch - 1:3.2.8-1 - Update to ActionMailer 3.2.8. * Mon Jul 30 2012 Vít Ondruch - 1:3.2.7-1 - Update to ActionMailer 3.2.7. * Tue Jul 24 2012 Vít Ondruch - 1:3.2.6-2 - Fixed missing epoch in -doc subpackage. * Mon Jul 23 2012 Bohuslav Kabrda - 1:3.2.6-1 - Update to ActionMailer 3.2.6. - Don't run tests using Rakefile. - Introduced -doc subpackage. * Sat Jul 21 2012 Fedora Release Engineering - 1:3.0.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 15 2012 Vít Ondruch - 1:3.0.15-1 - Update to ActionMailer 3.0.15. * Fri Jun 01 2012 Vít Ondruch - 1:3.0.13-1 - Update to ActionMailer 3.0.13. * Wed May 09 2012 Vít Ondruch - 1:3.0.11-2 - Fix Mailer dependencies. * Wed Feb 01 2012 Bohuslav Kabrda - 1:3.0.11-1 - Rebuilt for Ruby 1.9.3. * Sat Jan 14 2012 Fedora Release Engineering - 1:3.0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Aug 22 2011 Vít Ondruch - 1:3.0.10-1 - Update to ActionMailer 3.0.10 * Mon Jul 04 2011 Vít Ondruch - 1:3.0.9-1 - Update to ActionMailer 3.0.9 * Thu Jun 02 2011 Mo Morsi - 1:3.0.3-2 - bump rubygem-mail dependency version to that in Fedora * Fri Mar 25 2011 Vít Ondruch - 1:3.0.5-1 - Updated to ActionMailer 3.0.5 * Wed Feb 09 2011 Fedora Release Engineering - 1:3.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Feb 07 2011 Mohammed Morsi - 1:3.0.3-2 - Changed BuildRequires(check) to BuildRequires * Mon Jan 10 2011 Mohammed Morsi - 1:3.0.3-1 - Update to rails 3 * Mon Aug 09 2010 Mohammed Morsi - 1:2.3.8-1 - Update to 2.3.8 * Thu Jan 28 2010 Mamoru Tasaka - 1:2.3.5-1 - Update to 2.3.5 * Wed Oct 7 2009 David Lutterkort - 1:2.3.4-2 - Bump Epoch to ensure upgrade path from F-11 * Mon Sep 7 2009 Mamoru Tasaka - 2.3.4-1 - Update to 2.3.4 * Thu Aug 02 2009 Jeroen van Meeuwen - 2.3.3-2 - Disable test * Sun Aug 2 2009 Mamoru Tasaka - 2.3.3-1 - 2.3.3 - Enable test * Sun Jul 26 2009 Fedora Release Engineering - 2.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Mar 16 2009 Jeroen van Meeuwen - 2.3.2-1 - New upstream version * Wed Feb 25 2009 Fedora Release Engineering - 2.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Dec 23 2008 David Lutterkort - 2.2.2-1 - New version * Tue Sep 16 2008 David Lutterkort - 2.1.1-1 - New version (fixes CVE-2008-4094) * Thu Jul 31 2008 Michael Stahnke - 2.1.0-1 - New Upstream * Tue Apr 8 2008 David Lutterkort - 2.0.2-2 - Fix dependency * Mon Apr 07 2008 David Lutterkort - 2.0.2-1 - New version * Mon Dec 10 2007 David Lutterkort - 2.0.1-1 - New version * Thu Nov 29 2007 David Lutterkort - 1.3.6-1 - New version * Tue Nov 14 2007 David Lutterkort - 1.3.5-2 - Fix buildroot - Mark various things in geminstdir as doc * Tue Oct 30 2007 David Lutterkort - 1.3.5-1 - Initial package