forked from pool/qt6-shadertools
This commit is contained in:
parent
ba918a6211
commit
76fc36ccab
4
_multibuild
Normal file
4
_multibuild
Normal file
@ -0,0 +1,4 @@
|
||||
<multibuild>
|
||||
<flavor>docs</flavor>
|
||||
</multibuild>
|
||||
|
@ -1,52 +0,0 @@
|
||||
#
|
||||
# spec file for package qt6-shadertools-docs
|
||||
#
|
||||
# Copyright (c) 2020 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 real_version 6.0.0
|
||||
%define short_version 6.0
|
||||
%define tar_name qtshadertools-everywhere-src
|
||||
%define tar_suffix %{nil}
|
||||
#
|
||||
Name: qt6-shadertools-docs
|
||||
Version: 6.0.0
|
||||
Release: 0
|
||||
Summary: Qt 6 ShaderTools Documentation
|
||||
License: GFDL-1.3-only
|
||||
URL: https://www.qt.io
|
||||
Source: https://download.qt.io/official_releases/qt/%{short_version}/%{real_version}%{tar_suffix}/submodules/%{tar_name}-%{real_version}%{tar_suffix}.tar.xz
|
||||
BuildRequires: qt6-gui-private-devel
|
||||
BuildRequires: cmake(Qt6Core)
|
||||
BuildRequires: cmake(Qt6Gui)
|
||||
BuildRequires: qt6-tools
|
||||
|
||||
%description
|
||||
The Qt 6 ShaderTools Documentation.
|
||||
|
||||
%{qt6_doc_packages}
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{tar_name}-%{real_version}%{tar_suffix}
|
||||
|
||||
%build
|
||||
%cmake_qt6
|
||||
|
||||
%{qt6_build_docs}
|
||||
|
||||
%install
|
||||
%{qt6_install_docs}
|
||||
|
||||
%changelog
|
@ -21,6 +21,8 @@
|
||||
%define tar_name qtshadertools-everywhere-src
|
||||
%define tar_suffix %{nil}
|
||||
#
|
||||
%global qt6_flavor @BUILD_FLAVOR@%{nil}
|
||||
#
|
||||
Name: qt6-shadertools
|
||||
Version: 6.0.0
|
||||
Release: 0
|
||||
@ -32,10 +34,16 @@ Source99: qt6-shadertools-rpmlintrc
|
||||
BuildRequires: qt6-gui-private-devel
|
||||
BuildRequires: cmake(Qt6Core)
|
||||
BuildRequires: cmake(Qt6Gui)
|
||||
%if "%{qt6_flavor}" == "docs"
|
||||
BuildRequires: qt6-tools
|
||||
%{qt6_doc_packages}
|
||||
%endif
|
||||
|
||||
%description
|
||||
The Qt 6 ShaderTools library and tools.
|
||||
|
||||
%if !%{qt6_docs_flavor}
|
||||
|
||||
%package -n libQt6ShaderTools6
|
||||
Summary: Qt 6 ShaderTools library
|
||||
|
||||
@ -60,6 +68,8 @@ Requires: cmake(Qt6ShaderTools) = %{real_version}
|
||||
This package provides private headers of libQt6ShaderTools that do not have any
|
||||
ABI or API guarantees.
|
||||
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{tar_name}-%{real_version}%{tar_suffix}
|
||||
|
||||
@ -71,6 +81,8 @@ ABI or API guarantees.
|
||||
%install
|
||||
%{qt6_install}
|
||||
|
||||
%if !%{qt6_docs_flavor}
|
||||
|
||||
%{qt6_link_executables}
|
||||
|
||||
%post -n libQt6ShaderTools6 -p /sbin/ldconfig
|
||||
@ -99,4 +111,6 @@ ABI or API guarantees.
|
||||
%{_qt6_includedir}/QtShaderTools/%{real_version}/
|
||||
%{_qt6_mkspecsdir}/modules/qt_lib_shadertools_private.pri
|
||||
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user