forked from pool/patchutils
Stefan Dirsch
f9342e7d42
fix build with autmake-1.13, convert changes to utf-8 OBS-URL: https://build.opensuse.org/request/show/158126 OBS-URL: https://build.opensuse.org/package/show/devel:tools/patchutils?expand=0&rev=13
78 lines
2.4 KiB
RPMSpec
78 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package patchutils
|
|
#
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: patchutils
|
|
Url: http://cyberelk.net/tim/patchutils/
|
|
Requires: diffutils
|
|
Requires: patch
|
|
BuildRequires: automake
|
|
Version: 0.3.2
|
|
Release: 0
|
|
Summary: A Collection of Tools for Manipulating Patch Files
|
|
License: GPL-2.0+
|
|
Group: Productivity/File utilities
|
|
Source: http://cyberelk.net/tim/data/patchutils/stable/patchutils-%{version}.tar.bz2
|
|
Patch: %name-0.2.30-tailsyntax.diff
|
|
Patch1: overrun.diff
|
|
Patch2: rediff-hunk-init-fix.diff
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Tim Waugh <twaugh@redhat.com>
|
|
Marko Kreen <marko@l-t.ee>
|
|
Matthias Hanisch <matze@camline.com>
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch -p1
|
|
%patch1
|
|
%patch2 -p1
|
|
# new autoconf 1.13 removed old macro
|
|
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
|
|
|
|
%build
|
|
autoreconf -fi
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
./configure --prefix=/usr --mandir=%_mandir
|
|
make %{?_smp_mflags}
|
|
make check
|
|
|
|
%install
|
|
make DESTDIR=%buildroot install
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
|
|
/usr/bin/*
|
|
%_mandir/man1/*.1.gz
|
|
|
|
%changelog
|