2024-01-06 08:26:21 +01:00
|
|
|
|
Name: patchutils
|
2024-01-06 08:26:21 +01:00
|
|
|
|
Version: 0.4.2
|
2024-01-06 08:26:22 +01:00
|
|
|
|
Release: 2mamba
|
2024-01-06 08:26:21 +01:00
|
|
|
|
Summary: A small collection of programs that operate on patch files
|
|
|
|
|
Group: Applications/Development
|
|
|
|
|
Vendor: openmamba
|
|
|
|
|
Distribution: openmamba
|
2024-01-06 08:26:22 +01:00
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 08:26:21 +01:00
|
|
|
|
URL: http://cyberelk.net/tim/software/patchutils
|
|
|
|
|
Source: http://cyberelk.net/tim/data/patchutils/stable/patchutils-%{version}.tar.xz
|
|
|
|
|
Patch: %{name}-0.2.31-docbook.patch
|
|
|
|
|
License: GPL
|
2024-01-06 08:26:21 +01:00
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 08:26:22 +01:00
|
|
|
|
BuildRequires: libpcre2-devel
|
2024-01-06 08:26:21 +01:00
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 08:26:22 +01:00
|
|
|
|
BuildRequires: xmlto
|
|
|
|
|
BuildRequires: libpcre2-devel >= 10.37
|
2024-01-06 08:26:21 +01:00
|
|
|
|
Requires: diffutils
|
|
|
|
|
Requires: patch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Patchutils is a small collection of programs that operate on patch files:
|
|
|
|
|
* interdiff generates an incremental patch from two patches against a common source
|
|
|
|
|
* combinediff generates a single patch from two incremental patches, allowing you to merge patches together
|
|
|
|
|
* filterdiff will select the portions of a patch file that apply to files matching (or, alternatively, not matching) a shell wildcard
|
|
|
|
|
* fixcvsdiff corrects the output of ‘cvs diff’
|
|
|
|
|
* rediff corrects hand-edited patches, by comparing the original patch with the modified one and adjusting the offsets and counts
|
|
|
|
|
* lsdiff displays a short listing of affected files in a patch file, along with (optionally) the line numbers of the start of each patch
|
|
|
|
|
* splitdiff separates out patches from a patch file so that each new patch file only alters any given file once
|
|
|
|
|
* grepdiff displays a list of the files modified by a patch where the patch contains a given regular expression
|
|
|
|
|
* recountdiff fixes up counts and offsets in a unified diff
|
|
|
|
|
* unwrapdiff fixes word-wrapped unified diffs.
|
|
|
|
|
|
2024-01-06 08:26:21 +01:00
|
|
|
|
%debug_package
|
|
|
|
|
|
2024-01-06 08:26:21 +01:00
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
#%patch0 -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
touch doc/patchutils.xml
|
|
|
|
|
%configure
|
2024-01-06 08:26:21 +01:00
|
|
|
|
%make
|
|
|
|
|
#check
|
2024-01-06 08:26:21 +01:00
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 08:26:21 +01:00
|
|
|
|
%{_bindir}/combinediff
|
|
|
|
|
%{_bindir}/dehtmldiff
|
|
|
|
|
%{_bindir}/editdiff
|
|
|
|
|
%{_bindir}/espdiff
|
|
|
|
|
%{_bindir}/filterdiff
|
|
|
|
|
%{_bindir}/fixcvsdiff
|
|
|
|
|
%{_bindir}/flipdiff
|
2024-01-06 08:26:21 +01:00
|
|
|
|
%{_bindir}/gitdiff
|
|
|
|
|
%{_bindir}/gitdiffview
|
2024-01-06 08:26:21 +01:00
|
|
|
|
%{_bindir}/grepdiff
|
|
|
|
|
%{_bindir}/interdiff
|
|
|
|
|
%{_bindir}/lsdiff
|
2024-01-06 08:26:21 +01:00
|
|
|
|
%{_bindir}/patchview
|
2024-01-06 08:26:21 +01:00
|
|
|
|
%{_bindir}/recountdiff
|
|
|
|
|
%{_bindir}/rediff
|
|
|
|
|
%{_bindir}/splitdiff
|
2024-01-06 08:26:21 +01:00
|
|
|
|
%{_bindir}/svndiff
|
|
|
|
|
%{_bindir}/svndiffview
|
2024-01-06 08:26:21 +01:00
|
|
|
|
%{_bindir}/unwrapdiff
|
|
|
|
|
%{_mandir}/man1/combinediff.1*
|
|
|
|
|
%{_mandir}/man1/dehtmldiff.1*
|
|
|
|
|
%{_mandir}/man1/editdiff.1*
|
|
|
|
|
%{_mandir}/man1/espdiff.1*
|
|
|
|
|
%{_mandir}/man1/filterdiff.1*
|
|
|
|
|
%{_mandir}/man1/fixcvsdiff.1*
|
|
|
|
|
%{_mandir}/man1/flipdiff.1*
|
|
|
|
|
%{_mandir}/man1/grepdiff.1*
|
|
|
|
|
%{_mandir}/man1/interdiff.1*
|
|
|
|
|
%{_mandir}/man1/lsdiff.1*
|
2024-01-06 08:26:21 +01:00
|
|
|
|
%{_mandir}/man1/patchview.1*
|
2024-01-06 08:26:21 +01:00
|
|
|
|
%{_mandir}/man1/recountdiff.1*
|
|
|
|
|
%{_mandir}/man1/rediff.1*
|
|
|
|
|
%{_mandir}/man1/splitdiff.1*
|
|
|
|
|
%{_mandir}/man1/unwrapdiff.1*
|
2024-01-06 08:26:21 +01:00
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 08:26:22 +01:00
|
|
|
|
* Mon Jun 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.2-2mamba
|
|
|
|
|
- rebuilt with libpcre2 10.37
|
|
|
|
|
|
2024-01-06 08:26:21 +01:00
|
|
|
|
* Wed Sep 09 2020 Automatic Build System <autodist@mambasoft.it> 0.4.2-1mamba
|
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
2024-01-06 08:26:21 +01:00
|
|
|
|
* Fri Jul 26 2019 Automatic Build System <autodist@mambasoft.it> 0.3.4-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 08:26:21 +01:00
|
|
|
|
* Sat Apr 13 2013 Automatic Build System <autodist@mambasoft.it> 0.3.3-1mamba
|
|
|
|
|
- update to 0.3.3
|
|
|
|
|
|
|
|
|
|
* Sat Feb 12 2011 Automatic Build System <autodist@mambasoft.it> 0.3.2-1mamba
|
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
|
|
* Fri Jan 30 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.1-1mamba
|
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
|
|
* Thu Oct 02 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0-1mamba
|
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
|
|
* Fri Jun 08 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.2.31-1mamba
|
|
|
|
|
- package created by autospec
|
2024-01-06 08:26:21 +01:00
|
|
|
|
-bash: line 0: echo: write error: No space left on device
|