%{?mingw_package_header} %global qt_module qtwebchannel #global pre beta #global commit e5133f4f0bb7c01d7bd7fc499d8c148c03a5b500 #global shortcommit %%(c=%%{commit}; echo ${c:0:7}) %if 0%{?commit:1} %global source_folder %{qt_module}-%{commit} %else %global source_folder %{qt_module}-everywhere-src-%{version}%{?pre:-%{pre}} %endif # first two digits of version %define release_version %(echo %{version} | awk -F. '{print $1"."$2}') Name: mingw-qt5-%{qt_module} Version: 5.15.6 Release: 1%{?dist} Summary: Qt5 for Windows - QtWebChannel component # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details License: GPLv3 with exceptions or LGPLv2 with exceptions URL: http://qt.io/ %if 0%{?commit:1} Source0: https://github.com/qt/%{qt_module}/archive/%{commit}/%{qt_module}-everywhere-src-%{commit}.tar.gz %else Source0: http://download.qt.io/%{?pre:development}%{?!pre:official}_releases/qt/%{release_version}/%{version}%{?pre:-%pre}/submodules/%{qt_module}-everywhere-opensource-src-%{version}%{?pre:-%pre}.tar.xz %endif BuildArch: noarch BuildRequires: make BuildRequires: mingw32-filesystem >= 96 BuildRequires: mingw32-gcc-c++ BuildRequires: mingw32-qt5-qtbase = %{version} BuildRequires: mingw32-qt5-qtdeclarative = %{version} BuildRequires: mingw32-qt5-qtwebsockets = %{version} BuildRequires: mingw64-filesystem >= 96 BuildRequires: mingw64-gcc-c++ BuildRequires: mingw64-qt5-qtbase = %{version} BuildRequires: mingw64-qt5-qtdeclarative = %{version} BuildRequires: mingw64-qt5-qtwebsockets = %{version} %description This package contains the Qt software toolkit for developing cross-platform applications. This is the Windows version of Qt, for use in conjunction with the Fedora Windows cross-compiler. # Win32 %package -n mingw32-qt5-%{qt_module} Summary: Qt5 for Windows - QtWebchannel component %description -n mingw32-qt5-%{qt_module} This package contains the Qt software toolkit for developing cross-platform applications. This is the Windows version of Qt, for use in conjunction with the Fedora Windows cross-compiler. # Win64 %package -n mingw64-qt5-%{qt_module} Summary: Qt5 for Windows - QtWebchannel component %description -n mingw64-qt5-%{qt_module} This package contains the Qt software toolkit for developing cross-platform applications. This is the Windows version of Qt, for use in conjunction with the Fedora Windows cross-compiler. %{?mingw_debug_package} %prep %autosetup -p1 -n %{source_folder} %if 0%{?commit:1} # Make sure the syncqt tool is run when using a git snapshot mkdir .git %endif %build %mingw_qmake_qt5 ../%{qt_module}.pro %mingw_make_build %install %mingw_make install INSTALL_ROOT=%{buildroot} # Win32 %files -n mingw32-qt5-%{qt_module} %license LICENSE.LGPL* LICENSE.GPL* %{mingw32_bindir}/Qt5WebChannel.dll %{mingw32_includedir}/qt5/QtWebChannel/ %{mingw32_libdir}/cmake/Qt5WebChannel/ %{mingw32_libdir}/libQt5WebChannel.dll.a %{mingw32_libdir}/Qt5WebChannel.prl %{mingw32_libdir}/pkgconfig/Qt5WebChannel.pc %{mingw32_libdir}/qt5/qml/QtWebChannel/ %{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_webchannel.pri %{mingw32_datadir}/qt5/mkspecs/modules/qt_lib_webchannel_private.pri # Win64 %files -n mingw64-qt5-%{qt_module} %license LICENSE.LGPL* LICENSE.GPL* %{mingw64_bindir}/Qt5WebChannel.dll %{mingw64_includedir}/qt5/QtWebChannel/ %{mingw64_libdir}/cmake/Qt5WebChannel/ %{mingw64_libdir}/libQt5WebChannel.dll.a %{mingw64_libdir}/Qt5WebChannel.prl %{mingw64_libdir}/pkgconfig/Qt5WebChannel.pc %{mingw64_libdir}/qt5/qml/QtWebChannel/ %{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_webchannel.pri %{mingw64_datadir}/qt5/mkspecs/modules/qt_lib_webchannel_private.pri %changelog * Thu Sep 22 2022 Sandro Mani - 5.15.6-1 - Update to 5.15.6 * Thu Jul 21 2022 Fedora Release Engineering - 5.15.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jul 14 2022 Sandro Mani - 5.15.5-1 - Update to 5.15.5 * Sat May 21 2022 Sandro Mani - 5.15.4-1 - Update to 5.15.4 * Mon Mar 28 2022 Sandro Mani - 5.15.3-2 - BR: mingw-gcc-c++ * Tue Mar 15 2022 Sandro Mani - 5.15.3-1 - Update to 5.15.3 * Thu Jan 20 2022 Fedora Release Engineering - 5.15.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 5.15.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Apr 22 2021 Jan Blackquill - 5.15.2-3 - Don't strip .prl files from build * Tue Jan 26 2021 Fedora Release Engineering - 5.15.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Nov 23 20:01:02 CET 2020 Sandro Mani - 5.15.2-1 - Update to 5.15.2 * Wed Oct 7 11:57:51 CEST 2020 Sandro Mani - 5.15.1-1 - Update to 5.15.1 * Tue Jul 28 2020 Fedora Release Engineering - 5.14.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Apr 08 2020 Sandro Mani - 5.14.2-1 - Update to 5.14.2 * Wed Jan 29 2020 Fedora Release Engineering - 5.13.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Dec 16 2019 Sandro Mani - 5.13.2-1 - Update to 5.13.2 * Thu Sep 26 2019 Sandro Mani - 5.12.5-1 - Update to 5.12.5 * Tue Aug 27 2019 Sandro Mani - 5.12.4-1 - Initial package