hexedit/hexedit.spec
2023-02-20 16:08:45 +08:00

57 lines
1.2 KiB
RPMSpec

Name: hexedit
Version: 1.6
Release: 1
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
%patch1 -p1 -b .config
%patch2 -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
* Fri Feb 17 2023 li-long315 <lilong@kylinos.cn> - 1.6.1
- Upgrade to 1.6
* Wed Jun 22 2022 dillon chen <dillon.chen@gmail.com> - 1.5-1
- update to 1.5
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.2.13-15
- Package init.