File rubygem-ruby-xslt.spec of Package rubygem-ruby-xslt

# norootforbuild

#
Name:           rubygem-ruby-xslt
Version:        0.9.6
Release:        0
%define mod_name ruby-xslt
#
Group:          Development/Languages/Ruby
License:        BSD
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  rubygems_with_buildroot_patch
BuildRequires:  libxslt-devel
Requires:       rubygems >= 0.8.11
%if 0%{?suse_version} > 1020
BuildRequires:  fdupes
%endif
#
URL:            http://ruby-asp.rubyforge.org/
#               http://rubyforge.org/projects/ruby-asp/
Source:         http://rubyforge.org/frs/download.php/35057/ruby-xslt-0.9.6.gem
Source1:        rubygem-ruby-xslt-rpmlintrc
#
Summary:        A Ruby class for processing XSLT
%description
Ruby/XSLT is a simple XSLT class based on libxml <http://xmlsoft.org/> and
libxslt <http://xmlsoft.org/XSLT/>

Authors:
---------
    Gregoire Lejeune <gregoire.lejeune@free.fr>

%prep
%build
%install
%gem_install %{S:0}
%gem_cleanup
%if 0%{?suse_version} > 1020
%fdupes %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
%endif

%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