Summary: Ncurses based hexadecimal editor with a diff mode Name: dhex Version: 0.68 Release: 2%{?dist} License: GPLv2+ Group: Applications/Editors URL: http://www.dettus.net/dhex/ Source: http://www.dettus.net/dhex/%{name}_%{version}.tar.gz Patch0: dhex-0.68-build-fix.patch BuildRequires: ncurses-devel %description DHEX is a more than just another hex editor: It includes a diff mode, which can be used to easily and conveniently compare two binary files. Since it is based on ncurses and is themeable, it can run on any number of systems and scenarios. With its utilization of search logs, it is possible to track changes in different iterations of files easily. %prep %setup -q -n %{name}_%{version} %patch0 -p1 -b .build-fix %build make %{?_smp_mflags} CFLAGS="%{optflags}" %{?__global_ldflags: LDFLAGS="%{__global_ldflags}"} %install install -dD %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man{1,5} make %{?_smp_mflags} DESTDIR=%{buildroot} BINDIR=%{_bindir} \ MANDIR=%{_mandir} install %files %doc README.txt gpl.txt todo.txt %{_bindir}/* %{_mandir}/*/* %changelog * Fri Jun 20 2014 Jaroslav Škarvada - 0.68-2 - Various fixes according to review * Fri Jun 20 2014 Jaroslav Škarvada - 0.68-1 - Initial release