2019-11-06 19:32:58 +08:00
|
|
|
Name: hexedit
|
2023-02-17 16:07:42 +08:00
|
|
|
Version: 1.6
|
2024-12-16 02:43:59 +00:00
|
|
|
Release: 2
|
2019-11-06 19:32:58 +08:00
|
|
|
Summary: hexedit - view and edit files in hexadecimal or in ASCII.
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: http://rigaux.org/hexedit.html
|
2023-02-17 16:07:42 +08:00
|
|
|
Source: https://github.com/pixel/%{name}/archive/%{name}-%{version}.tar.gz
|
2019-11-06 19:32:58 +08:00
|
|
|
|
2023-02-17 16:07:42 +08:00
|
|
|
Patch1: hexedit-1.2.13-config.patch
|
|
|
|
|
Patch2: hexedit-1.6-fix-lsm.patch
|
2022-06-22 15:26:09 +08:00
|
|
|
|
2019-11-06 19:32:58 +08:00
|
|
|
|
|
|
|
|
BuildRequires: gcc ncurses-devel
|
2023-02-17 16:07:42 +08:00
|
|
|
BuildRequires: autoconf make
|
2019-11-06 19:32:58 +08:00
|
|
|
|
|
|
|
|
%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
|
2023-02-17 16:07:42 +08:00
|
|
|
%forgesetup
|
|
|
|
|
|
2024-12-16 02:43:59 +00:00
|
|
|
%patch 1 -p1 -b .config
|
|
|
|
|
%patch 2 -p1
|
2019-11-06 19:32:58 +08:00
|
|
|
|
|
|
|
|
%build
|
2022-06-22 15:26:09 +08:00
|
|
|
./autogen.sh
|
2019-11-06 19:32:58 +08:00
|
|
|
%configure
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
2023-02-17 16:07:42 +08:00
|
|
|
#%make_install INSTALL='install -p'
|
|
|
|
|
make install \
|
|
|
|
|
mandir=$RPM_BUILD_ROOT%{_mandir} \
|
|
|
|
|
bindir=$RPM_BUILD_ROOT%{_bindir} \
|
|
|
|
|
INSTALL='install -p'
|
2019-11-06 19:32:58 +08:00
|
|
|
|
|
|
|
|
%files
|
2022-06-22 15:26:09 +08:00
|
|
|
%doc %{name}.lsm Changes
|
2019-11-06 19:32:58 +08:00
|
|
|
%license COPYING
|
|
|
|
|
%{_bindir}/hexedit
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/man1/hexedit.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-12-16 02:43:59 +00:00
|
|
|
* Mon Dec 16 2024 litian <dev11105@linx-info.com> - 1.6-2
|
|
|
|
|
- fix %patchN is deprecated warning
|
|
|
|
|
|
2023-02-17 16:07:42 +08:00
|
|
|
* Fri Feb 17 2023 li-long315 <lilong@kylinos.cn> - 1.6.1
|
|
|
|
|
- Upgrade to 1.6
|
|
|
|
|
|
2022-06-22 15:26:09 +08:00
|
|
|
* Wed Jun 22 2022 dillon chen <dillon.chen@gmail.com> - 1.5-1
|
|
|
|
|
- update to 1.5
|
|
|
|
|
|
2019-11-06 19:32:58 +08:00
|
|
|
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.2.13-15
|
|
|
|
|
- Package init.
|