File mingw32-vsgExamples-installer.spec of Package mingw32-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: mingw32-%{_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: mingw32-installer-base
%if %osg
BuildRequires: mingw32-OpenSceneGraph-plugins
BuildRequires: mingw32-OpenSceneGraph-examples
%endif
BuildRequires: mingw32-vsgExamples
BuildRequires: mingw32-vsgQt5
BuildRequires: mingw32-vsgXchange
BuildRequires: mingw32-vulkan-tools
# debug package
BuildRequires: mingw32-libvsg-debug
%if %osg
BuildRequires: mingw32-OpenSceneGraph-debug
%endif
BuildRequires: mingw32-vsgExamples-debug
BuildRequires: mingw32-vsgImGui-debug
BuildRequires: mingw32-vsgQt5-debug
BuildRequires: mingw32-vsgXchange-debug
BuildRequires: mingw32-vulkan-tools-debug
BuildRequires: mingw32-winpthreads-debug
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This package contains a setup installer of VulkanSceneGraph examples
%_mingw32_installer_package -n mingw32-vsgExamples -p gdb "-P VulkanSceneGraph examples"
%prep
%_mingw32_installer_prep
# add local files to packages
mkdir -p tmp
cp %SOURCE1 tmp
%build
%_mingw32_installer_build -p vsgExamples "-P VulkanSceneGraph examples" -r mingw32-%{_name} -s %{SOURCE0} -h %{url}
%install
%_mingw32_installer_install
%changelog