File rubygem-erubis.spec of Package rubygem-erubis

#
# spec file for package rubygem-erubis (Version 2.4.0)
#
# Copyright (c) 2007 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-erubis
Version:        2.6.2
Release:        0
#
Group:          Development/Languages/Ruby
License:        GPL v2 or later
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  rubygems_with_buildroot_patch
BuildRequires:  rubygem-abstract >= 1.0.0
Requires:       rubygems >= 0.8.11
Requires:       rubygem-abstract >= 1.0.0
%define mod_name erubis
#
URL:            http://www.kuwata-lab.com/erubis/
#               http://rubyforge.org/projects/erubis/
Source:         http://rubyforge.org/frs/download.php/38224/erubis-2.6.2.gem
#
Summary:        Erubis is a pure Ruby implementation of eRuby

%description
Erubis is a pure Ruby implementation of eRuby. It has the following
features.

* Very fast, almost three times faster than ERB and even as fast as
   eruby (implemented in C)

* Auto escaping (sanitizing) support

* Auto trimming spaces around '<% %>'

* Embedded pattern changeable (default '<% %>')

* Multi-language support (Ruby/PHP/C/Java/Scheme/Perl/Javascript)

* Context object available and easy to combine eRuby template with
   YAML datafile

* Easy to expand in subclass, for example:

- Print statement support

- Lines starting with percent character ('%') support

- Another embedded pattern support

- etc...

Erubis supports not only Ruby but also PHP, C, Java, Scheme, Perl, and
Javascript. You can embed these language code into your document and
compile it into target program code.



Authors:
--------
    makoto kuwata

%prep

%build

%install
gem install --build-root=%{buildroot} %{S:0}

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

%files
%defattr(-,root,root,-)
%{_bindir}/erubis
%{_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
openSUSE Build Service is sponsored by