Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw:win64
mingw64-vsgExamples
mingw64-vsgExamples.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-vsgExamples.spec of Package mingw64-vsgExamples
# # spec file for package mingw64-vsgExamples # # Copyright (c) 2021 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/ # %define addprofile 1 %define osg 0 %define _name vsgExamples Name: mingw64-%{_name} Version: 1.0.7 Release: 0 Summary: 3D graphics toolkit - examples 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 BuildRequires: mingw64-cross-cmake BuildRequires: mingw64-cross-gcc-c++ %if %osg BuildRequires: mingw64-libOpenSceneGraph-devel BuildRequires: mingw64-libOpenThreads-devel %endif BuildRequires: mingw64-libvsg-devel BuildRequires: mingw64-libvsgImGui-devel BuildRequires: mingw64-libvsgXchange-devel BuildRequires: mingw64-vulkan-devel %_mingw64_package_header_debug BuildArch: noarch Requires: %name-data = %version %description Example programs that test and illustrate how to use the VulkanSceneGraph and optional add-on libraries %package data Summary: 3D graphics toolkit - data files for examples License: MIT Group: Productivity/Graphics/Other %description data Example programs that test and illustrate how to use the VulkanSceneGraph and optional add-on libraries This package contains the data files required by the examples %_mingw64_debug_package %prep %autosetup -p1 -n %{_name}-%{version} cat << EOF >> CMakeLists.txt include(FeatureSummary) feature_summary(WHAT ALL) EOF sed -i 's, QUIET,,g' CMakeLists.txt %build %_mingw64_cmake \ -DCMAKE_RELWITHDEBINFO_POSTFIX= %_mingw64_cmake_build %install %_mingw64_cmake_install # install data files prjdatadir=%_mingw64_datadir/%_name mkdir -p %buildroot$prjdatadir cp -av data/* %buildroot$prjdatadir %if %addprofile # setup VSG_FILE_PATH profiledir=%_mingw64_sysconfdir/cmd.d mkdir -p %buildroot/$profiledir cat << EOF > %buildroot/$profiledir/%_name.bat set VSG_FILE_PATH=%%~dp0..\..\share\%_name EOF %endif %files %defattr(-,root,root) %_mingw64_bindir/vsg*.exe %files data %defattr(-,root,root) %dir %_mingw64_datadir/%_name %_mingw64_datadir/%_name %if %addprofile %dir %_mingw64_sysconfdir %_mingw64_sysconfdir/cmd.d %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor