File rubygem-builder.spec of Package rubygem-builder

#
# spec file for package rubygem-builder (Version 2.1.2)
#
# 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-builder
Version:        2.1.2
Release:        0
%define mod_name builder
#
Group:          Development/Languages/Ruby
License:        MIT
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  rubygems_with_buildroot_patch
Requires:       rubygems >= 0.8.11
#
Url:            http://builder.rubyforge.org/
#               http://rubyforge.org/projects/builder
Source:         http://rubyforge.org/frs/download.php/21724/builder-2.1.2.gem
#
Summary:        Builders for MarkUp
%description
Builder provides a number of builder objects that make creating structured data
simple to do.  Currently the following builder objects are supported:
    * XML Markup
    * XML Events


Authors:
---------
    - Jim Weirich <jim@weirichhouse.org>

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

%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
openSUSE Build Service is sponsored by