This commit is contained in:
Jan Grulich 2022-04-20 14:44:49 +02:00
parent 59a083fb30
commit 2b4bd304f6
3 changed files with 14 additions and 8 deletions

1
.gitignore vendored
View File

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

View File

@ -6,10 +6,12 @@
%global prerelease rc2
%endif
#global examples 1
Summary: Qt6 - Connectivity components
Name: qt6-%{qt_module}
Version: 6.2.3
Release: 2%{?dist}
Version: 6.3.0
Release: 1%{?dist}
# See LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions
@ -50,19 +52,20 @@ Requires: qt6-qtbase-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
@ -99,23 +102,25 @@ popd
%{_qt6_libdir}/libQt6Nfc.so
%{_qt6_libdir}/libQt6Nfc.prl
%dir %{_qt6_libdir}/cmake/Qt6Bluetooth/
%dir %{_qt6_libdir}/cmake/Qt6BluetoothTools/
%dir %{_qt6_libdir}/cmake/Qt6Nfc/
%{_qt6_libdir}/cmake/Qt6/FindBlueZ.cmake
%{_qt6_libdir}/cmake/Qt6BuildInternals/StandaloneTests/*.cmake
%{_qt6_libdir}/cmake/Qt6Bluetooth/*.cmake
%{_qt6_libdir}/cmake/Qt6BluetoothTools/*.cmake
%{_qt6_libdir}/cmake/Qt6Nfc/*.cmake
%{_qt6_archdatadir}/mkspecs/modules/qt_lib_bluetooth*.pri
%{_qt6_archdatadir}/mkspecs/modules/qt_lib_nfc*.pri
%{_qt6_datadir}/modules/*.json
%{_qt6_libdir}/metatypes/qt6*_metatypes.json
%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 (qtconnectivity-everywhere-src-6.2.3.tar.xz) = 69636e615a74725f3243fb7319fbfd6af75f7a3fc50796bd7fca1e93865a418380c6f1f5685e290564c06b73b6007c0e3d365af90f10bd0c2719926b9f0af4df
SHA512 (qtconnectivity-everywhere-src-6.3.0.tar.xz) = b666d46cb599d88df881f78a7cbe20bc1e7845d1295a0cdd77fc4124b938dab7ae9fc0e4be401e3a10f519b9d87941ab438baadc53ff657d1217c6a4ec27bb8d