This commit is contained in:
Jan Grulich 2022-04-20 16:39:52 +02:00
parent 7a20633541
commit ac4cfe47c9
3 changed files with 14 additions and 7 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@
/qtscxml-everywhere-src-6.2.1.tar.xz
/qtscxml-everywhere-src-6.2.2.tar.xz
/qtscxml-everywhere-src-6.2.3.tar.xz
/qtscxml-everywhere-src-6.3.0.tar.xz

View File

@ -6,10 +6,12 @@
%global prerelease rc2
%endif
#global examples 1
Summary: Qt6 - ScXml component
Name: qt6-%{qt_module}
Version: 6.2.3
Release: 2%{?dist}
Version: 6.3.0
Release: 1%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions
@ -47,19 +49,20 @@ Requires: qt6-qtdeclarative-devel%{?_isa}
%description devel
%{summary}.
%if 0%{?examples}
%package examples
Summary: Programming examples for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description examples
%{summary}.
%endif
%prep
%autosetup -n %{qt_module}-everywhere-src-%{qt_version}%{?unstable:-%{prerelease}} -p1
%build
%cmake_qt6
%cmake_qt6 -DQT_BUILD_EXAMPLES:BOOL=%{?examples:ON}%{!?examples:OFF}
%cmake_build
@ -73,7 +76,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%{_qt6_libdir}/libQt6ScxmlQml.so.6*
%{_qt6_libdir}/libQt6StateMachineQml.so.6*
%{_qt6_libdir}/libQt6StateMachine.so.6*
%{_qt6_bindir}/qscxmlc
%{_qt6_libexecdir}/qscxmlc
%{_qt6_qmldir}/QtScxml/
%{_qt6_qmldir}/QtQml/
@ -104,13 +107,16 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%{_qt6_datadir}/modules/*.json
%{_qt6_libdir}/metatypes/qt6*_metatypes.json
%if 0%{?_qt6_examplesdir:1}
%if 0%{?examples}
%files examples
%{_qt6_examplesdir}/
%endif
%changelog
* Wed Apr 13 2022 Jan Grulich <jgrulich@redhat.com> - 6.3.0-1
- 6.3.0
* Fri Feb 25 2022 Jan Grulich <jgrulich@redhat.com> - 6.2.3-2
- Enable s390x builds

View File

@ -1 +1 @@
SHA512 (qtscxml-everywhere-src-6.2.3.tar.xz) = 2e337e80ae0967767b5d2fb16bfcb4de30cd524870fbb62da586e68f2ebc2aec85d8d700f8dbe533935706d3124c37c1f44f1b03653ee25a3df7ae821e23f462
SHA512 (qtscxml-everywhere-src-6.3.0.tar.xz) = 57d076e61e9f20383b1ec2b014f6132bc87af77641ebb71ac333b5ad4ee7aea043b0dab0d3231568e058afe5d8a07ec524ebe52340edd1ab03dbc74273bf8b9d