1 Summary: Word-based diff front end
6 Group: Applications/Text
7 Source0: http://ftp.gnu.org/gnu/wdiff/%{name}-%{version}.tar.gz
8 # Source0-md5: fc54e044b229a23c1cfa8e5689196f24
9 URL: http://www.gnu.org/software/wdiff/wdiff.html
10 BuildRequires: ncurses-devel
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 The GNU wdiff program is a front end to diff for comparing files on a
15 word per word basis. A word is anything between whitespace. This is
16 useful for comparing two texts in which a few words have been changed
17 and for which paragraphs have been refilled. It works by creating two
18 temporary files, one word per line, and then executes diff on these
19 files. It collects the diff output and uses it to produce a nicer
20 display of word differences between the original files.
30 rm -rf $RPM_BUILD_ROOT
32 DESTDIR=$RPM_BUILD_ROOT
34 %find_lang %{name} --all-name
37 rm -rf $RPM_BUILD_ROOT
40 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
43 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
45 %files -f %{name}.lang
46 %defattr(644,root,root,755)
47 %doc AUTHORS ChangeLog NEWS README THANKS TODO
48 %attr(755,root,root) %{_bindir}/wdiff
49 %{_infodir}/wdiff.info*
50 %{_mandir}/man1/wdiff.1*