56 lines
980 B
RPMSpec
56 lines
980 B
RPMSpec
Name: hexedit
|
|
Version: 1.5
|
|
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/%{version}.tar.gz
|
|
|
|
Patch0: hexedit-1.2.13-config.patch
|
|
Patch1: hexedit-1.5.patch
|
|
|
|
|
|
BuildRequires: gcc ncurses-devel
|
|
|
|
%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
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
./autogen.sh
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install INSTALL='install -p'
|
|
|
|
%check
|
|
|
|
%pre
|
|
|
|
%preun
|
|
|
|
%post
|
|
|
|
%postun
|
|
|
|
%files
|
|
%doc %{name}.lsm Changes
|
|
%license COPYING
|
|
%{_bindir}/hexedit
|
|
|
|
%files help
|
|
%{_mandir}/man1/hexedit.1*
|
|
|
|
%changelog
|
|
* 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.
|