]> git.neil.brown.name Git - wiggle.git/commitdiff
Add wiggle.spec and fix typos in ANNOUNCE
authorNeil Brown <neilb@suse.de>
Sun, 21 May 2006 23:16:47 +0000 (09:16 +1000)
committerNeil Brown <neilb@suse.de>
Sun, 21 May 2006 23:16:47 +0000 (09:16 +1000)
ANNOUNCE
wiggle.spec [new file with mode: 0644]

index 5ed35c8141531bc646b5c139f7c8263576638033..d84e9355d449e65cfcee3cc6e8eed2bac716f69f 100644 (file)
--- 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 (file)
index 0000000..6b398ff
--- /dev/null
@@ -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 <vonbrand@inf.utfsm.cl> 0.6-1 
+- Initial build.
+
+