File rubygem-activesupport-2_0.spec of Package rubygem-activesupport-2_0
#
# spec file for package rubygem-activesupport-2_0 (Version 2.0.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: rubygem-activesupport-2_0
Version: 2.0.5
Release: 0
%define mod_name activesupport
#
Group: Development/Languages/Ruby
License: X11/MIT
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rubygems_with_buildroot_patch
Requires: rubygems > 0.9
Provides: rubygem-%{mod_name} = %{version}-%{release}
# Obsoletes: rubygem-%{mod_name} < %{version}
#
URL: http://rubyforge.org/projects/activesupport/
Source: http://rubyforge.org/frs/download.php/45352/activesupport-2.0.5.gem
Source1: activesupport-2.0.5_ruby_1.8.7_chars_method.patch
#
Summary: Utility classes and extension to the standard library
%description
Utility classes and extension to the standard library that were required
by Rails, but found of general use.
Authors:
--------
rails development team
%prep
%build
%install
%gem_install %{S:0}
pushd %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
patch -p0 < %{S:1}
popd
%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