This commit is contained in:
parent
c29ce17596
commit
dcb8d775a8
4
_multibuild
Normal file
4
_multibuild
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<multibuild>
|
||||||
|
<flavor>docs</flavor>
|
||||||
|
</multibuild>
|
||||||
|
|
@ -1,64 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package qt6-declarative-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 qtdeclarative-everywhere-src
|
|
||||||
%define tar_suffix %{nil}
|
|
||||||
#
|
|
||||||
Name: qt6-declarative-docs
|
|
||||||
Version: 6.0.0
|
|
||||||
Release: 0
|
|
||||||
Summary: Qt 6 Declarative 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: python3-base
|
|
||||||
BuildRequires: qt6-core-private-devel
|
|
||||||
BuildRequires: qt6-gui-private-devel
|
|
||||||
BuildRequires: qt6-opengl-private-devel
|
|
||||||
BuildRequires: qt6-test-private-devel
|
|
||||||
BuildRequires: qt6-widgets-private-devel
|
|
||||||
BuildRequires: cmake(Qt6Concurrent)
|
|
||||||
BuildRequires: cmake(Qt6Core)
|
|
||||||
BuildRequires: cmake(Qt6Gui)
|
|
||||||
BuildRequires: cmake(Qt6Network)
|
|
||||||
BuildRequires: cmake(Qt6OpenGL)
|
|
||||||
BuildRequires: cmake(Qt6OpenGLWidgets)
|
|
||||||
BuildRequires: cmake(Qt6Sql)
|
|
||||||
BuildRequires: cmake(Qt6Test)
|
|
||||||
BuildRequires: cmake(Qt6Widgets)
|
|
||||||
BuildRequires: qt6-tools
|
|
||||||
|
|
||||||
%description
|
|
||||||
Qt 6 Declarative 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 qtdeclarative-everywhere-src
|
%define tar_name qtdeclarative-everywhere-src
|
||||||
%define tar_suffix %{nil}
|
%define tar_suffix %{nil}
|
||||||
#
|
#
|
||||||
|
%global qt6_flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
#
|
||||||
Name: qt6-declarative
|
Name: qt6-declarative
|
||||||
Version: 6.0.0
|
Version: 6.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -44,10 +46,16 @@ BuildRequires: cmake(Qt6OpenGLWidgets)
|
|||||||
BuildRequires: cmake(Qt6Sql)
|
BuildRequires: cmake(Qt6Sql)
|
||||||
BuildRequires: cmake(Qt6Test)
|
BuildRequires: cmake(Qt6Test)
|
||||||
BuildRequires: cmake(Qt6Widgets)
|
BuildRequires: cmake(Qt6Widgets)
|
||||||
|
%if "%{qt6_flavor}" == "docs"
|
||||||
|
BuildRequires: qt6-tools
|
||||||
|
%{qt6_doc_packages}
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Qt 6 Declarative Libraries and tools
|
Qt 6 Declarative Libraries and tools
|
||||||
|
|
||||||
|
%if !%{qt6_docs_flavor}
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Qt 6 Declarative meta package
|
Summary: Qt 6 Declarative meta package
|
||||||
Requires: cmake(Qt6Qml) = %{real_version}
|
Requires: cmake(Qt6Qml) = %{real_version}
|
||||||
@ -385,6 +393,8 @@ The Qt6 QmlDevTools static library.
|
|||||||
|
|
||||||
%{qt6_examples_package}
|
%{qt6_examples_package}
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{tar_name}-%{real_version}%{tar_suffix}
|
%autosetup -p1 -n %{tar_name}-%{real_version}%{tar_suffix}
|
||||||
|
|
||||||
@ -404,6 +414,8 @@ EOF
|
|||||||
%install
|
%install
|
||||||
%{qt6_install}
|
%{qt6_install}
|
||||||
|
|
||||||
|
%if !%{qt6_docs_flavor}
|
||||||
|
|
||||||
# Empty folder provided by libQt6Qml6
|
# Empty folder provided by libQt6Qml6
|
||||||
mkdir -p %{buildroot}%{_qt6_importsdir}
|
mkdir -p %{buildroot}%{_qt6_importsdir}
|
||||||
|
|
||||||
@ -658,4 +670,6 @@ rm %{buildroot}%{_qt6_mkspecsdir}/modules/qt_lib_qmldevtools_private.pri
|
|||||||
%{_qt6_libdir}/libQt6QmlDevTools.a
|
%{_qt6_libdir}/libQt6QmlDevTools.a
|
||||||
%{_qt6_libdir}/libQt6QmlDevTools.prl
|
%{_qt6_libdir}/libQt6QmlDevTools.prl
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user