hexedit/hexedit.spec

56 lines
980 B
RPMSpec
Raw Normal View History

2019-11-06 19:32:58 +08:00
Name: hexedit
2022-06-22 15:26:09 +08:00
Version: 1.5
Release: 1
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
2022-06-22 15:26:09 +08:00
Source: https://github.com/pixel/%{name}/archive/%{version}.tar.gz
2019-11-06 19:32:58 +08:00
Patch0: hexedit-1.2.13-config.patch
2022-06-22 15:26:09 +08:00
Patch1: hexedit-1.5.patch
2019-11-06 19:32:58 +08:00
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
2022-06-22 15:26:09 +08:00
%autosetup -n %{name}-%{version} -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
%make_install INSTALL='install -p'
%check
%pre
%preun
%post
%postun
%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
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.