File crayonizer.spec of Package crayonizer
#
# spec file for package crayonizer
#
# Copyright (c) 2018 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/
#
Name: crayonizer
Version: 2.2
Release: 0
Summary: Colorize command-line programs
License: GPL-3.0-only
Group: Productivity/Text/Utilities
URL: https://github.com/ColumPaget/Crayonizer
Source0: https://github.com/ColumPaget/Crayonizer/archive/v%{version}.tar.gz
Patch0: crayonizer-return.patch
%description
Crayonizer is a command-line app that "crayonizes" (i.e. colors in) the output
of other command-line applications.
%prep
%autosetup -p1 -n Crayonizer-%{version}
%build
%configure
make %{?_smp_mflags}
%install
#make_install
install -Dm755 crayonizer %{buildroot}%{_bindir}/%{name}
install -d %{buildroot}%{_sysconfdir}/%{name}.d
cp examples/* %{buildroot}%{_sysconfdir}/%{name}.d
%files
%license LICENSE
%doc README.md
%{_bindir}/*
%{_sysconfdir}/%{name}.d
%changelog