Summary: A hexadecimal file viewer and editor Name: hexedit Version: 1.2.12 Release: 1 License: GPLv2+ Group: Applications/Editors URL: http://merd.sourceforge.net/pixel/%{name}.html Source0: http://merd.net/pixel/%{name}-%{version}.src.tgz Patch0: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description Hexedit shows a file both in ASCII and in hexadecimal. The file can be a device as the file is read a piece at a time. Hexedit can be used to modify the file and search through it. %prep %setup -q -n %{name} %patch0 %build ./configure \ --prefix=%{_prefix} make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make install mandir=${RPM_BUILD_ROOT}%{_mandir} bindir=${RPM_BUILD_ROOT}%{_bindir} /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) %doc hexedit-%{version}.lsm COPYING TODO Changes %{_bindir}/* %{_mandir}/man?/* /usr/bin/* %changelog * Sun May 25 2008 Michael Perzl - 1.2.12-1 - first version for AIX V5.1 and higher