A new user interface for you! Read more...

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
%rubygems_requires

Requires:       ruby >= 1.9
BuildRequires:  ruby-devel >= 1.9
#
Url:            https://github.com/ruby-gettext/locale
Source:         %{mod_full_name}.gem

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

%description
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.

%prep
%build
%install
%gem_install %{S:0}

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

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

%files doc
%defattr(-,root,root,-)
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/

%changelog