]> git.pld-linux.org Git - packages/wdiff.git/blame - wdiff.spec
Initial
[packages/wdiff.git] / wdiff.spec
CommitLineData
9bfd72da
AF
1Summary: Word-based diff front end
2Name: wdiff
3Version: 1.2.1
4Release: 0.1
5License: GPL v2+
6Group: Applications/Text
7Source0: http://ftp.gnu.org/gnu/wdiff/%{name}-%{version}.tar.gz
8# Source0-md5: fc54e044b229a23c1cfa8e5689196f24
9URL: http://www.gnu.org/software/wdiff/wdiff.html
10BuildRequires: ncurses-devel
11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13%description
14The GNU wdiff program is a front end to diff for comparing files on a
15word per word basis. A word is anything between whitespace. This is
16useful for comparing two texts in which a few words have been changed
17and for which paragraphs have been refilled. It works by creating two
18temporary files, one word per line, and then executes diff on these
19files. It collects the diff output and uses it to produce a nicer
20display of word differences between the original files.
21
22%prep
23%setup -q
24
25%build
26%configure
27%{__make}
28
29%install
30rm -rf $RPM_BUILD_ROOT
31%{__make} install \
32 DESTDIR=$RPM_BUILD_ROOT
33
34%find_lang %{name} --all-name
35
36%clean
37rm -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.068655 seconds and 4 git commands to generate.