1 |
Name: ckb-next |
Name: ckb-next |
2 |
Version: 0.4.2 |
Version: 0.4.3 |
3 |
Release: %mkrel 3 |
Release: %mkrel 1 |
4 |
Summary: Corsair RGB keyboard driver for Linux and OS X |
Summary: Corsair RGB keyboard driver for Linux and OS X |
5 |
Group: System/Configuration |
Group: System/Configuration |
6 |
#bundled kissfft library is BSD |
#bundled kissfft library is BSD |
16 |
Source4: README.install.urpmi |
Source4: README.install.urpmi |
17 |
|
|
18 |
Patch0: ckb-next-0.4.2-fix-daemon-path.patch |
Patch0: ckb-next-0.4.2-fix-daemon-path.patch |
19 |
Patch1: ckb-next-0.4.2--missing-extern-qualifiers.patch |
|
20 |
|
|
21 |
BuildRequires: cmake |
BuildRequires: cmake |
22 |
BuildRequires: cmake(Qt5Core) >= 5.3 |
BuildRequires: cmake(Qt5Core) >= 5.5.1 |
23 |
BuildRequires: cmake(Qt5Gui) >= 5.3 |
BuildRequires: cmake(Qt5DBus) >= 5.5.1 |
24 |
BuildRequires: cmake(Qt5Network) >= 5.3 |
BuildRequires: cmake(Qt5Gui) >= 5.5.1 |
25 |
BuildRequires: cmake(Qt5Widgets) >= 5.3 |
BuildRequires: cmake(Qt5Network) >= 5.5.1 |
26 |
|
BuildRequires: cmake(Qt5Widgets) >= 5.5.1 |
27 |
|
BuildRequires: cmake(Qt5X11Extras) >= 5.5.1 |
28 |
|
BuildRequires: cmake(Qt5LinguistTools) >= 5.5.1 |
29 |
BuildRequires: quazip-devel |
BuildRequires: quazip-devel |
30 |
|
BuildRequires: pkgconfig(dbusmenu-qt5) |
31 |
BuildRequires: pkgconfig(openssl) |
BuildRequires: pkgconfig(openssl) |
32 |
BuildRequires: pkgconfig(gudev-1.0) |
BuildRequires: pkgconfig(gudev-1.0) |
|
BuildRequires: pkgconfig(appindicator-0.1) |
|
33 |
BuildRequires: pkgconfig(systemd) |
BuildRequires: pkgconfig(systemd) |
34 |
BuildRequires: pkgconfig(libpulse) |
BuildRequires: pkgconfig(libpulse) |
35 |
BuildRequires: pkgconfig(zlib) |
BuildRequires: pkgconfig(zlib) |
56 |
%{_presetdir}/99-ckb-next.preset |
%{_presetdir}/99-ckb-next.preset |
57 |
%{_datadir}/applications/ckb-next.desktop |
%{_datadir}/applications/ckb-next.desktop |
58 |
%{_datadir}/appdata/ckb-next.appdata.xml |
%{_datadir}/appdata/ckb-next.appdata.xml |
59 |
%{_iconsdir}/hicolor/*/apps/ckb-next.png |
%{_iconsdir}/hicolor/*/apps/ckb-next* |
60 |
%{_mandir}/man1/* |
%{_mandir}/man1/* |
61 |
%{_udevrulesdir}/*.rules |
%{_udevrulesdir}/*.rules |
62 |
%{_libdir}/cmake/ckb-next |
%{_libdir}/cmake/ckb-next |
63 |
|
|
64 |
%prep |
%prep |
65 |
%setup -q |
%setup -q |
66 |
%autopatch -p0 |
%autopatch -p1 |
67 |
|
|
68 |
%build |
%build |
69 |
# We force systemd since autodetection fail inside the buildsystem |
# We force systemd since autodetection fail inside the buildsystem |
72 |
-DSAFE_INSTALL=OFF \ |
-DSAFE_INSTALL=OFF \ |
73 |
-DSAFE_UNINSTALL=OFF \ |
-DSAFE_UNINSTALL=OFF \ |
74 |
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ |
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ |
75 |
-DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \ |
-DCMAKE_INSTALL_LIBEXECDIR=libexec \ |
76 |
-DDISABLE_UPDATER=1 \ |
-DDISABLE_UPDATER=1 \ |
77 |
-DUDEV_RULE_DIRECTORY=%{_udevrulesdir} |
-DUDEV_RULE_DIRECTORY=%{_udevrulesdir} |
78 |
|
|