Name: hexedit Version: 1.6 Release: 2 Summary: hexedit - view and edit files in hexadecimal or in ASCII. License: GPLv2+ URL: http://rigaux.org/hexedit.html Source: https://github.com/pixel/%{name}/archive/%{name}-%{version}.tar.gz Patch1: hexedit-1.2.13-config.patch Patch2: hexedit-1.6-fix-lsm.patch BuildRequires: gcc ncurses-devel BuildRequires: autoconf make %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. You can modify the file and search through it. %package_help %prep %forgesetup %patch 1 -p1 -b .config %patch 2 -p1 %build ./autogen.sh %configure %make_build %install #%make_install INSTALL='install -p' make install \ mandir=$RPM_BUILD_ROOT%{_mandir} \ bindir=$RPM_BUILD_ROOT%{_bindir} \ INSTALL='install -p' %files %doc %{name}.lsm Changes %license COPYING %{_bindir}/hexedit %files help %{_mandir}/man1/hexedit.1* %changelog * Mon Dec 16 2024 litian - 1.6-2 - fix %patchN is deprecated warning * Fri Feb 17 2023 li-long315 - 1.6.1 - Upgrade to 1.6 * Wed Jun 22 2022 dillon chen - 1.5-1 - update to 1.5 * Fri Oct 11 2019 openEuler Buildteam - 1.2.13-15 - Package init.