]> git.pld-linux.org Git - packages/wdiff.git/blob - wdiff.spec
- updated to 1.2.2
[packages/wdiff.git] / wdiff.spec
1 Summary:        Word-based diff front end
2 Name:           wdiff
3 Version:        1.2.2
4 Release:        1
5 License:        GPL v2+
6 Group:          Applications/Text
7 Source0:        http://ftp.gnu.org/gnu/wdiff/%{name}-%{version}.tar.gz
8 # Source0-md5:  1c6ddd1f3106139ff9fe00e934df715f
9 URL:            http://www.gnu.org/software/wdiff/wdiff.html
10 BuildRequires:  ncurses-devel
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
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.
21
22 %prep
23 %setup -q
24
25 %build
26 %configure
27 %{__make}
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 %{__make} install \
32         DESTDIR=$RPM_BUILD_ROOT
33
34 %find_lang %{name} --all-name
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %post
40 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
41
42 %postun
43 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
44
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*
This page took 0.155235 seconds and 4 git commands to generate.