1 Summary: Visual diff for binary files
2 Summary(pl.UTF-8): Odpowiednik diffa dla plików binarnych
7 Group: Applications/Text
8 Source0: http://tboudet.free.fr/hexdiff/%{name}.tar.gz
9 # Source0-md5: 68dbf4c610f4fd1817401bcf6c671b71
10 Source1: http://manpages.ubuntu.com/manpages.gz/vivid/man1/hexdiff.1.gz
11 # Source1-md5: 33bc4cc881971bd3f5d59ae42f9ab415
12 URL: http://tboudet.free.fr/hexdiff/
13 BuildRequires: ncurses-devel >= 5.0
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Visuel Hexdiff displays binary files differences in hex and ASCII.
19 %description -l pl.UTF-8
20 Visuel Hexdiff pokazuje szesnastkowo oraz tekstowo różnice pomiędzy
29 COPT="%{rpmcppflags} %{rpmcflags} -I/usr/include/ncurses -DVERSION=\\\"%{version}\\\" -DTRACE=0 -ansi"
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/{,fr}/man1}
35 install %{name} $RPM_BUILD_ROOT%{_bindir}
36 zcat %{SOURCE1} > $RPM_BUILD_ROOT%{_mandir}/man1/hexdiff.1
37 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/fr/man1
40 rm -rf $RPM_BUILD_ROOT
43 %defattr(644,root,root,755)
44 %doc BUGS CHANGES README TODO
45 %attr(755,root,root) %{_bindir}/hexdiff
46 %{_mandir}/man1/hexdiff.1*
47 %{_mandir}/fr/man1/hexdiff.1*