File vbindiff.spec of Package vbindiff

#
# spec file for package vbindiff
#
# Copyright (c) 2018 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 http://bugs.opensuse.org/
#


%define rversion    3.0_beta5
Name:           vbindiff
Version:        3.0~beta5
Release:        0
Summary:        Visual Binary Diff
License:        GPL-2.0-or-later
Group:          Productivity/File utilities
URL:            http://www.cjmweb.net/vbindiff/
Source0:        http://www.cjmweb.net/vbindiff/%{name}-%{rversion}.tar.gz
BuildRequires:  gcc-c++
BuildRequires:  ncurses-devel

%description
Visual Binary Diff (VBinDiff) displays files in hexadecimal and ASCII
(or EBCDIC). It can also display two files at once, and highlight the
differences between them.

%prep
%setup -q -n %{name}-%{rversion}

%build
export CXXFLAGS="%{optflags} -I%{_includedir}/ncurses"
%configure
make %{?_smp_mflags}

%install
%make_install

%files
%doc AUTHORS NEWS README README.PuTTY
%{_bindir}/%{name}
%{_mandir}/man?/*

%changelog
openSUSE Build Service is sponsored by