Name: ckb-next Version: 0.4.3 Release: %mkrel 1 Summary: Corsair RGB keyboard driver for Linux and OS X Group: System/Configuration #bundled kissfft library is BSD License: GPLv2 and BSD URL: https://github.com/ckb-next/ckb-next Source0: https://github.com/ckb-next/ckb-next/archive/v%{version}/%{name}-%{version}.tar.gz # Upstream provides none of the following files Source1: ckb-next.appdata.xml Source2: ckb-next.1 Source3: 99-ckb-next.preset Source4: README.install.urpmi Patch0: ckb-next-0.4.2-fix-daemon-path.patch BuildRequires: cmake BuildRequires: cmake(Qt5Core) >= 5.5.1 BuildRequires: cmake(Qt5DBus) >= 5.5.1 BuildRequires: cmake(Qt5Gui) >= 5.5.1 BuildRequires: cmake(Qt5Network) >= 5.5.1 BuildRequires: cmake(Qt5Widgets) >= 5.5.1 BuildRequires: cmake(Qt5X11Extras) >= 5.5.1 BuildRequires: cmake(Qt5LinguistTools) >= 5.5.1 BuildRequires: quazip-devel BuildRequires: pkgconfig(dbusmenu-qt5) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(zlib) BuildRequires: desktop-file-utils BuildRequires: appstream-util BuildRequires: ImageMagick Requires(post): rpm-helper >= %{rpmhelper_required_version} Requires(preun): rpm-helper >= %{rpmhelper_required_version} Requires(postun): rpm-helper >= %{rpmhelper_required_version} %description ckb-next is an open-source driver for Corsair keyboards and mice. It aims to bring the features of their proprietary CUE software to the Linux and Mac operating systems. This project is currently a work in progress, but it already supports much of the same functionality, including full RGB animations. %files %license LICENSE %doc CHANGELOG.md FIRMWARE README.md README.install.urpmi %{_bindir}/* %{_libexecdir}/%{name}-* %{_unitdir}/ckb-next-daemon.service %{_presetdir}/99-ckb-next.preset %{_datadir}/applications/ckb-next.desktop %{_datadir}/appdata/ckb-next.appdata.xml %{_iconsdir}/hicolor/*/apps/ckb-next* %{_mandir}/man1/* %{_udevrulesdir}/*.rules %{_libdir}/cmake/ckb-next %prep %setup -q %autopatch -p1 %build # We force systemd since autodetection fail inside the buildsystem %cmake -DCMAKE_BUILD_TYPE=Release \ -DFORCE_INIT_SYSTEM=systemd \ -DSAFE_INSTALL=OFF \ -DSAFE_UNINSTALL=OFF \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_LIBEXECDIR=libexec \ -DDISABLE_UPDATER=1 \ -DUDEV_RULE_DIRECTORY=%{_udevrulesdir} %cmake_build %install %cmake_install %__install -Dpm 0644 %{SOURCE1} %{buildroot}%{_datadir}/appdata/ckb-next.appdata.xml %__install -Dpm 0644 %{SOURCE2} %{buildroot}%{_mandir}/man1/ckb-next.1 %__install -Dpm 0644 %{SOURCE3} %{buildroot}/%{_presetdir}/99-ckb-next.preset %__install -Dpm 0644 %{SOURCE4} README.install.urpmi appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/ckb-next.appdata.xml %post %_post_service %{name}-daemon %preun %_preun_service %{name}-daemon %postun %systemd_postun_with_restart %{name}-daemon %changelog * Fri Dec 18 2020 julien <julien> 0.4.3-1.mga8 + Revision: 1661007 - new version 0.4.3 - drop patch 1 & 2, merged upstream - adjust BR (new dep, new minimal version of Qt) - adjust filelist for monochrome icons * Wed Dec 16 2020 umeabot <umeabot> 0.4.2-6.mga8 + Revision: 1658224 - Rebuild for new Qt5 * Tue Aug 25 2020 daviddavid <daviddavid> 0.4.2-5.mga8 + Revision: 1618812 - fix wrong path in ckb-next to look for animations into /usr/libexec/ (mga#27192) * Sat Aug 22 2020 daviddavid <daviddavid> 0.4.2-4.mga8 + Revision: 1617995 - add upstream to replace AppIndicator with minimal KStatusNotifier * Sun May 10 2020 julien <julien> 0.4.2-3.mga8 + Revision: 1582727 - fix build for GCC10 (patch from fedora) - don't obsolete a package which has never been in mageia * Tue Feb 18 2020 umeabot <umeabot> 0.4.2-2.mga8 + Revision: 1541136 - Mageia 8 Mass Rebuild + wally <wally> - build with new cmake macros * Sat Dec 21 2019 julien <julien> 0.4.2-1.mga8 + Revision: 1469311 - force systemd since autodetection fail inside buildsystem - update to version 0.4.2 - cleanup and simplify specfile to be more in line with mga policy - add patch0 to fix daemon path instead - add message to inform of the need of manually starting the daemon - imported package ckb-next