File dhex.spec of Package dhex

# spec file for package dhex
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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

Name:           dhex
Version:        0.69
Release:        0
Summary:        Hexeditor with a Diff-mode for ncurses
License:        GPL-2.0-or-later
Group:          Productivity/File utilities
Source1:        dhex-themes.tar.bz2
BuildRequires:  ncurses-devel

DHEX is just another Hexeditor with a Diff mode for ncurses. It makes
heavy use of colors and is themeable.

%setup -qn %{name}_%{version} -a1

make %{?_smp_mflags} CFLAGS="%{optflags} -std=c99"

install -Dm 0755 %{name} %{buildroot}%{_bindir}/%{name}
install -dm 0755 %{buildroot}%{_mandir}/{man1,man5}
install -pm 0644 %{name}.1 %{buildroot}%{_mandir}/man1/
install -pm 0644 %{name}*.5 %{buildroot}%{_mandir}/man5/

%license gpl.txt
%doc README.txt themes todo.txt

openSUSE Build Service is sponsored by