From: Neil Brown Date: Sun, 21 May 2006 23:16:47 +0000 (+1000) Subject: Add wiggle.spec and fix typos in ANNOUNCE X-Git-Tag: v0.7~51 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=7a69038c359479c1b20beb019af055ed8c0318de;p=wiggle.git Add wiggle.spec and fix typos in ANNOUNCE --- diff --git a/ANNOUNCE b/ANNOUNCE index 5ed35c8..d84e935 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,4 +1,4 @@ -ANNOUNCE: wiggle - a tools for applying patches with conflicts +ANNOUNCE: wiggle - a tool for applying patches with conflicts I am pleased to announce the first public release of 'wiggle'. @@ -7,7 +7,7 @@ apply due to conflicting changes in the original. Wiggle will always apply all changes in the patch to the original. If it cannot find a way to cleanly apply a patch, it inserts it -in the original in a manner similar to 'merge', and report an +in the original in a manner similar to 'merge', and reports an unresolvable conflict. Such a conflict will look like: <<<<<<< @@ -19,9 +19,9 @@ Some text that the patch changes Some text that is the result of the patch >>>>>>> -with the meaning that the "text that the patch -changes" was expected somewhere in the "text from the original -file" and should be replaced with "the result of the patch". +with the meaning that the "text that the patch changes" +was expected somewhere in the "text from the original file" +and should be replaced with "the result of the patch". wiggle analyses the file and the patch in terms of words rather than whole lines and so is able to find matches that patch is diff --git a/wiggle.spec b/wiggle.spec new file mode 100644 index 0000000..6b398ff --- /dev/null +++ b/wiggle.spec @@ -0,0 +1,55 @@ +Summary: A tool for applying patches with conflicts +Name: wiggle +Version: 0.6 +Release: 1 +License: GPL +Group: Development/Tools +URL: http://www.cse.unsw.edu.au/~neilb/source/wiggle/ +Source0: http://www.cse.unsw.edu.au/~neilb/source/wiggle/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot + +%description +Wiggle is a program for applying patches that 'patch' cannot +apply due to conflicting changes in the original. + +Wiggle will always apply all changes in the patch to the original. +If it cannot find a way to cleanly apply a patch, it inserts it +in the original in a manner similar to 'merge', and report an +unresolvable conflict. + +%prep +%setup -q + +%build +make BINDIR=/usr/bin \ + MANDIR=%{_mandir} MAN1DIR=%{_mandir}/man1 MAN5DIR=%{_mandir}/man5 \ + CFLAGS="$RPM_OPT_FLAGS" \ + wiggle + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/usr/bin +mkdir -p $RPM_BUILD_ROOT%{_mandir}/man{1,5} + +make BINDIR=$RPM_BUILD_ROOT/usr/bin \ + MANDIR=$RPM_BUILD_ROOT%{_mandir} \ + MAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \ + MAN5DIR=$RPM_BUILD_ROOT%{_mandir}/man5 \ + install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +/usr/bin/wiggle +%{_mandir}/man1/wiggle.1* +%doc ANNOUNCE TODO notes +%doc p p.help + + +%changelog +* Thu May 22 2003 Horst von Brand 0.6-1 +- Initial build. + +