diff --git a/ckb-next.spec b/ckb-next.spec index aa18c5d..b11e994 100644 --- a/ckb-next.spec +++ b/ckb-next.spec @@ -1,6 +1,6 @@ Name: ckb-next Version: 0.6.2 -Release: 3%{?dist} +Release: 1%{?dist} Summary: Unofficial driver for Corsair RGB keyboards License: GPL-2.0-only @@ -21,24 +21,26 @@ BuildRequires: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: make BuildRequires: libappstream-glib +BuildRequires: qt5-linguist -BuildRequires: cmake(kissfft) -BuildRequires: cmake(Qt6) -BuildRequires: cmake(Qt6LinguistTools) -BuildRequires: cmake(QuaZip-Qt6) -BuildRequires: cmake(zlib) - +BuildRequires: dbusmenu-qt5-devel +BuildRequires: kiss-fft-devel BuildRequires: libappindicator-devel BuildRequires: libgudev-devel BuildRequires: libxcb-devel BuildRequires: pulseaudio-libs-devel +BuildRequires: qt5-qtbase-devel >= 5.2.0 +BuildRequires: qt5-qtx11extras-devel +BuildRequires: quazip-qt5-devel >= 0.7.3 BuildRequires: xcb-util-devel BuildRequires: xcb-util-wm-devel +BuildRequires: zlib-devel BuildRequires: systemd-devel %{?systemd_requires} -Requires: qt6-qtbase +Requires: qt5-qtbase >= 5.2.0 +Requires: qt5ct # ckb-next, as the name suggests, is a re-activation and continuation of "ckb". # The last released version of the original "ckb" was 0.2.7. @@ -66,8 +68,6 @@ sed -e 's|"/lib/udev/rules.d"|"%{_udevrulesdir}"|g' -i CMakeLists.txt %build -# TODO: Please submit an issue to upstream (rhbz#2380492) -export CMAKE_POLICY_VERSION_MINIMUM=3.5 %cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ @@ -76,7 +76,6 @@ export CMAKE_POLICY_VERSION_MINIMUM=3.5 -DFORCE_INIT_SYSTEM=systemd \ -DSAFE_INSTALL=OFF \ -DSAFE_UNINSTALL=OFF \ - -DPREFER_QT6=ON \ %cmake_build @@ -136,24 +135,11 @@ udevadm control --reload-rules 2>&1 > /dev/null || : %changelog -* Mon Nov 10 2025 Cristian Le - 0.6.2-3 -- Allow to build with CMake 4.0 (rhbz#2380492) - -* Wed Jul 23 2025 Fedora Release Engineering - 0.6.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - * Mon Mar 17 2025 Artur Frenszek-Iwicki - 0.6.2-1 - Update to v0.6.2 * Sun Mar 09 2025 Artur Frenszek-Iwicki - 0.6.1-1 - Update to v0.6.1 -- Switch to Qt6 - -* Thu Jan 16 2025 Fedora Release Engineering - 0.6.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Wed Jul 17 2024 Fedora Release Engineering - 0.6.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jan 23 2024 Artur Frenszek-Iwicki - 0.6.0-5 - Fix FTBFS