Name: dwdiff Version: 1.7 Release: 1 Summary: Front end to diff for comparing on a per word basis Group: Applications/Text License: GPLv3 URL: http://os.ghalkes.nl/dwdiff.html Source0: http://os.ghalkes.nl/dist/%{name}-%{version}.tgz Patch0: dwdiff-localedir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gettext, patch Requires: gettext Requires: diffutils %description dwdiff is a front-end for the diff program that operates at the word level instead of the line level. It is different from wdiff in that it allows the user to specify what should be considered whitespace, and in that it takes an optional list of characters that should be considered delimiters. Delimiters are single characters that are treated as if they are words, even when there is no whitespace separating them from preceding words or delimiters. %prep export PATH=/opt/freeware/bin:$PATH %setup -q %patch0 -p1 -b .localedir %build export CC="cc -qcpluscmt" ./configure \ --prefix=${RPM_BUILD_ROOT}%{_prefix} \ --mandir=${RPM_BUILD_ROOT}%{_mandir} \ --binddir=%{_datadir}/locale \ --without-unicode make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make install DESTDIR=${RPM_BUILD_ROOT} /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc README COPYING Changelog %{_bindir}/* %{_mandir}/man1/* %{_datadir}/locale/*/*/* %changelog * Wed Jul 07 2010 Michael Perzl - 1.7-1 - first version for AIX V5.1 and higher