File hexedit.spec of Package hexedit
Name: hexedit
Summary: View and edit files in hexadecimal or in ASCII
Version: 1.6
Release: 1
License: GPL-2.0
Group: Development/Tools/Other
Url: http://rigaux.org/hexedit.html
Source0: https://github.com/pixel/hexedit/archive/%{version}.tar.gz
BuildRequires: ncurses-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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.
%global debug_package %{nil}
%prep
%setup -q -n %{name}-%{version}
%build
[ -f configure ] || ./autogen.sh
%configure
make
%install
make install DESTDIR=%{buildroot}
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_datadir}/man/man1/%{name}.1.gz
%changelog