File rubygem-httpclient.spec of Package rubygem-httpclient

#
# 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-httpclient
%define mod_name httpclient
#
Version:        2.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://raa.ruby-lang.org/project/httpclient
Source:         http://dev.ctor.org/download/gems/httpclient-2.1.1.gem
#
Summary:        Fast HTTP library for Ruby

%description
'httpclient' gives something like the functionality of PERLs LWP module in Ruby.


Authors:
--------
    Hiroshi Nakamura

%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