%define release 4mdk %define version 2.8.4 Summary: A GNU collection of diff utilities Name: diffutils URL: http://www.gnu.org/software/diffutils/ Version: %{version} Release: %{release} Group: Development/Other Source: ftp://ftp.gnu.org/pub/gnu/diffutils-%version.tar.bz2 Source1: %{name}-manpages.tar.bz2 #Patch1: http://wire.cadcamlab.org/misc/diffutils-2.7-k-opt.patch.bz2 Patch2: diffutils-2.8.4-i18n.patch.bz2 License: GPL Prereq: /sbin/install-info BuildRequires: autoconf2.5 Buildroot: %{_tmppath}/%{name}-root %description Diffutils includes four utilities: diff, cmp, diff3 and sdiff. * Diff compares two files and shows the differences, line by line. * The cmp command shows the offset and line numbers where two files differ, or cmp can show the characters that differ between the two files. * The diff3 command shows the differences between three files. Diff3 can be used when two people have made independent changes to a common original; diff3 can produce a merged file that contains both persons' changes and warnings about conflicts. * The sdiff command can be used to merge two files interactively. Install diffutils if you need to compare text files. %prep %setup -q %patch2 -p1 -b .i18n %build autoconf %configure %make PR_PROGRAM=%{_prefix}/bin/pr make check %install rm -rf $RPM_BUILD_ROOT %makeinstall install -d -m755 %{buildroot}%{_mandir}/man1 bzcat %SOURCE1|tar xf - -C %{buildroot}%{_mandir}/man1/ #rm -f %{buildroot}%{_mandir}/man1/diff.1 # (sb) Installed (but unpackaged) file(s) found: rm -fr $RPM_BUILD_ROOT/%{_infodir}/dir %find_lang %{name} %post %_install_info diff.info %preun %_remove_install_info diff.info %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) %doc NEWS README %{_bindir}/* %{_mandir}/man*/* %{_infodir}/diff.info* %changelog * Wed Jul 23 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 2.8.4-4mdk - rebuild - use %%make macro - drop unapplied P1 * Thu Jan 02 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.8.4-3mdk - build release * Mon Nov 18 2002 Stew Benedict <sbenedict@mandrakesoft.com> 2.8.4-2mdk - LI18NUX/LSB compliance patch - add installed but not packaged locale files * Thu Oct 10 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.8.4-1mdk - new release * Sun Aug 4 2002 Stefan van der Eijk <stefan@eijk.nu> 2.8.1-3mdk - BuildRequires: autoconf2.5 * Wed Jul 10 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.8.1-2mdk - rpmlint fixes: strange-permission, no-url-tag - Rebuild with latest gcc3.1 * Mon Apr 08 2002 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.8.1-1mdk - Diffutils 2.8.1 hot from the oven (gc). - Remove the suffix patch (-k option). (if you really need this feature please send a patch). - Obsolete security patch, should no longer be needed. * Tue Nov 20 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.7-30mdk - DESTDIR support. * Sat Aug 25 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.7-29mdk - Sanity rebuild for 8.1. - Run make check. - s/Copyright/License/; * Tue May 15 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.7-28mdk - Minor cosmetic changes to the diff.1 manual page (chmou). * Thu Apr 19 2001 Vincent Danen <vdanen@mandrakesoft.com> 2.7-27mdk - put diff.1.bz2 back in since man-pages doesn't supply it anymore * Wed Jan 10 2001 Vincent Danen <vdanen@mandrakesoft.com> 2.7-26mdk - fix conflict with man-pages (diff.1.bz2) * Wed Jan 10 2001 Vincent Danen <vdanen@mandrakesoft.com> 2.7-25mdk - security fix for insecure tempfiles * Tue Dec 5 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.7-24mdk - Update manpages. - Add updated patch for -k options. * Fri Nov 17 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 2.7-23mdk - Add -k option to get a default suffix (Peter Samuelson <peter@cadcamlab.org>). * Tue Sep 05 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.7-22mdk - really fix the info page (pxlscks). * Fri Sep 1 2000 Pixel <pixel@mandrakesoft.com> 2.7-21mdk - fix info page * Wed Jul 26 2000 David BAUDENS <baudens@mandrakesoft.com> 2.7-20mdk - Human readable description * Wed Jul 26 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.7-19mdk - BM - major spec simplification * Thu Apr 4 2000 Denis Havlik <denis@mandrakesoft.com> 2.7-18mdk - new group: Development/Other - spechelper conform * Wed Oct 20 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Add defattr. * Wed Jun 23 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - listing man-pages in %files. * Fri Apr 9 1999 Bernhard Rosenkraenzer <bero@linux-mandrake.com> - Mandrake adaptions - bzip2 man/info pages - add de locale * Sun Mar 14 1999 Jeff Johnson <jbj@redhat.com> - add man pages (#831). - add %configure and Prefix. * Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> - build for glibc 2.1 * Tue Jul 14 1998 Bill Kawakami <billk@home.com> - included the four man pages stolen from Slackware * Tue May 05 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr * Sun May 03 1998 Cristian Gafton <gafton@redhat.com> - fixed spec file to reference/use the $RPM_BUILD_ROOT always * Wed Dec 31 1997 Otto Hammersmith <otto@redhat.com> - fixed where it looks for 'pr' (/usr/bin, rather than /bin) * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com> - added BuildRoot * Sun Sep 14 1997 Erik Troan <ewt@redhat.com> - uses install-info * Mon Jun 02 1997 Erik Troan <ewt@redhat.com> - built against glibc