File rubygem-actionmailer-2_1.spec of Package rubygem-actionmailer-2_1

#
# spec file for package rubygem-actionmailer-2_1 (Version 2.1.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           rubygem-actionmailer-2_1
Version:        2.1.1
Release:        2
%define mod_name actionmailer
#
Group:          Development/Languages/Ruby
License:        X11/MIT
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  rubygems_with_buildroot_patch
Requires:       rubygems > 0.9.4
Provides:       rubygem-%{mod_name} = %{version}-%{release}
# Obsoletes:      rubygem-%{mod_name} < %{version}
BuildRequires:  rubygem-actionpack-2_1 = 2.1.1
Requires:       rubygem-actionpack-2_1 = 2.1.1
#
Url:            http://rubyforge.org/projects/actionmailer/
Source:         http://rubyforge.org/frs/download.php/42609/actionmailer-2.1.1.gem
#
Summary:        Mail service classes for Ruby on Rails

%description
Simplifies the creation of mail service classes that uses Action View
(from Action Pack) to render the body templates.



Authors:
--------
    rails development team

%prep

%build

%install
gem install --local --build-root=%{buildroot} %{S:0}
find %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ -name \*.bak -print0 | xargs -r0 rm -v

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/

%changelog
* Fri Sep 12 2008 mrueckert@suse.de
- update to version 2.1.1
  version bump to follow the other packages
* Wed Jun 04 2008 mrueckert@suse.de
- update to version 2.1.0
  * Fixed that a return-path header would be ignored
  * Less verbose mail logging: just recipients for :info log level;
  the whole email for :debug only.
  * Updated TMail to version 1.2.1
  * Fixed that you don't have to call super in
  ActionMailer::TestCase#setup
- branched package from the 2.0 package
* Thu Feb 21 2008 mrueckert@suse.de
- do not obsolete the old name as it leads to trouble on upgrade.
  this will handled by the wrapper package.
* Fri Jan 18 2008 mrueckert@suse.de
- update to version 2.0.2
  major update for ruby on rails 2
  see /usr/lib*/ruby/gems/1.8/gems/actionmailer-2.0.2/CHANGELOG
- branch rubygem-actionmailer-2_0 to allow parallel installation
  of the major branches
* Thu Jan 17 2008 mrueckert@suse.de
- update to version 1.3.6
  updated versions in requires
- branch rubygem-actionmailer-1_3 to allow parallel installation
  of the major branches
* Mon May 14 2007 mrueckert@suse.de
- update to version 1.3.3
  * Depend on Action Pack 1.13.3
- additional changes from 1.3.2:
  * Deprecate server_settings renaming it to smtp_settings,  add
  sendmail_settings to allow you to override the arguments to
  and location of the sendmail executable. [Koz]
- fixed typo in the changelog
* Wed Jan 24 2007 mrueckert@suse.de
- Update to version 1.3.1:
  update for rails 1.2.1. Too many changes to mention them here.
  See /usr/lib*/ruby/gems/1.8/gems/actionmailer-1.3.1/CHANGELOG .
* Fri Aug 11 2006 mrueckert@suse.de
- Update to version 1.2.5:
  * Depend on Action Pack 1.12.5
* Thu Aug 10 2006 mrueckert@suse.de
- Update to version 1.2.4:
  * Backport of documentation enhancements.
  [Kevin Clark, Marcel Molina Jr]
  * Correct spurious documentation example code which results in a
  SyntaxError. [Marcel Molina Jr.]
  * Mailer template root applies to a class and its subclasses
  rather than acting globally. (rails:#5555) [somekool@gmail.com]
- Depend on Action Pack 1.12.4
* Sat Jul 01 2006 mrueckert@suse.de
- Update to version 1.2.3:
  * Depend on Action Pack 1.12.3
* Wed Jun 21 2006 mrueckert@suse.de
- use rubygems_with_buildroot_patch instead of the versioned
  buildrequires
* Tue Jun 20 2006 mrueckert@suse.de
- remove bak files
* Mon Jun 19 2006 mrueckert@suse.de
- Initial package of version 1.2.1