File rubygem-spruz.spec of Package rubygem-spruz

#
# spec file for package rubygem-spruz
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           rubygem-spruz
Version:        0.2.13
Release:        0
License:        MIT
Summary:        Useful stuff
Url:            http://flori.github.com/spruz
Group:          Development/Languages/Ruby
Source:         spruz-%{version}.gem
BuildRequires:  fdupes
BuildRequires:  rubygems_with_buildroot_patch
Provides:       rubygem-spruz-0_2 = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%rubygems_requires

%description
All the stuff that isn't good/big enough for a real library.

%package doc
Summary:        RDoc documentation for spruz
Group:          Development/Languages/Ruby
Requires:       %{name} = %{version}

%description doc
Documentation generated at gem installation time.
Usually in RDoc and RI formats.

%prep
%build
%install
%gem_install %{SOURCE0}
%fdupes %{buildroot}

%files
%defattr(-,root,root,-)
%{_bindir}/enum
%{_libdir}/ruby/gems/%{rb_ver}/cache/spruz-%{version}.gem
%{_libdir}/ruby/gems/%{rb_ver}/gems/spruz-%{version}/
%{_libdir}/ruby/gems/%{rb_ver}/specifications/spruz-%{version}.gemspec

%files doc
%defattr(-,root,root,-)
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/spruz-%{version}/

%changelog
openSUSE Build Service is sponsored by