File zdbsp.spec of Package zdbsp

#
# spec file for package zdbsp
#
# Copyright (c) 2025 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#


Name:           zdbsp
Version:        1.19
Release:        0
Summary:        Nodebuilder for ZDoom
License:        GPL-2.0-or-later
Group:          Development/Tools/Building
URL:            https://zdoom.org/
Source:         https://github.com/rheit/zdbsp/archive/v%version/zdbsp-%version.tar.gz
Patch1:         zdbsp-bigendian.diff
Patch2:         zdbsp-notime.diff
Patch3:         install-binary.patch
BuildRequires:  cmake >= 3.5
BuildRequires:  gcc-c++
BuildRequires:  zlib-devel

%description
ZDBSP is ZDoom's (internal and external) node builder. This node
builder was written with two design goals in mind: speed and
minimization of polyobject bleeding.

%prep
%autosetup -p1

%build
%cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5
%cmake_build

%install
%cmake_install

%check
%ctest

%files
%doc zdbsp.html poly_*.png
%license COPYING
%_bindir/zdbsp

%changelog
openSUSE Build Service is sponsored by