]> git.pld-linux.org Git - SPECS.git/blob - hexdiff.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / hexdiff.spec
1 Summary:        Visual diff for binary files
2 Summary(pl.UTF-8):      Odpowiednik diffa dla plików binarnych
3 Name:           hexdiff
4 Version:        0.0.50
5 Release:        4
6 License:        distributable
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)
15
16 %description
17 Visuel Hexdiff displays binary files differences in hex and ASCII.
18
19 %description -l pl.UTF-8
20 Visuel Hexdiff pokazuje szesnastkowo oraz tekstowo różnice pomiędzy
21 plikami.
22
23 %prep
24 %setup -q -n HexDiff
25
26 %build
27 %{__make} \
28         COMP="%{__cc}" \
29         COPT="%{rpmcppflags} %{rpmcflags} -I/usr/include/ncurses -DVERSION=\\\"%{version}\\\" -DTRACE=0 -ansi"
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/{,fr}/man1}
34
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
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
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*
This page took 0.599973 seconds and 3 git commands to generate.