patchutils/patchutils.spec

143 lines
4.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package patchutils (Version 0.3.1)
#
# Copyright (c) 2009 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/
#
# norootforbuild
Name: patchutils
Url: http://cyberelk.net/tim/patchutils/
License: GPL v2 or later
Group: Productivity/File utilities
AutoReqProv: on
Version: 0.3.1
Release: 1
Summary: A Collection of Tools for Manipulating Patch Files
Source: %name-%version.tar.bz2
Patch: %name-0.2.30-tailsyntax.diff
Patch1: overrun.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
%build
autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=/usr --mandir=%_mandir
make
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
* Sat Jan 24 2009 sndirsch@suse.de
- patchutils 0.3.1
* new release
* Fri Jul 04 2008 sndirsch@suse.de
- patchutils 0.3.0
* new release
* Fri Mar 16 2007 dmueller@suse.de
- fix rediff to actually work
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 05 2005 mmj@suse.de
- Update to 0.2.31 which fixes severeal small bugs
* Wed Aug 11 2004 mmj@suse.de
- Update to 0.2.30 where some minor parsing bugs were fixed,
the documentation was clarified, and a new option was added to
lsdiff/filterdiff for selecting patches based on the order in
which they appear.
* Tue Jul 06 2004 mmj@suse.de
- Update to 0.2.29 including since 0.2.27:
o Some format conversion bugs were fixed.
o Fix no-newline handling
o Generate context format that GNU patch actually understands.
* Tue Mar 02 2004 mmj@suse.de
- Update to 0.2.27 including since 0.2.22:
o An option was added to lsdiff to treating empty files as
absent.
o The filterdiff and interdiff utilities now handle patches
containing embedded null characters.
o The dehtmldiff utility was improved slightly.
o A new filterdiff option for displaying patch filenames.
o A new splitdiff option to make it behave more like diffsplit.
o A new filterdiff option for removing timestamps.
o New grepdiff options -E and -f.
o Minor bugfixes
* Sat Jan 10 2004 adrian@suse.de
- add %%defattr
* Tue Apr 08 2003 ro@suse.de
- fix tail calling syntax in testsuite
* Wed Mar 26 2003 mmj@suse.de
- Update to 0.2.22:, including the following since 0.2.17:
<EFBFBD> New splitdiff option to split out every file-level patch, and
a new option was added to grepdiff to display matching hunks
<EFBFBD> A new tool was added for exchanging the order of two patches
<EFBFBD> Support for ISO 8601 timezones
<EFBFBD> Several bug fixes
<EFBFBD> Our patches are in mainline
* Mon Mar 03 2003 pthomas@suse.de
- Use execvp in rediff, fixes #22428.
- Fix configure.in for automake 1.6.
* Tue Sep 17 2002 uli@suse.de
- update -> 0.2.17 (support for conversion between unified and
context formats, new option (--annotate) added to filterdiff,
interdiff can now strip context lines from patches, recountdiff
and unwrapdiff tools added)
* Thu Jun 13 2002 uli@suse.de
- update -> 0.2.14 (hunk-level filtering was added to filterdiff)
* Fri May 10 2002 uli@suse.de
- update -> 0.2.13
* Fri Apr 19 2002 uli@suse.de
- fixed the fix
* Fri Apr 19 2002 uli@suse.de
- update -> 0.2.12pre1
- added support for different date formats
* Fri Feb 01 2002 uli@suse.de
- update -> 0.2.8 (adds grepdiff, bugfixes)
* Tue Dec 04 2001 uli@suse.de
- update -> 0.2.5 (bugs in lsdiff and combinediff fixed)
* Wed Nov 28 2001 uli@suse.de
- initial package