File rubygem-bencode.spec of Package rubygem-bencode
#
# spec file for package rubygem-bencode (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-bencode
Version: 0.5.0
Release: 1
#
%define mod_name bencode
License: GPLv2
Group: Development/Languages/Ruby
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rubygems_with_buildroot_patch
Requires: rubygems >= 0.9
#
URL: http://rubyforge.org/projects/bencode
Source: http://rubyforge.org/frs/download.php/17277/bencode-0.5.0.gem
#
Summary: A Ruby implementation of the BEncode data serialization used in the BitTorrent protocol.
%description
A Ruby implementation of the BEncode data serialization used in the BitTorrent
protocol.
Authors:
--------
Daniel Schierbeck <prepdaniel.schierbeck@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