File mingw64-vsgExamples-installer.spec of Package mingw64-vsgExamples
#
# spec file for package mingw32-vsgExamples-installer
#
# Copyright (c) 2014 SUSE LINUX Products 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 osg 0
%define _name vsgExamples
Name: mingw64-%{_name}-installer
Version: 1.0.7
Release: 0
Summary: Installer for VulkanSceneGraph examples
Summary: 3D graphics toolkit
License: MIT
Group: Productivity/Graphics/Other
URL: https://vsg-dev.github.io/VulkanSceneGraph
Source0: https://github.com/vsg-dev/%{_name}/archive/%{_name}-%{version}.tar.xz
Source1: shell.bat
BuildRequires: mingw64-installer-base
%if %osg
BuildRequires: mingw64-OpenSceneGraph-plugins
BuildRequires: mingw64-OpenSceneGraph-examples
%endif
BuildRequires: mingw64-vsgExamples
BuildRequires: mingw64-vsgQt5
BuildRequires: mingw64-vsgXchange
BuildRequires: mingw64-vulkan-tools
# debug package
BuildRequires: mingw64-libvsg-debug
%if %osg
BuildRequires: mingw64-OpenSceneGraph-debug
%endif
BuildRequires: mingw64-vsgImGui-debug
BuildRequires: mingw64-vsgQt5-debug
BuildRequires: mingw64-vsgXchange-debug
BuildRequires: mingw64-vulkan-tools-debug
BuildRequires: mingw64-winpthreads-debug
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This package contains a setup installer of VulkanSceneGraph examples
%_mingw64_installer_package -n mingw64-vsgExamples -p gdb "-P VulkanSceneGraph examples"
%prep
%_mingw64_installer_prep
# add local files to packages
mkdir -p tmp
cp %SOURCE1 tmp
%build
%_mingw64_installer_build -p vsgExamples "-P VulkanSceneGraph examples" -r mingw64-%{_name} -s %{SOURCE0} -h %{url}
%install
%_mingw64_installer_install
%changelog