2015-05-12 11:08:19 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package rubygem-paint
|
|
|
|
|
#
|
2022-08-05 09:23:13 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2015-05-12 11:08:19 +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-20 20:17:24 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-05-12 11:08:19 +00:00
|
|
|
#
|
|
|
|
|
|
2016-01-24 14:04:51 +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
|
|
|
|
|
#
|
|
|
|
|
|
2015-05-12 11:08:19 +00:00
|
|
|
Name: rubygem-paint
|
2022-08-05 09:23:13 +00:00
|
|
|
Version: 2.3.0
|
2015-05-12 11:08:19 +00:00
|
|
|
Release: 0
|
|
|
|
|
%define mod_name paint
|
|
|
|
|
%define mod_full_name %{mod_name}-%{version}
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
BuildRequires: %{ruby >= 1.9.3}
|
|
|
|
|
BuildRequires: %{rubygem gem2rpm}
|
2016-01-24 14:04:51 +00:00
|
|
|
BuildRequires: ruby-macros >= 5
|
2020-02-10 23:50:46 +00:00
|
|
|
URL: https://github.com/janlelis/paint
|
2017-12-05 20:45:52 +00:00
|
|
|
Source: https://rubygems.org/gems/%{mod_full_name}.gem
|
2016-01-24 14:04:51 +00:00
|
|
|
Source1: gem2rpm.yml
|
2015-05-12 11:08:19 +00:00
|
|
|
Summary: Terminal painter!
|
|
|
|
|
License: MIT
|
|
|
|
|
Group: Development/Languages/Ruby
|
|
|
|
|
|
|
|
|
|
%description
|
2020-05-07 22:49:58 +00:00
|
|
|
Terminal painter with RGB and 256 (fallback) color and terminal effects
|
|
|
|
|
support. No string extensions! Usage: Paint['string', :red, :bright].
|
2015-05-12 11:08:19 +00:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%gem_install \
|
2017-01-13 12:00:46 +00:00
|
|
|
--doc-files="CHANGELOG.md MIT-LICENSE.txt README.md" \
|
2015-05-12 11:08:19 +00:00
|
|
|
-f
|
|
|
|
|
|
|
|
|
|
%gem_packages
|
|
|
|
|
|
|
|
|
|
%changelog
|