File rubygem-bcodec.spec of Package rubygem-bcodec

#
# spec file for package rubygem-bcodec (Version 0.5.0)
#
# 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-bcodec
Version:        1.0.0
Release:        1
#
%define mod_name bcodec
License:        GPLv3
Group:          Development/Languages/Ruby
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  rubygems_with_buildroot_patch
Requires:       rubygems >= 0.9
#
URL:            http://rubyforge.org/projects/bcodec
Source:         http://rubyforge.org/frs/download.php/22322/bcodec-1.0.0.gem
#
Summary:        Ruby library for encoding and decoding of bencoded data used in the BitTorrent protocol.

%description
Ruby library for encoding and decoding of bencoded data used in the BitTorrent protocol.



Authors:
--------
    tochiro <gmailvidvandre+rubyforge@gmail.com>

%prep
%build
%install
gem install --local --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
openSUSE Build Service is sponsored by