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

#
# spec file for package rubygem-libxml-ruby (Version 1.1.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild
Name:           rubygem-libxml-ruby
Version:        1.1.3
Release:        3.1
%define mod_name libxml-ruby
#
Group:          Development/Languages/Ruby
License:        X11/MIT
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  rubygems_with_buildroot_patch
Requires:       rubygems >= 1.3.1
BuildRequires:  libxml2-devel
%if 0%{?suse_version} > 1020
BuildRequires:  fdupes
%endif
#
Url:            http://libxml.rubyforge.org/
#               http://rubyforge.org/projects/libxml/
Source:         http://rubyforge.org/frs/download.php/53631/libxml-ruby-1.1.3.gem
Source1:        rubygem-libxml-ruby-rpmlintrc
#
Summary:        Ruby language bindings for the GNOME Libxml2 XML toolkit
%description
The Libxml-Ruby project provides Ruby language bindings for the GNOME Libxml2
XML toolkit. It is free software, released under the MIT License. Libxml-ruby's
primary advantage over REXML is performance - if speed  is your need, these are
good libraries to consider, as demonstrated by the informal benchmark below.

Authors:
---------
    Dan Janowski
    Sean Chittenden
    7rans

%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
* Fri Mar 27 2009 mrueckert@suse.de
- update to 1.1.3
* Wed Dec  3 2008 mrueckert@suse.de
- update to 0.9.5
* Thu Oct  2 2008 mrueckert@suse.de
- update to 0.8.3
* Tue May 22 2007 mrueckert@suse.de
- update to 0.3.8.4
openSUSE Build Service is sponsored by