From 3eefe7b35149b5516ab617dedb4e8f6c524ef505 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Fri, 11 Jun 2021 15:44:03 +0200 Subject: [PATCH] 6.1.1 --- .gitignore | 1 + qt6-qtscxml.spec | 98 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 100 insertions(+) create mode 100644 .gitignore create mode 100644 qt6-qtscxml.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..14b627d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/qtscxml-everywhere-src-6.1.1.tar.xz diff --git a/qt6-qtscxml.spec b/qt6-qtscxml.spec new file mode 100644 index 0000000..a19dc9d --- /dev/null +++ b/qt6-qtscxml.spec @@ -0,0 +1,98 @@ +%global qt_module qtscxml + +Summary: Qt6 - ScXml component +Name: qt6-%{qt_module} +Version: 6.1.1 +Release: 1%{?dist} + +# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details +License: LGPLv2 with exceptions or GPLv3 with exceptions +Url: http://www.qt.io +%global majmin %(echo %{version} | cut -d. -f1-2) +Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz + +BuildRequires: qt6-qtbase-devel >= %{version} +BuildRequires: qt6-qtbase-private-devel +%{?_qt6:Requires: %{_qt6}%{?_isa} = %{_qt6_version}} +BuildRequires: qt6-qtdeclarative-devel >= %{version} + +%description +The Qt SCXML module provides functionality to create state machines from SCXML files. +This includes both dynamically creating state machines loading the SCXML file and instantiating states and transitions) +and generating a C++ file that has a class implementing the state machine. +It also contains functionality to support data models and executable content. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: qt6-qtbase-devel%{?_isa} +Requires: qt6-qtdeclarative-devel%{?_isa} +%description devel +%{summary}. + +%package examples +Summary: Programming examples for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +%description examples +%{summary}. + + +%prep +%autosetup -n %{qt_module}-everywhere-src-%{version} -p1 + + +%build +%cmake_qt6 + +%cmake_build + +%install +%cmake_install + + +%files +%license LICENSE.* +%{_qt6_libdir}/libQt6Scxml.so.6* +%{_qt6_libdir}/libQt6ScxmlQml.so.6* +%{_qt6_libdir}/libQt6StateMachineQml.so.6* +%{_qt6_libdir}/libQt6StateMachine.so.6* +%{_qt6_bindir}/qscxmlc +%{_qt6_qmldir}/QtScxml/ +%{_qt6_qmldir}/QtQml/ + +%{_qt6_plugindir}/scxmldatamodel/libqscxmlecmascriptdatamodel.so + +%files devel +%{_qt6_headerdir}/QtScxml/ +%{_qt6_headerdir}/QtScxmlQml/ +%{_qt6_headerdir}/QtStateMachineQml +%{_qt6_headerdir}/QtStateMachine/ +%{_qt6_libdir}/libQt6Scxml.so +%{_qt6_libdir}/libQt6Scxml.prl +%{_qt6_libdir}/libQt6ScxmlQml.prl +%{_qt6_libdir}/libQt6ScxmlQml.so +%{_qt6_libdir}/libQt6StateMachine.prl +%{_qt6_libdir}/libQt6StateMachine.so +%{_qt6_libdir}/libQt6StateMachineQml.prl +%{_qt6_libdir}/libQt6StateMachineQml.so +%{_qt6_libdir}/cmake/Qt6Scxml +%{_qt6_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtScxmlTestsConfig.cmake +%{_qt6_libdir}/cmake/Qt6Qml/QmlPlugins/*.cmake +%{_qt6_libdir}/cmake/Qt6ScxmlQml/*.cmake +%{_qt6_libdir}/cmake/Qt6ScxmlTools/*.cmake +%{_qt6_libdir}/cmake/Qt6StateMachine/*.cmake +%{_qt6_libdir}/cmake/Qt6StateMachineQml/*.cmake +%{_qt6_archdatadir}/mkspecs/features/qscxmlc.prf +%{_qt6_archdatadir}/mkspecs/modules/* +%{_qt6_datadir}/modules/*.json +%{_qt6_libdir}/metatypes/qt6*_metatypes.json + +%if 0%{?_qt6_examplesdir:1} +%files examples +%{_qt6_examplesdir}/ +%endif + + +%changelog +* Fri Jun 11 2021 Jan Grulich - 6.1.1 +- 6.1.1 diff --git a/sources b/sources new file mode 100644 index 0000000..41c7cfa --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (qtscxml-everywhere-src-6.1.1.tar.xz) = 0c7162269750fe94b69ac2d83250033775a2ea5e07489fbe23eabd38341c81bb77a34352f2af508262de5c3a16a064e5ec08e94d7cceb0113882fe75983e49d6