2006-12-19 00:15:43 +01:00
|
|
|
#
|
2010-09-20 16:03:33 +02:00
|
|
|
# spec file for package diffutils (Version 2.8.7)
|
2006-12-19 00:15:43 +01:00
|
|
|
#
|
2010-02-13 16:24:36 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:15:43 +01:00
|
|
|
#
|
2008-10-23 04:29:27 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-19 00:15:43 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-10-23 04:29:27 +02:00
|
|
|
|
2006-12-19 00:15:43 +01:00
|
|
|
Name: diffutils
|
2008-01-12 02:43:49 +01:00
|
|
|
Url: http://www.gnu.org/software/diffutils/
|
2009-12-16 13:17:04 +01:00
|
|
|
License: GFDLv1.2 ; GPLv3+
|
2006-12-19 00:15:43 +01:00
|
|
|
Group: Productivity/Text/Utilities
|
2010-09-20 16:03:33 +02:00
|
|
|
Provides: diff
|
|
|
|
Obsoletes: diff
|
|
|
|
AutoReqProv: on
|
2006-12-19 00:15:43 +01:00
|
|
|
PreReq: %{install_info_prereq}
|
2010-09-20 16:03:33 +02:00
|
|
|
Version: 2.8.7
|
|
|
|
Release: 146
|
2006-12-19 00:15:43 +01:00
|
|
|
Summary: GNU diff Utilities
|
2010-09-20 16:03:33 +02:00
|
|
|
Source: diffutils-%{version}-cvs.tar.bz2
|
|
|
|
Patch1: diffutils-2.8.1-i18n-0.2.patch
|
|
|
|
Patch2: diffutils-2.8.7-autoconf.patch
|
2006-12-19 00:15:43 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
The GNU diff utilities find differences between files. diff is used to
|
|
|
|
make source code patches, for instance.
|
|
|
|
|
|
|
|
%prep
|
2010-09-20 16:03:33 +02:00
|
|
|
%setup -q -n %{name}-%{version}-cvs
|
|
|
|
%patch1 -p1
|
|
|
|
%patch2
|
2006-12-19 00:15:43 +01:00
|
|
|
|
|
|
|
%build
|
2010-09-20 16:03:33 +02:00
|
|
|
AUTOPOINT=true autoreconf -fi
|
|
|
|
touch man/*.1
|
|
|
|
./configure CFLAGS="$RPM_OPT_FLAGS" \
|
|
|
|
--prefix=/usr --infodir=%{_infodir} --mandir=%{_mandir}
|
2010-07-23 22:06:30 +02:00
|
|
|
make %{?_smp_mflags}
|
2006-12-19 00:15:43 +01:00
|
|
|
|
|
|
|
%install
|
2010-09-20 16:03:33 +02:00
|
|
|
make install DESTDIR="$RPM_BUILD_ROOT"
|
2006-12-19 00:15:43 +01:00
|
|
|
%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
|
2010-09-20 16:03:33 +02:00
|
|
|
/usr/bin/cmp
|
|
|
|
/usr/bin/diff
|
|
|
|
/usr/bin/diff3
|
|
|
|
/usr/bin/sdiff
|
2006-12-19 00:15:43 +01:00
|
|
|
%doc %{_infodir}/diff.info*.gz
|
|
|
|
%doc %{_mandir}/man1/*.gz
|
|
|
|
|
2008-01-12 02:43:49 +01:00
|
|
|
%changelog
|