File rubygem-locale.spec of Package rubygem-locale

Name:           rubygem-locale
Version:        2.0.8
Release:        0
%define mod_name locale
%define mod_full_name %{mod_name}-%{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  rubygems_with_buildroot_patch

Requires:       ruby >= 1.9
BuildRequires:  ruby-devel >= 1.9
Source:         %{mod_full_name}.gem

License:        Ruby
Group:          Development/Languages/Ruby
Summary:        Ruby library which provides basic APIs for localization

Ruby-Locale is the pure ruby library which provides basic APIs for localization.

%package doc
Summary:        RDoc documentation for %{mod_name}
Group:          Development/Languages/Ruby
Requires:       %{name} = %{version}

%description doc
Documentation generated at gem installation time.
Usually in RDoc and RI formats.

%gem_install %{S:0}

%{__rm} -rf %{buildroot}


%files doc
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/