File rubygem-blankslate.spec of Package rubygem-blankslate

Name:           rubygem-blankslate
Release:        0
%define mod_name blankslate
%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:        BlankSlate provides a blank base class

BlankSlate provides a base class where almost all of the methods from
Object and Kernel have been removed. This is useful when providing proxy
object and other classes that make heavy use of method_missing.

%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}/