File Hexedit-rogoyski.spec of Package Hexedit-rogoyski

#
# spec file for package Hexedit-rogoyski
#
# Copyright (c) 2015-2020 COMBES Pascal <pascom@orange.fr>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


# See also http://en.opensuse.org/openSUSE:Specfile_guidelines

Name:		Hexedit-rogoyski
Version:        0.9.7
Release:        0
Summary:        A console hexadecimal editor
License:        GPL-1.0+
Group:          Development/Tools/Other
Url:            http://www.rogoyski.com/adam/programs/hexedit/
Source0:        hexedit-rogoyski-0.9.7.tar.xz
BuildRequires:	ncurses-devel
BuildRequires:	makeinfo
PreReq:		%install_info_prereq
Conflicts:	Hexedit-rigaux

%description
This package contains Hexedit, a full screen hex editor using the curses, ncurses, or pdcurses library.
Some of it's features are:
    -Familiar setup, similar to Nortan's Diskedit.
    -File Selection widget for selecting a file to edit.
    -Editing and Viewing disks in Linux and OpenBSD.
    -Allows Inserting and Deleting bytes from the file.
    -Highlights changes in the file in bold.
    -Fast boyer-moore string and byte searches.
    -Undo - keeps track of all changes, reverting back to original always possible.
    -Start of a base conversion/calculator utility built in.
    -Portable. This should run on any platform with a dialect of the curses library.

Hexedit author is Adam Rogoyski who licensed it under GPL. For more information, visit the dedicated webpage on his website: http://www.rogoyski.com/adam/programs/hexedit/

%prep
%setup -q

%build
%configure
make CFLAGS=-fcommon

%install
make install DESTDIR=%{buildroot}

%files
%defattr(-, root, root)
%{_bindir}/hexedit
%doc %{_mandir}/man1/hexedit.1.gz
%doc %{_infodir}/hexedit.info.gz

%post
%install_info --info-dir=%{_infodir} %{_infodir}/hexedit.info.gz

%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/hexedit.info.gz

%changelog

openSUSE Build Service is sponsored by