# # spec file for package rubygem-hpricot (Version 0.7) # # Copyright (c) 2008 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-hpricot Version: 0.7 Release: 1 %define mod_name hpricot # Group: Development/Languages/Ruby License: GPLv2+ or Ruby # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: rubygems_with_buildroot_patch Requires: rubygems >= 1.3.1 BuildRequires: ruby >= 0 BuildRequires: rubygems >= 1.3.1 Provides: rubygem-%{mod_name} = %{version}-%{release} Url: http://code.whytheluckystiff.net/hpricot/ Source0: %{mod_name}-%{version}.gem Summary: a swift, liberal HTML parser with a fantastic library %description a swift, liberal HTML parser with a fantastic library %prep %build %install %gem_install %{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