|
|
79e6b0 |
%{?scl:%scl_package rubygem-%{gem_name}}
|
|
|
79e6b0 |
%{!?scl:%global pkg_name %{name}}
|
|
|
79e6b0 |
|
|
|
79e6b0 |
# Generated from actionmailer-1.3.6.gem by gem2rpm -*- rpm-spec -*-
|
|
|
79e6b0 |
%global gem_name actionmailer
|
|
|
79e6b0 |
|
|
|
79e6b0 |
|
|
|
79e6b0 |
Summary: Service layer for easy email delivery and testing
|
|
|
79e6b0 |
Name: %{?scl_prefix}rubygem-%{gem_name}
|
|
|
79e6b0 |
Epoch: 1
|
|
|
79e6b0 |
Version: 4.1.5
|
|
|
79e6b0 |
Release: 1%{?dist}
|
|
|
79e6b0 |
Group: Development/Languages
|
|
|
79e6b0 |
License: MIT
|
|
|
79e6b0 |
URL: http://www.rubyonrails.org
|
|
|
79e6b0 |
|
|
|
79e6b0 |
Source0: http://rubygems.org/downloads/actionmailer-%{version}.gem
|
|
|
79e6b0 |
|
|
|
79e6b0 |
# Also the actionmailer gem doesn't ship with the test suite.
|
|
|
79e6b0 |
# You may check it out like so
|
|
|
79e6b0 |
# git clone http://github.com/rails/rails.git
|
|
|
79e6b0 |
# cd rails/actionmailer/
|
|
|
79e6b0 |
# git checkout v4.1.5
|
|
|
79e6b0 |
# tar czvf actionmailer-4.1.5-tests.tgz test/
|
|
|
79e6b0 |
Source2: actionmailer-%{version}-tests.tgz
|
|
|
79e6b0 |
|
|
|
79e6b0 |
# Let's keep Requires and BuildRequires sorted alphabeticaly
|
|
|
79e6b0 |
Requires: %{?scl_prefix_ruby}ruby(rubygems)
|
|
|
79e6b0 |
Requires: %{?scl_prefix}rubygem(actionpack) = %{version}
|
|
|
79e6b0 |
Requires: %{?scl_prefix}rubygem(mail) >= 2.5.3
|
|
|
79e6b0 |
Requires: %{?scl_prefix}rubygem(mail) < 2.6
|
|
|
79e6b0 |
Requires: %{?scl_prefix_ruby}ruby(release)
|
|
|
79e6b0 |
Requires: %{?scl_prefix}rubygem(actionview) = %{version}
|
|
|
79e6b0 |
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
|
|
|
79e6b0 |
BuildRequires: %{?scl_prefix}rubygem(actionpack) = %{version}
|
|
|
79e6b0 |
BuildRequires: %{?scl_prefix}rubygem(mail) >= 2.5.3
|
|
|
79e6b0 |
BuildRequires: %{?scl_prefix}rubygem(mail) < 2.6
|
|
|
79e6b0 |
BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
|
|
|
79e6b0 |
BuildRequires: %{?scl_prefix}rubygem(mocha)
|
|
|
79e6b0 |
BuildRequires: %{?scl_prefix}rubygem(actionview) = %{version}
|
|
|
79e6b0 |
BuildArch: noarch
|
|
|
79e6b0 |
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
|
|
|
79e6b0 |
|
|
|
79e6b0 |
%description
|
|
|
79e6b0 |
Makes it trivial to test and deliver emails sent from a single service layer.
|
|
|
79e6b0 |
|
|
|
79e6b0 |
%package doc
|
|
|
79e6b0 |
Summary: Documentation for %{pkg_name}
|
|
|
79e6b0 |
Group: Documentation
|
|
|
79e6b0 |
Requires:%{?scl_prefix}%{pkg_name} = %{epoch}:%{version}-%{release}
|
|
|
79e6b0 |
|
|
|
79e6b0 |
%description doc
|
|
|
79e6b0 |
Documentation for %{pkg_name}
|
|
|
79e6b0 |
|
|
|
79e6b0 |
%prep
|
|
|
79e6b0 |
%setup -n %{pkg_name}-%{version} -q -c -T
|
|
|
79e6b0 |
%{?scl:scl enable %{scl} - << \EOF}
|
|
|
79e6b0 |
%gem_install -n %{SOURCE0}
|
|
|
79e6b0 |
%{?scl:EOF}
|
|
|
79e6b0 |
|
|
|
79e6b0 |
# move the tests into place
|
|
|
79e6b0 |
tar xzvf %{SOURCE2} -C .%{gem_instdir}
|
|
|
79e6b0 |
|
|
|
79e6b0 |
# Remove backup files
|
|
|
79e6b0 |
find ./%{gem_instdir} -type f -name "*~" -delete
|
|
|
79e6b0 |
|
|
|
79e6b0 |
# Fix anything executable that does not have a shebang
|
|
|
79e6b0 |
for file in `find ./%{gem_instdir} -type f -perm /a+x`; do
|
|
|
79e6b0 |
[ -z "`head -n 1 $file | grep \"^#!/\"`" ] && chmod -v 644 $file
|
|
|
79e6b0 |
done
|
|
|
79e6b0 |
|
|
|
79e6b0 |
# Find files with a shebang that do not have executable permissions
|
|
|
79e6b0 |
for file in `find ./%{gem_instdir} -type f ! -perm /a+x -name "*.rb"`; do
|
|
|
79e6b0 |
[ ! -z "`head -n 1 $file | grep \"^#!/\"`" ] && chmod -v 755 $file
|
|
|
79e6b0 |
done
|
|
|
79e6b0 |
|
|
|
79e6b0 |
%build
|
|
|
79e6b0 |
|
|
|
79e6b0 |
%install
|
|
|
79e6b0 |
rm -rf %{buildroot}
|
|
|
79e6b0 |
mkdir -p %{buildroot}%{gem_dir}
|
|
|
79e6b0 |
cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/
|
|
|
79e6b0 |
|
|
|
79e6b0 |
%check
|
|
|
79e6b0 |
pushd .%{gem_instdir}
|
|
|
79e6b0 |
|
|
|
79e6b0 |
# load_path is not available, remove its require.
|
|
|
79e6b0 |
sed -i '1d' test/abstract_unit.rb
|
|
|
79e6b0 |
|
|
|
79e6b0 |
%{?scl:scl enable %{scl} - << \EOF}
|
|
|
79e6b0 |
ruby -Ilib:test -I. -e "Dir.glob('test/**/*_test.rb').each {|t| require t}"
|
|
|
79e6b0 |
%{?scl:EOF}
|
|
|
79e6b0 |
popd
|
|
|
79e6b0 |
|
|
|
79e6b0 |
%files
|
|
|
79e6b0 |
%dir %{gem_instdir}
|
|
|
79e6b0 |
%{gem_libdir}
|
|
|
79e6b0 |
%doc %{gem_instdir}/MIT-LICENSE
|
|
|
79e6b0 |
%exclude %{gem_cache}
|
|
|
79e6b0 |
%{gem_spec}
|
|
|
79e6b0 |
|
|
|
79e6b0 |
%files doc
|
|
|
79e6b0 |
%doc %{gem_docdir}
|
|
|
79e6b0 |
%doc %{gem_instdir}/CHANGELOG.md
|
|
|
79e6b0 |
%doc %{gem_instdir}/README.rdoc
|
|
|
79e6b0 |
%{gem_instdir}/test
|
|
|
79e6b0 |
|
|
|
79e6b0 |
%changelog
|
|
|
79e6b0 |
* Thu Jan 22 2015 Josef Stribny <jstribny@redhat.com> - 1:4.1.5-1
|
|
|
79e6b0 |
- Update to 4.1.5
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Wed Dec 04 2013 Josef Stribny <jstribny@redhat.com> - 1:4.0.2-1
|
|
|
79e6b0 |
- Update to ActionMailer 4.0.2
|
|
|
79e6b0 |
- Resolves: rhbz#1037985
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Thu Nov 21 2013 Josef Stribny <jstribny@redhat.com> - 1:4.0.1-1
|
|
|
79e6b0 |
- Update to ActionMailer 4.0.1
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Wed Oct 16 2013 Josef Stribny <jstribny@redhat.com> - 1:4.0.0-2
|
|
|
79e6b0 |
- Convert to scl.
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Thu Aug 08 2013 Josef Stribny <jstribny@redhat.com> - 1:4.0.0-1
|
|
|
79e6b0 |
- Update to ActionMailer 4.0.0.
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.2.13-2
|
|
|
79e6b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Tue Mar 19 2013 Vít Ondruch <vondruch@redhat.com> - 1:3.2.13-1
|
|
|
79e6b0 |
- Update to ActionMailer 3.2.13.
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Fri Mar 08 2013 Vít Ondruch <vondruch@redhat.com> - 1:3.2.12-2
|
|
|
79e6b0 |
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Tue Feb 12 2013 Vít Ondruch <vondruch@redhat.com> - 1:3.2.12-1
|
|
|
79e6b0 |
- Update to ActionMailer 3.2.12.
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Wed Jan 09 2013 Vít Ondruch <vondruch@redhat.com> - 1:3.2.11-1
|
|
|
79e6b0 |
- Update to ActionMailer 3.2.11.
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Thu Jan 03 2013 Vít Ondruch <vondruch@redhat.com> - 1:3.2.10-1
|
|
|
79e6b0 |
- Update to ActionMailer 3.2.10.
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Mon Aug 13 2012 Vít Ondruch <vondruch@redhat.com> - 1:3.2.8-1
|
|
|
79e6b0 |
- Update to ActionMailer 3.2.8.
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Mon Jul 30 2012 Vít Ondruch <vondruch@redhat.com> - 1:3.2.7-1
|
|
|
79e6b0 |
- Update to ActionMailer 3.2.7.
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Tue Jul 24 2012 Vít Ondruch <vondruch@redhat.com> - 1:3.2.6-2
|
|
|
79e6b0 |
- Fixed missing epoch in -doc subpackage.
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Mon Jul 23 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1:3.2.6-1
|
|
|
79e6b0 |
- Update to ActionMailer 3.2.6.
|
|
|
79e6b0 |
- Don't run tests using Rakefile.
|
|
|
79e6b0 |
- Introduced -doc subpackage.
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.0.15-2
|
|
|
79e6b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Fri Jun 15 2012 Vít Ondruch <vondruch@redhat.com> - 1:3.0.15-1
|
|
|
79e6b0 |
- Update to ActionMailer 3.0.15.
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Fri Jun 01 2012 Vít Ondruch <vondruch@redhat.com> - 1:3.0.13-1
|
|
|
79e6b0 |
- Update to ActionMailer 3.0.13.
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Wed May 09 2012 Vít Ondruch <vondruch@redhat.com> - 1:3.0.11-2
|
|
|
79e6b0 |
- Fix Mailer dependencies.
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Wed Feb 01 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1:3.0.11-1
|
|
|
79e6b0 |
- Rebuilt for Ruby 1.9.3.
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.0.10-2
|
|
|
79e6b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Mon Aug 22 2011 Vít Ondruch <vondruch@redhat.com> - 1:3.0.10-1
|
|
|
79e6b0 |
- Update to ActionMailer 3.0.10
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Mon Jul 04 2011 Vít Ondruch <vondruch@redhat.com> - 1:3.0.9-1
|
|
|
79e6b0 |
- Update to ActionMailer 3.0.9
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Thu Jun 02 2011 Mo Morsi <mmorsi@redhat.com> - 1:3.0.3-2
|
|
|
79e6b0 |
- bump rubygem-mail dependency version to that in Fedora
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Fri Mar 25 2011 Vít Ondruch <vondruch@redhat.com> - 1:3.0.5-1
|
|
|
79e6b0 |
- Updated to ActionMailer 3.0.5
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.0.3-3
|
|
|
79e6b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Mon Feb 07 2011 Mohammed Morsi <mmorsi@redhat.com> - 1:3.0.3-2
|
|
|
79e6b0 |
- Changed BuildRequires(check) to BuildRequires
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Mon Jan 10 2011 Mohammed Morsi <mmorsi@redhat.com> - 1:3.0.3-1
|
|
|
79e6b0 |
- Update to rails 3
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Mon Aug 09 2010 Mohammed Morsi <mmorsi@redhat.com> - 1:2.3.8-1
|
|
|
79e6b0 |
- Update to 2.3.8
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Thu Jan 28 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1:2.3.5-1
|
|
|
79e6b0 |
- Update to 2.3.5
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Wed Oct 7 2009 David Lutterkort <lutter@redhat.com> - 1:2.3.4-2
|
|
|
79e6b0 |
- Bump Epoch to ensure upgrade path from F-11
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Mon Sep 7 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.3.4-1
|
|
|
79e6b0 |
- Update to 2.3.4
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Thu Aug 02 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 2.3.3-2
|
|
|
79e6b0 |
- Disable test
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Sun Aug 2 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.3.3-1
|
|
|
79e6b0 |
- 2.3.3
|
|
|
79e6b0 |
- Enable test
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-2
|
|
|
79e6b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Mon Mar 16 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 2.3.2-1
|
|
|
79e6b0 |
- New upstream version
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-2
|
|
|
79e6b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Tue Dec 23 2008 David Lutterkort <lutter@redhat.com> - 2.2.2-1
|
|
|
79e6b0 |
- New version
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Tue Sep 16 2008 David Lutterkort <dlutter@redhat.com> - 2.1.1-1
|
|
|
79e6b0 |
- New version (fixes CVE-2008-4094)
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Thu Jul 31 2008 Michael Stahnke <stahnma@fedoraproject.org> - 2.1.0-1
|
|
|
79e6b0 |
- New Upstream
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Tue Apr 8 2008 David Lutterkort <dlutter@redhat.com> - 2.0.2-2
|
|
|
79e6b0 |
- Fix dependency
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Mon Apr 07 2008 David Lutterkort <dlutter@redhat.com> - 2.0.2-1
|
|
|
79e6b0 |
- New version
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Mon Dec 10 2007 David Lutterkort <dlutter@redhat.com> - 2.0.1-1
|
|
|
79e6b0 |
- New version
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Thu Nov 29 2007 David Lutterkort <dlutter@redhat.com> - 1.3.6-1
|
|
|
79e6b0 |
- New version
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Tue Nov 14 2007 David Lutterkort <dlutter@redhat.com> - 1.3.5-2
|
|
|
79e6b0 |
- Fix buildroot
|
|
|
79e6b0 |
- Mark various things in geminstdir as doc
|
|
|
79e6b0 |
|
|
|
79e6b0 |
* Tue Oct 30 2007 David Lutterkort <dlutter@redhat.com> - 1.3.5-1
|
|
|
79e6b0 |
- Initial package
|