%define name colordiff %define version 1.0.4 %define release 2mdk Summary: A wrapper for 'diff' and produces the output with 'syntax' highlighting Name: %name Version: %version Release: %release License: GPL Url: http://colordiff.sourceforge.net/ Source: %{name}-%{version}.tar.bz2 Group: Development/Other BuildRoot: %_tmppath/%{name}-buildroot Requires: perl BuildArch: noarch %description The Perl script colordiff is a wrapper for 'diff'. It produces the same output but with 'syntax' highlighting. Colour schemes can be customized. %prep rm -rf $RPM_BUILD_ROOT %setup -q %build %install install -m 755 -D colordiff.pl $RPM_BUILD_ROOT/%_bindir/colordiff install -m 644 -D colordiff.1 $RPM_BUILD_ROOT/%_mandir/man1/colordiff.1 install -m 644 -D colordiffrc $RPM_BUILD_ROOT/%_sysconfdir/colordiffrc %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc COPYING INSTALL README %{_bindir}/%{name} %config(noreplace) %{_sysconfdir}/colordiffrc %_mandir/man1/colordiff* %changelog * Sat Feb 06 2005 Charles A Edwards <eslrahc@manndrake.org> 1.0.4-2mdk - bday build * Mon Jan 05 2004 Charles A Edwards <eslrahc@manndrake.org> 1.0.4-1mdk - first mdk release