2007-01-16 00:29:12 +01:00
|
|
|
#
|
2011-04-04 16:37:30 +02:00
|
|
|
# spec file for package patchutils
|
2007-01-16 00:29:12 +01:00
|
|
|
#
|
2015-07-03 10:06:01 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:29:12 +01:00
|
|
|
#
|
2009-01-25 01:21:10 +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-03-18 06:52:38 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-16 00:29:12 +01:00
|
|
|
#
|
|
|
|
|
2013-03-09 20:33:17 +01:00
|
|
|
|
2007-03-18 06:52:38 +01:00
|
|
|
Name: patchutils
|
2015-07-03 10:06:01 +02:00
|
|
|
Version: 0.3.4
|
2011-12-02 20:02:46 +01:00
|
|
|
Release: 0
|
2007-03-18 06:52:38 +01:00
|
|
|
Summary: A Collection of Tools for Manipulating Patch Files
|
2013-03-09 20:33:17 +01:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/File utilities
|
2014-09-01 17:39:48 +02:00
|
|
|
Url: http://cyberelk.net/tim/software/patchutils/
|
|
|
|
Source0: http://cyberelk.net/tim/data/patchutils/stable/%{name}-%{version}.tar.xz
|
2015-07-03 10:06:01 +02:00
|
|
|
Source1: http://cyberelk.net/tim/data/patchutils/stable/%{name}-%{version}.tar.xz.sig
|
2014-09-01 17:39:48 +02:00
|
|
|
Patch0: %{name}-0.2.30-tailsyntax.diff
|
2010-04-20 02:26:55 +02:00
|
|
|
Patch2: rediff-hunk-init-fix.diff
|
2014-09-01 17:39:48 +02:00
|
|
|
BuildRequires: automake
|
|
|
|
%if 0%{?suse_version} < 1220
|
|
|
|
BuildRequires: xz
|
|
|
|
%endif
|
|
|
|
Requires: diffutils
|
|
|
|
Requires: patch
|
2007-03-18 06:52:38 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-16 00:29:12 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Patchutils contains a collection of tools for manipulating patch files:
|
|
|
|
interdiff, combinediff, filterdiff, fixcvsdiff, rediff, lsdiff, and
|
|
|
|
splitdiff. You can use interdiff to create an incremental patch between
|
|
|
|
two patches that are against a common source tree. Combinediff can be
|
|
|
|
used for creating a cumulative diff from two incremental patches.
|
|
|
|
Filterdiff is for extracting or excluding patches from a patch set
|
|
|
|
based on modified files matching shell wildcards. Lsdiff lists modified
|
|
|
|
files in a patch. Rediff corrects hand-edited patches.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2014-09-01 17:39:48 +02:00
|
|
|
%patch0 -p1
|
2010-04-20 02:26:55 +02:00
|
|
|
%patch2 -p1
|
2007-01-16 00:29:12 +01:00
|
|
|
|
|
|
|
%build
|
2014-09-01 17:39:48 +02:00
|
|
|
%configure
|
2010-01-12 14:48:26 +01:00
|
|
|
make %{?_smp_mflags}
|
2014-09-01 17:39:48 +02:00
|
|
|
|
|
|
|
%check
|
2007-01-16 00:29:12 +01:00
|
|
|
make check
|
|
|
|
|
|
|
|
%install
|
2014-09-01 17:39:48 +02:00
|
|
|
make DESTDIR=%{buildroot} install
|
2015-07-03 10:06:01 +02:00
|
|
|
install -m 0755 -d %{buildroot}%{_mandir}/man1/
|
|
|
|
install -m 0644 -t %{buildroot}%{_mandir}/man1/ doc/*.1
|
2007-01-16 00:29:12 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
|
2014-09-01 17:39:48 +02:00
|
|
|
%{_bindir}/*
|
2015-07-03 10:06:01 +02:00
|
|
|
%{_mandir}/man1/*.1*
|
2007-01-16 00:29:12 +01:00
|
|
|
|
2007-03-18 06:52:38 +01:00
|
|
|
%changelog
|