This commit is contained in:
parent
5f8a4ee492
commit
67db96322c
4
_multibuild
Normal file
4
_multibuild
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<multibuild>
|
||||||
|
<flavor>docs</flavor>
|
||||||
|
</multibuild>
|
||||||
|
|
@ -1,57 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package qt6-quicktimeline-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 qtquicktimeline-everywhere-src
|
|
||||||
%define tar_suffix %{nil}
|
|
||||||
#
|
|
||||||
Name: qt6-quicktimeline-docs
|
|
||||||
Version: 6.0.0
|
|
||||||
Release: 0
|
|
||||||
Summary: Qt 6 QuickTimeline 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-core-private-devel
|
|
||||||
BuildRequires: qt6-gui-private-devel
|
|
||||||
BuildRequires: qt6-qml-private-devel
|
|
||||||
BuildRequires: qt6-quick-private-devel
|
|
||||||
BuildRequires: cmake(Qt6Core)
|
|
||||||
BuildRequires: cmake(Qt6Gui)
|
|
||||||
BuildRequires: cmake(Qt6Qml)
|
|
||||||
BuildRequires: cmake(Qt6Quick)
|
|
||||||
BuildRequires: qt6-tools
|
|
||||||
|
|
||||||
%description
|
|
||||||
The Qt 6 Quick Timeline 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 qtquicktimeline-everywhere-src
|
%define tar_name qtquicktimeline-everywhere-src
|
||||||
%define tar_suffix %{nil}
|
%define tar_suffix %{nil}
|
||||||
#
|
#
|
||||||
|
%global qt6_flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
#
|
||||||
Name: qt6-quicktimeline
|
Name: qt6-quicktimeline
|
||||||
Version: 6.0.0
|
Version: 6.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -36,6 +38,10 @@ BuildRequires: cmake(Qt6Core)
|
|||||||
BuildRequires: cmake(Qt6Gui)
|
BuildRequires: cmake(Qt6Gui)
|
||||||
BuildRequires: cmake(Qt6Qml)
|
BuildRequires: cmake(Qt6Qml)
|
||||||
BuildRequires: cmake(Qt6Quick)
|
BuildRequires: cmake(Qt6Quick)
|
||||||
|
%if "%{qt6_flavor}" == "docs"
|
||||||
|
BuildRequires: qt6-tools
|
||||||
|
%{qt6_doc_packages}
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Qt Quick Timeline plugin provides QML types to use timelines and keyframes
|
The Qt Quick Timeline plugin provides QML types to use timelines and keyframes
|
||||||
@ -52,6 +58,8 @@ to animate Qt Quick user interfaces.
|
|||||||
%install
|
%install
|
||||||
%{qt6_install}
|
%{qt6_install}
|
||||||
|
|
||||||
|
%if !%{qt6_docs_flavor}
|
||||||
|
|
||||||
# CMake files are not needed for plugins
|
# CMake files are not needed for plugins
|
||||||
rm -r %{buildroot}%{_qt6_cmakedir}/Qt6Qml/QmlPlugins
|
rm -r %{buildroot}%{_qt6_cmakedir}/Qt6Qml/QmlPlugins
|
||||||
|
|
||||||
@ -60,4 +68,6 @@ rm -r %{buildroot}%{_qt6_cmakedir}/Qt6Qml/QmlPlugins
|
|||||||
%dir %{_qt6_qmldir}/QtQuick
|
%dir %{_qt6_qmldir}/QtQuick
|
||||||
%{_qt6_qmldir}/QtQuick/Timeline
|
%{_qt6_qmldir}/QtQuick/Timeline
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user