# # spec file for package diffutils (Version 2.8.7) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: diffutils URL: http://www.gnu.org/software/diffutils/ License: GNU General Public License (GPL) Group: Productivity/Text/Utilities Provides: diff Obsoletes: diff Autoreqprov: on PreReq: %{install_info_prereq} Version: 2.8.7 Release: 38 Summary: GNU diff Utilities Source: diffutils-%{version}.tar.gz Patch1: diffutils-2.8.1-i18n-0.2.patch.gz Patch2: cmp-eof-dev-null.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The GNU diff utilities find differences between files. diff is used to make source code patches, for instance. Authors: -------- Paul Eggert David J. MacKenzie Richard Stallman Roland McGrath %prep %setup %patch1 -p1 cd src %patch2 %build autoreconf -fi touch man/*.1 ./configure CFLAGS="$RPM_OPT_FLAGS" \ --prefix=/usr --infodir=%{_infodir} --mandir=%{_mandir} make %install make install DESTDIR="$RPM_BUILD_ROOT" %find_lang %name %post %install_info --info-dir=%{_infodir} %{_infodir}/diff.info.gz %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/diff.info.gz %clean rm -rf $RPM_BUILD_ROOT %files -f %name.lang %defattr(-,root,root) %doc AUTHORS COPYING NEWS README THANKS /usr/bin/cmp /usr/bin/diff /usr/bin/diff3 /usr/bin/sdiff %doc %{_infodir}/diff.info*.gz %doc %{_mandir}/man1/*.gz %changelog -n diffutils * Mon Nov 27 2006 - rguenther@suse.de - removed help2man BuildRequires again. Instead prevent patches from invalidating the shipped manpages. * Thu Oct 05 2006 - mjancar@suse.cz - readd help2man to BuildRequires (needed to build manpages) * Fri Aug 11 2006 - schwab@suse.de - Update cmp patch [#198332]. * Mon Jul 24 2006 - rguenther@suse.de - diffutils does not need help2man. * Fri Mar 10 2006 - schwab@suse.de - Fix output of EOF message when stdout is redirected to /dev/null. * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Wed Sep 15 2004 - schwab@suse.de - Readd mbrtowc check [#45308]. * Tue May 04 2004 - schwab@suse.de - Update to diffutils 2.8.7. * Tue Apr 13 2004 - schwab@suse.de - Update to diffutils 2.8.6. * Sat Jan 10 2004 - adrian@suse.de - build as user * Wed Oct 15 2003 - schwab@suse.de - Update to diffutils 2.8.4. * Mon May 12 2003 - schwab@suse.de - Add %%defattr. * Thu Apr 24 2003 - ro@suse.de - fix install_info --delete call and move from preun to postun * Mon Apr 07 2003 - schwab@suse.de - Only delete info entries when removing last version. * Thu Feb 06 2003 - schwab@suse.de - Use %%install_info. * Thu Sep 05 2002 - schwab@suse.de - Avoid rebuilding manpage [#18930]. * Tue Aug 20 2002 - schwab@suse.de - Add i18n patches. * Mon Apr 08 2002 - schwab@suse.de - Update to diffutils 2.8.1. * Documentation fixes. * Thu Mar 28 2002 - schwab@suse.de - Update to diffutils 2.8. * Fri Oct 05 2001 - schwab@suse.de - Update to diffutils 2.7.2. * Sat Jan 13 2001 - schwab@suse.de - Fix last change to close resource leaks. * Sat Jan 13 2001 - draht@suse.de - tmpfile security problem fixed using mkstemp(). * Sun Dec 03 2000 - schwab@suse.de - diff: Fix a corner case in handling of directories. - sdiff: Fix reading of split lines. * Tue Oct 24 2000 - schwab@suse.de - Renamed from diff. * Fri Sep 08 2000 - schwab@suse.de - Switch to BuildRoot. - Add group tag. - Use %%{_infodir}. * Tue Jan 18 2000 - schwab@suse.de - /usr/info -> /usr/share/info * Mon Sep 13 1999 - bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Wed Sep 08 1999 - schwab@suse.de - specfile cleanup * Fri Dec 18 1998 - ro@suse.de - dont use m486 on alpha :-) * Thu Jan 02 1997 - florian@suse.de bug-fix for sdiff