Summary: Console hex viewer/editor with disassembler Name: beye Version: 6.1.1 %global baserelease 0.1 License: GPL-2.0-only Group: Applications/Editors URL: https://github.com/widgetii/beye # was: http://beye.sourceforge.net/ # was http://biew.sourceforge.net/ # fork https://github.com/widgetii/beye %global gituser widgetii %global gitname beye %global gitdate 20211007 %global commit a0679f8263f09869e4e2826619d0310a04649ca0 %global shortcommit %(c=%{commit}; echo ${c:0:7}) # git snapshot Release: %{baserelease}.%{gitdate}.git%{shortcommit}%{?dist} Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-git%{gitdate}-%{shortcommit}.tar.gz # Enable building with the gpm console support Patch0: beye-enable-gpm.patch # http://downloads.sourceforge.net/beye/%%{name}-%%{real_version}-src.tar.bz2 # http://dl.sf.net/beye/biew-%%{real_version}-src.tar.bz2 ExcludeArch: sparc sparc64 BuildRequires: perl-interpreter BuildRequires: make BuildRequires: gcc-c++ BuildRequires: gpm-devel BuildRequires: ncurses-devel BuildRequires: slang-devel BuildRequires: automake BuildRequires: autoconf %description BIEW (Binary vIEW) is a free, portable, advanced file viewer with built-in editor for binary, hexadecimal and disassembler modes. It contains a highlight PentiumIII/K7 Athlon/Cyrix-M2 disassembler, full preview of MZ, NE, PE, LE, LX, DOS.SYS, NLM, ELF, a.out, arch, coff32, PharLap, rdoff executable formats, a code guider, and lot of other features, making it invaluable for examining binary code. %prep %autosetup -n %{name}-%{commit} ### Change default prefix to %%{_prefix} perl -pi.orig -e 's|/usr/local|%{_prefix}|' src/libbeye/osdep/unix/os_dep.cpp %build ./bootstrap export LDFLAGS="$LDFLAGS -lgpm" %configure --enable-ncurses --enable-iconv --enable-debug --enable-slang %make_build %install %make_install mkdir -p %{buildroot}%{_datadir}/beye/ %files %license doc/license.en doc/license.ru %doc doc/*.en doc/*.txt %{_bindir}/beye %{_datadir}/beye/ %changelog * Sat Nov 04 2023 Michal Ambroz - 6.1.1-0.1 - switch to fork https://github.com/widgetii/beye - Updated to release 6.1.1.pre * Thu Oct 29 2009 Dag Wieers - 6.0.2-1 - Updated to release 6.0.2. * Thu Oct 22 2009 Dag Wieers - 6.0.1-1 - Updated to release 6.0.1. * Thu Sep 24 2009 Dag Wieers - 6.0.0-1 - Updated to release 6.0.0. * Tue Feb 03 2009 Dag Wieers - 5.7.3.1-1 - Updated to release 5.7.3.1-1 * Sun Feb 01 2009 Dag Wieers - 5.7.3-1 - Updated to release 5.7.3. * Mon Dec 29 2008 Dag Wieers - 5.7.1-1 - Updated to release 5.7.1. * Sat Dec 20 2008 Dag Wieers - 5.7.0-1 - Updated to release 5.7.0. * Sun Apr 15 2007 Dag Wieers - 5.6.4-1 - Updated to release 5.6.4. * Sun Apr 01 2007 Dag Wieers - 5.6.3-1 - Updated to release 5.6.3. * Mon Oct 09 2006 Dag Wieers - 5.6.2-2 - Fixed group name. * Wed Sep 29 2004 Dag Wieers - 5.6.2-1 - Updated to release 5.6.2. * Sat May 22 2004 Dag Wieers - 5.6.1-1 - Updated to release 5.6.1. * Tue Jan 06 2004 Dag Wieers - 5.5.0-0 - Updated to release 5.5.0. * Fri Apr 18 2003 Dag Wieers - 5.3.2-0 - Initial package. (using DAR)