Changes of Revision 3
[-] | Added | rubygem-actionmailer-2_0.spec |
x 1
2 +# 3 +# spec file for package rubygem-actionmailer-2_0 (Version 2.0.2) 4 +# 5 +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. 6 +# This file and all modifications and additions to the pristine 7 +# package are under the same license as the package itself. 8 +# 9 +# Please submit bugfixes or comments via http://bugs.opensuse.org/ 10 +# 11 + 12 +# norootforbuild 13 + 14 +Name: rubygem-actionmailer-2_0 15 +Version: 2.0.2 16 +Release: 0 17 +%define mod_name actionmailer 18 +# 19 +Group: Development/Languages/Ruby 20 +License: X11/MIT 21 +# 22 +BuildRoot: %{_tmppath}/%{name}-%{version}-build 23 +BuildRequires: rubygems_with_buildroot_patch 24 +Requires: rubygems > 0.9 25 +Provides: rubygem-%{mod_name} = %{version}-%{release} 26 +Obsoletes: rubygem-%{mod_name} < %{version} 27 +BuildRequires: rubygem-actionpack-2_0 = 2.0.2 28 +Requires: rubygem-actionpack-2_0 = 2.0.2 29 +# 30 +Url: http://rubyforge.org/projects/actionmailer/ 31 +Source: actionmailer-2.0.2.gem 32 +# 33 +Summary: Mail service classes for Ruby on Rails 34 +%description 35 +Simplifies the creation of mail service classes that uses Action View 36 +(from Action Pack) to render the body templates. 37 + 38 + 39 + 40 +Authors: 41 +-------- 42 + rails development team 43 + 44 +%prep 45 + 46 +%build 47 + 48 +%install 49 +gem install --local --build-root=%{buildroot} %{S:0} 50 +find %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ -name \*.bak -print0 | xargs -r0 rm -v 51 + 52 +%clean 53 +%{__rm} -rf %{buildroot} 54 + 55 +%files 56 +%defattr(-,root,root,-) 57 +%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem 58 +%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ 59 +%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec 60 +%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/ 61 + 62 +%changelog 63 |