Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37039268
en ru br
ALT Linux repos
S:1.0.21-alt1_3
5.0: 1.0.7-alt1
4.1: 1.0.7-alt1
4.0: 1.0.6-alt1

Other repositories
Upstream:1.0.7

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin