Name: colordiff Version: 1.0.10 Release: 1 Summary: Color terminal highlighter for diff files Group: Text tools License: GPLv2+ URL: http://colordiff.sourceforge.net/ Source0: http://colordiff.sourceforge.net/%{name}-%{version}.tar.gz # Sent upstream 2009-07-21, resent 2012-06-04 Patch1: %{name}-1.0.9-cdiff-xz.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot # xmlto, docbook-dtds for patch1 BuildRequires: xmlto, docbook-dtd412-xml BuildRequires: patch, coreutils Requires: xz Requires: bzip2 Requires: gzip Requires: less Requires: diffutils Requires: which 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 export PATH=/opt/freeware/bin:$PATH %patch1 -p1 %build xmlto -vv man cdiff.xml %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} export PATH=/opt/freeware/bin:$PATH make install DESTDIR=${RPM_BUILD_ROOT} INSTALL_DIR=%{_bindir} \ ETC_DIR=%{_sysconfdir} MAN_DIR=%{_mandir}/man1 cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %doc BUGS CHANGES colordiffrc-lightbg COPYING README %config(noreplace) %{_sysconfdir}/colordiffrc %{_bindir}/* %{_mandir}/man1/* /usr/bin/* %changelog * Tue Jul 17 2012 Michael Perzl - 1.0.10-1 - first version for AIX V5.1 and higher