2006-12-19 00:17:23 +01:00
|
|
|
#
|
2009-10-03 03:35:36 +02:00
|
|
|
# spec file for package patch (Version 2.5.9.122)
|
2006-12-19 00:17:23 +01:00
|
|
|
#
|
2009-02-04 00:18:23 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:17:23 +01:00
|
|
|
#
|
2009-02-04 00:18:23 +01: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.
|
|
|
|
|
2007-11-02 10:40:24 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2006-12-19 00:17:23 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-04-02 18:49:52 +02:00
|
|
|
Url: ftp://alpha.gnu.org/gnu/diffutils/
|
2009-10-03 03:35:36 +02:00
|
|
|
%define ver 2.5.9-122-gba37782
|
2008-04-24 01:49:14 +02:00
|
|
|
|
2007-11-02 10:40:24 +01:00
|
|
|
Name: patch
|
2009-04-06 10:32:20 +02:00
|
|
|
License: GPL v3 or later
|
2007-11-02 10:40:24 +01:00
|
|
|
Group: Productivity/Text/Utilities
|
|
|
|
AutoReqProv: on
|
2009-10-03 03:35:36 +02:00
|
|
|
Version: 2.5.9.122
|
2009-04-02 18:49:52 +02:00
|
|
|
Release: 1
|
2007-11-02 10:40:24 +01:00
|
|
|
Summary: GNU patch
|
2009-06-20 05:11:45 +02:00
|
|
|
Source: ftp://alpha.gnu.org/gnu/patch/patch-%ver.tar.bz2
|
2009-10-03 03:35:36 +02:00
|
|
|
Patch: unified-reject-files-compat.diff
|
2007-11-02 10:40:24 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2006-12-19 00:17:23 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The GNU patch program is used to apply diffs between original and
|
|
|
|
changed files (generated by the diff command) to the original files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Larry Wall
|
|
|
|
Paul Eggert
|
|
|
|
|
|
|
|
%prep
|
2009-04-02 18:49:52 +02:00
|
|
|
%setup -n patch-%ver
|
2009-10-03 03:35:36 +02:00
|
|
|
%patch -p1
|
2006-12-19 00:17:23 +01:00
|
|
|
|
|
|
|
%build
|
2009-04-02 18:49:52 +02:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS -Wall -O2 -pipe" \
|
|
|
|
./configure --prefix=%{_prefix}
|
2009-04-07 11:58:41 +02:00
|
|
|
make
|
2009-04-02 18:49:52 +02:00
|
|
|
|
|
|
|
%check
|
|
|
|
make check
|
2006-12-19 00:17:23 +01:00
|
|
|
|
|
|
|
%install
|
2009-04-02 18:49:52 +02:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2006-12-19 00:17:23 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc NEWS README
|
|
|
|
/usr/bin/patch
|
|
|
|
%doc %{_mandir}/man1/patch.1.gz
|
2008-04-24 01:49:14 +02:00
|
|
|
|
2007-11-02 10:40:24 +01:00
|
|
|
%changelog
|