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