c19105fce5
- Update to 1.0.19 * Add 'difffile' color option, allowing more git-like coloring (separate color for header of each changed file). Thanks Geraint Edwards. * Improved portability of Makefile, thanks Michael Osipov. * Provide support for 24-bit colour strings, thanks Stephen Wall. - Run spec-cleaner * Drop package groups - Drop patch colordiff-fix-permission.diff not needed anymore OBS-URL: https://build.opensuse.org/request/show/820639 OBS-URL: https://build.opensuse.org/package/show/devel:tools/colordiff?expand=0&rev=18
55 lines
1.6 KiB
RPMSpec
55 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package colordiff
|
|
#
|
|
# Copyright (c) 2020 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: colordiff
|
|
Version: 1.0.19
|
|
Release: 0
|
|
Summary: Colour-highlighted 'diff' output
|
|
License: GPL-2.0-or-later
|
|
URL: https://www.colordiff.org
|
|
Source0: http://www.colordiff.org/%{name}-%{version}.tar.gz
|
|
Source1: http://www.colordiff.org/%{name}-%{version}.tar.gz.sig
|
|
Source2: %{name}.keyring
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
The Perl script colordiff is a wrapper for 'diff' and produces the same
|
|
output but with pretty 'syntax' highlighting. Colour schemes can be
|
|
customized.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
|
|
%install
|
|
%make_install INSTALL_DIR=%{_bindir} \
|
|
ETC_DIR=%{_sysconfdir} \
|
|
MAN_DIR=%{_mandir}/man1
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc README CHANGES BUGS colordiffrc colordiffrc-lightbg colordiffrc-gitdiff
|
|
%config(noreplace) %{_sysconfdir}/colordiffrc
|
|
%{_bindir}/cdiff
|
|
%{_bindir}/colordiff
|
|
%{_mandir}/man1/cdiff.1%{?ext_man}
|
|
%{_mandir}/man1/colordiff.1%{?ext_man}
|
|
|
|
%changelog
|