2008-08-27 18:02:35 +02:00
|
|
|
#
|
2009-03-20 16:40:02 +01:00
|
|
|
# spec file for package rubygem-hpricot (Version 0.7)
|
2008-08-27 18:02:35 +02:00
|
|
|
#
|
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-03-20 16:40:02 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
2008-08-27 18:02:35 +02:00
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: rubygem-hpricot
|
2009-03-20 16:40:02 +01:00
|
|
|
Version: 0.7
|
|
|
|
Release: 1
|
|
|
|
%define mod_name hpricot
|
2008-08-27 18:02:35 +02:00
|
|
|
#
|
|
|
|
Group: Development/Languages/Ruby
|
2009-03-20 16:40:02 +01:00
|
|
|
License: GPLv2+ or Ruby
|
2008-08-27 18:02:35 +02:00
|
|
|
#
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: rubygems_with_buildroot_patch
|
2009-03-20 16:40:02 +01:00
|
|
|
Requires: rubygems >= 1.3.1
|
|
|
|
BuildRequires: ruby >= 0
|
|
|
|
BuildRequires: rubygems >= 1.3.1
|
|
|
|
|
|
|
|
Provides: rubygem-%{mod_name} = %{version}-%{release}
|
2008-08-27 18:02:35 +02:00
|
|
|
|
2009-03-20 16:40:02 +01:00
|
|
|
Url: http://code.whytheluckystiff.net/hpricot/
|
|
|
|
Source0: %{mod_name}-%{version}.gem
|
2008-08-27 18:02:35 +02:00
|
|
|
|
2009-03-20 16:40:02 +01:00
|
|
|
Summary: a swift, liberal HTML parser with a fantastic library
|
|
|
|
|
|
|
|
%description
|
|
|
|
a swift, liberal HTML parser with a fantastic library
|
2008-08-27 18:02:35 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2009-03-20 16:40:02 +01:00
|
|
|
%gem_install %{S:0}
|
2008-08-27 18:02:35 +02:00
|
|
|
|
|
|
|
%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
|