Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37561573
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 

Name: colordiff
Version: 1.0.6
Release: alt1
Summary: Color terminal highlighter for diff files

Packager: Pavlov Konstantin <thresh at altlinux.ru>
Group: Text tools
License: GPL
Url: http://colordiff.sourceforge.net/
Source0: http://colordiff.sourceforge.net/%name-%version.tar.gz

BuildArch: noarch
Requires: bzip2, gzip, less, diffutils
Provides: cdiff

%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
mv colordiffrc colordiffrc-darkbg
sed -i -e 's/banner=yes/banner=no/' colordiffrc-*

%build
%install
install -Dpm 755 colordiff.pl %buildroot%_bindir/colordiff
install -pm 755 cdiff.sh %buildroot%_bindir/cdiff
install -Dpm 644 colordiff.1 %buildroot%_mandir/man1/colordiff.1
install -Dpm 644 colordiffrc-lightbg %buildroot%_sysconfdir/colordiffrc

%files
%doc BUGS CHANGES colordiffrc-darkbg colordiffrc-lightbg COPYING README
%config(noreplace) %_sysconfdir/colordiffrc
%_bindir/cdiff
%_bindir/colordiff
%_man1dir/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