2012-09-13 05:26:49 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package rubygem-commander
|
|
|
|
|
#
|
2021-07-01 14:47:49 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2012-09-13 05:26:49 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2018-12-08 17:01:49 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-09-13 05:26:49 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2015-02-06 18:19:45 +00:00
|
|
|
#
|
|
|
|
|
# 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
|
|
|
|
|
#
|
|
|
|
|
|
2012-09-13 05:26:49 +00:00
|
|
|
Name: rubygem-commander
|
2021-07-01 14:47:49 +00:00
|
|
|
Version: 4.6.0
|
2012-09-13 05:26:49 +00:00
|
|
|
Release: 0
|
|
|
|
|
%define mod_name commander
|
|
|
|
|
%define mod_full_name %{mod_name}-%{version}
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2021-07-01 14:47:49 +00:00
|
|
|
BuildRequires: %{ruby >= 2.4}
|
2014-10-13 11:57:37 +00:00
|
|
|
BuildRequires: %{rubygem gem2rpm}
|
|
|
|
|
BuildRequires: ruby-macros >= 5
|
2013-07-30 16:10:47 +00:00
|
|
|
BuildRequires: update-alternatives
|
2020-02-10 23:44:51 +00:00
|
|
|
URL: https://github.com/commander-rb/commander
|
2018-02-08 07:28:17 +00:00
|
|
|
Source: https://rubygems.org/gems/%{mod_full_name}.gem
|
2014-10-13 11:57:37 +00:00
|
|
|
Source1: gem2rpm.yml
|
2012-09-13 05:26:49 +00:00
|
|
|
Summary: The complete solution for Ruby command-line executables
|
|
|
|
|
License: MIT
|
|
|
|
|
Group: Development/Languages/Ruby
|
2013-07-30 16:10:47 +00:00
|
|
|
PreReq: update-alternatives
|
2012-09-13 05:26:49 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The complete solution for Ruby command-line executables. Commander bridges the
|
|
|
|
|
gap between other terminal related libraries you know and love (OptionParser,
|
|
|
|
|
HighLine), while providing many new features, and an elegant API.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%install
|
2014-10-13 11:57:37 +00:00
|
|
|
%gem_install \
|
|
|
|
|
--symlink-binaries \
|
|
|
|
|
--doc-files="History.rdoc LICENSE README.md" \
|
|
|
|
|
-f
|
2012-09-13 05:26:49 +00:00
|
|
|
|
2014-10-13 11:57:37 +00:00
|
|
|
%gem_packages
|
2012-09-13 05:26:49 +00:00
|
|
|
|
|
|
|
|
%changelog
|