File rubygem-rchardet.spec of Package rubygem-rchardet
#
# spec file for package rubygem-httpclient (Version 2.1.1)
#
# 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-rchardet
%define mod_name rchardet
#
Version: 1.1
Release: 0
#
Group: Development/Languages/Ruby
License: Ruby
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rubygems_with_buildroot_patch
Requires: rubygems >= 0.8.11
#
Url: http://rubyforge.org/projects/rchardet/
Source: http://rubyforge.org/frs/download.php/22482/rchardet-1.1.gem
#
Summary: Ruby Character Encoding Detector
%description
rchardet is a ruby module to detect character encodings
Authors:
--------
Jeff Hodges <jmhodges@gmail.com>
%prep
%build
%install
gem install --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