-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathwiggle.spec
55 lines (43 loc) · 1.3 KB
/
wiggle.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Summary: A tool for applying patches with conflicts
Name: wiggle
Version: 1.3
Release: 1
License: GPL
Group: Development/Tools
URL: http://neil.brown.name/wiggle/
Source0: http://neil.brown.name/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 <[email protected]> 0.6-1
- Initial build.