Group :: Text tools
RPM: colordiff
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Group: Text tools
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: colordiff
Version: 1.0.21
Release: alt1_3
Summary: Color terminal highlighter for diff files
License: GPL-2.0-or-later
URL: http://www.colordiff.org/
Source0: http://www.colordiff.org/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-perl
Requires: diffutils
Requires: less
Requires: bzip2
Requires: gzip gzip-utils
Requires: xz
Requires: curl
Provides: cdiff
Source44: import.info
%description
Colordiff is a wrapper for diff and produces the same output but with
pretty syntax highlighting. Color schemes can be customized.
%prep
%setup -q
# those are defaults of old 1.0.8a-alt1 by Pavlov Konstantin <thresh at >
sed -i -e 's/banner=yes/banner=no/' colordiffrc-*
%build
%install
%makeinstall_std INSTALL_DIR=%{_bindir} \
ETC_DIR=%{_sysconfdir} MAN_DIR=%{_mandir}/man1
%files
%doc --no-dereference COPYING
%doc BUGS CHANGES colordiffrc colordiffrc-gitdiff colordiffrc-lightbg README
%config(noreplace) %{_sysconfdir}/colordiffrc
%{_bindir}/cdiff
%{_bindir}/colordiff
%{_mandir}/man1/cdiff.1*
%{_mandir}/man1/colordiff.1*
%changelog
…
Full changelog you can see here
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: colordiff
Version: 1.0.21
Release: alt1_3
Summary: Color terminal highlighter for diff files
License: GPL-2.0-or-later
URL: http://www.colordiff.org/
Source0: http://www.colordiff.org/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-perl
Requires: diffutils
Requires: less
Requires: bzip2
Requires: gzip gzip-utils
Requires: xz
Requires: curl
Provides: cdiff
Source44: import.info
%description
Colordiff is a wrapper for diff and produces the same output but with
pretty syntax highlighting. Color schemes can be customized.
%prep
%setup -q
# those are defaults of old 1.0.8a-alt1 by Pavlov Konstantin <thresh at >
sed -i -e 's/banner=yes/banner=no/' colordiffrc-*
%build
%install
%makeinstall_std INSTALL_DIR=%{_bindir} \
ETC_DIR=%{_sysconfdir} MAN_DIR=%{_mandir}/man1
%files
%doc --no-dereference COPYING
%doc BUGS CHANGES colordiffrc colordiffrc-gitdiff colordiffrc-lightbg README
%config(noreplace) %{_sysconfdir}/colordiffrc
%{_bindir}/cdiff
%{_bindir}/colordiff
%{_mandir}/man1/cdiff.1*
%{_mandir}/man1/colordiff.1*
%changelog
…
Full changelog you can see here