File zdbsp.spec of Package zdbsp

# spec file for package zdbsp
# Copyright (c) 2015 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:           zdbsp
Version:        1.18.1
Release:        0
Summary:        Nodebuilder for ZDoom
License:        GPL-2.0+
Group:          Development/Tools/Building

Source:         zdbsp-%version.tar.xz
Patch1:         zdbsp-automake.diff
Patch2:         zdbsp-bigendian.diff
Patch3:         zdbsp-notime.diff
BuildRequires:  autoconf >= 2.63
BuildRequires:  automake >= 1.9
BuildRequires:  gcc-c++
BuildRequires:  xz
BuildRequires:  zlib-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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.

%setup -q
%patch -P 1 -P 2 -P 3 -p1

autoreconf -fi
%ifarch %ix86 x86_64
# got asm
export CFLAGS="%optflags -fno-PIE"

make %{?_smp_mflags}



openSUSE Build Service is sponsored by