File rubygem-sysexits.spec of Package rubygem-sysexits
#
# spec file for package rubygem-sysexits
#
# Copyright (c) 2016 SUSE LINUX 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/
#
#
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
# All sections marked as MANUAL, license headers, summaries and descriptions
# can be maintained in that file. Please consult this file before editing any
# of those fields
#
Name: rubygem-sysexits
Version: 1.2.0
Release: 0
%define mod_name sysexits
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{ruby >= 1.8.7}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
BuildRequires: update-alternatives
Url: https://bitbucket.org/ged/sysexits
Source: http://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: sysexits implementation for ruby
License: BSD-3-Clause
Group: Development/Languages/Ruby
PreReq: update-alternatives
%description
Have you ever wanted to call exit() with an error condition,
but weren't sure what exit status to use? No? Maybe it's just me, then.
Anyway, I was reading manpages late one evening before retiring to bed
in my palatial estate in rural Oregon, and I stumbled across sysexits(3).
Much to my chagrin, I couldn't find a +sysexits+ for Ruby! Well, for the
other 2 people that actually care about style(9) as it applies to Ruby code,
now there is one!
%prep
%build
%install
%gem_install \
--symlink-binaries \
--doc-files="ChangeLog LICENSE README.rdoc" \
-f
%gem_packages
%changelog