Summary: Hexeditor with diff-mode for ncurses Name: dhex Version: 0.68 Release: 1 License: GPLv2 Group: Development/Tools URL: http://www.dettus.net/dhex/ Source0: http://www.dettus.net/dhex/%{name}_%{version}.tar.gz Patch0: %{name}_%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: ncurses-devel >= 5.6 Requires: ncurses >= 5.6 %description Hexeditor with diff-mode for ncurses. %prep %setup -q -n %{name}_%{version} %patch0 %build make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_bindir} mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man5 make install DESTDIR=${RPM_BUILD_ROOT}%{_prefix} /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %{_bindir}/* %{_mandir}/man?/* /usr/bin/* %changelog * Mon Sep 10 2012 Michael Perzl - 0.68-1 - updated to version 0.68 * Tue Feb 21 2012 Michael Perzl - 0.66-1 - updated to version 0.66 * Tue Aug 09 2011 Michael Perzl - 0.65-1 - first version for AIX V5.1 and higher