2006-12-19 00:15:43 +01:00
|
|
|
#
|
2011-08-15 12:30:24 +02:00
|
|
|
# spec file for package diffutils
|
2006-12-19 00:15:43 +01:00
|
|
|
#
|
2015-07-06 13:37:11 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX 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/
|
|
|
|
#
|
|
|
|
|
2012-07-17 21:21:13 +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/
|
2011-08-13 03:43:18 +02:00
|
|
|
Provides: diff
|
|
|
|
Obsoletes: diff
|
2006-12-19 00:15:43 +01:00
|
|
|
PreReq: %{install_info_prereq}
|
2013-04-05 11:03:58 +02:00
|
|
|
Version: 3.3
|
2012-02-28 09:47:36 +01:00
|
|
|
Release: 0
|
2006-12-19 00:15:43 +01:00
|
|
|
Summary: GNU diff Utilities
|
2013-02-03 14:42:41 +01:00
|
|
|
License: GFDL-1.2 and GPL-3.0+
|
2012-02-28 09:47:36 +01:00
|
|
|
Group: Productivity/Text/Utilities
|
2013-03-25 15:36:13 +01:00
|
|
|
Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
2013-06-19 17:44:35 +02:00
|
|
|
Source1: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
|
|
|
|
# http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=diffutils
|
|
|
|
Source2: %name.keyring
|
2015-07-06 13:37:11 +02:00
|
|
|
Patch0: gnulib-perl522.patch
|
2006-12-19 00:15:43 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-06-21 09:23:12 +02:00
|
|
|
# will be check by source service
|
|
|
|
#BuildRequires: gpg-offline
|
2011-08-13 03:43:18 +02:00
|
|
|
BuildRequires: xz
|
2006-12-19 00:15:43 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The GNU diff utilities find differences between files. diff is used to
|
|
|
|
make source code patches, for instance.
|
|
|
|
|
|
|
|
%prep
|
2011-08-13 03:43:18 +02:00
|
|
|
%setup -q
|
2015-07-06 13:37:11 +02:00
|
|
|
%patch0 -p1
|
2006-12-19 00:15:43 +01:00
|
|
|
|
|
|
|
%build
|
2015-01-05 10:10:56 +01:00
|
|
|
export CFLAGS="%optflags -fPIE"
|
|
|
|
export LDFLAGS="-pie"
|
2011-08-13 03:43:18 +02:00
|
|
|
%configure
|
2010-07-23 22:06:30 +02:00
|
|
|
make %{?_smp_mflags}
|
2006-12-19 00:15:43 +01:00
|
|
|
|
2013-12-06 13:28:40 +01:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
2006-12-19 00:15:43 +01:00
|
|
|
%install
|
2011-08-13 03:43:18 +02:00
|
|
|
%makeinstall
|
|
|
|
gzip -9 %{buildroot}%{_infodir}/%{name}.info
|
2006-12-19 00:15:43 +01:00
|
|
|
|
|
|
|
%post
|
2011-08-13 03:43:18 +02:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
2006-12-19 00:15:43 +01:00
|
|
|
|
|
|
|
%postun
|
2011-08-13 03:43:18 +02:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
2006-12-19 00:15:43 +01:00
|
|
|
|
2013-04-05 11:03:58 +02:00
|
|
|
%files
|
2006-12-19 00:15:43 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING NEWS README THANKS
|
2011-08-13 03:43:18 +02:00
|
|
|
%{_bindir}/cmp
|
|
|
|
%{_bindir}/diff
|
|
|
|
%{_bindir}/diff3
|
|
|
|
%{_bindir}/sdiff
|
|
|
|
%doc %{_infodir}/%{name}.info.gz
|
2006-12-19 00:15:43 +01:00
|
|
|
%doc %{_mandir}/man1/*.gz
|
|
|
|
|
2008-01-12 02:43:49 +01:00
|
|
|
%changelog
|