3
0
forked from pool/diffutils
diffutils/diffutils.spec

154 lines
4.7 KiB
RPMSpec

#
# spec file for package diffutils (Version 2.8.7)
#
# Copyright (c) 2008 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: GPL v2 or later
Group: Productivity/Text/Utilities
Provides: diff
Obsoletes: diff
AutoReqProv: on
PreReq: %{install_info_prereq}
Version: 2.8.7
Release: 92
Summary: GNU diff Utilities
Source: diffutils-%{version}-cvs.tar.bz2
Patch1: diffutils-2.8.1-i18n-0.2.patch
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 <eggert@twinsun.com>
David J. MacKenzie <djm@gnu.org>
Richard Stallman <rms@gnu.org>
Roland McGrath <roland@gnu.org>
%prep
%setup -q -n %{name}-%{version}-cvs
%patch1 -p1
%build
AUTOPOINT=true 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
* Thu Jan 10 2008 - schwab@suse.de
- Update to head of trunk.
* New diff option --suppress-blank-empty.
* Bring back support for `diff -NUM', where NUM is a number,
even when conforming to POSIX 1003.1-2001. This change reverts to
the behavior of GNU diff 2.7 and earlier. This is a change only
when conforming to POSIX 1003.1-2001; there is no effect when
conforming to older POSIX versions.
This change is in response to decisions taken in the January 2005
Austin Group standardization meeting. For more details, please see
"Utility Syntax Guidelines" in the Minutes of the January 2005
Meeting <http://www.opengroup.org/austin/docs/austin_239.html>.
* sdiff now understands '1' and '2' as synonyms for 'l' and 'r'.
* 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