1 |
%define beta_version 5 |
2 |
%define rel 10 |
3 |
|
4 |
Name: vbindiff |
5 |
Version: 3.0 |
6 |
Release: %mkrel -c %{rel} beta%{beta_version} |
7 |
Summary: Visual binary diff |
8 |
Group: File tools |
9 |
License: GPLv2+ |
10 |
URL: http://www.cjmweb.net/%{name}/ |
11 |
# https://github.com/madsen/vbindiff |
12 |
Source0: http://www.cjmweb.net/%{name}/%{name}-%{version}_beta%{beta_version}.tar.gz |
13 |
BuildRequires: pkgconfig(ncursesw) |
14 |
|
15 |
%description |
16 |
VBinDiff (Visual Binary Diff) displays files in hexadecimal |
17 |
and ASCII (or EBCDIC). It can also display two files at once, |
18 |
and highlight the differences between them. |
19 |
Unlike diff, it works well with large files (up to 4 GB). |
20 |
|
21 |
VBinDiff was inspired by the Compare Files function |
22 |
of the ProSel utilities by Glen Bredon, for the Apple II. |
23 |
|
24 |
The single-file mode was inspired by the LIST utility |
25 |
of 4DOS and friends. While less provides a good line-oriented display, |
26 |
it has no equivalent to LIST's hex display. |
27 |
|
28 |
%prep |
29 |
%setup -q -n %{name}-%{version}_beta%{beta_version} |
30 |
|
31 |
%build |
32 |
%configure LIBS="-lncursesw -lpanelw" |
33 |
%make_build |
34 |
|
35 |
%install |
36 |
%make_install |
37 |
|
38 |
%files |
39 |
%doc AUTHORS NEWS README README.PuTTY putty.src |
40 |
%{_bindir}/%{name} |
41 |
%{_datadir}/man/man?/%{name}* |