1 |
Name: ckb-next |
Name: ckb-next |
2 |
Version: 0.4.2 |
Version: 0.4.2 |
3 |
Release: %mkrel 1 |
Release: %mkrel 6 |
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 |
|
Patch2: 0001-Replace-AppIndicator-with-minimal-KStatusNotifier.patch |
21 |
|
|
22 |
BuildRequires: cmake |
BuildRequires: cmake |
23 |
BuildRequires: cmake(Qt5Core) >= 5.3 |
BuildRequires: cmake(Qt5Core) >= 5.3 |
24 |
|
BuildRequires: cmake(Qt5DBus) >= 5.3 |
25 |
BuildRequires: cmake(Qt5Gui) >= 5.3 |
BuildRequires: cmake(Qt5Gui) >= 5.3 |
26 |
BuildRequires: cmake(Qt5Network) >= 5.3 |
BuildRequires: cmake(Qt5Network) >= 5.3 |
27 |
BuildRequires: cmake(Qt5Widgets) >= 5.3 |
BuildRequires: cmake(Qt5Widgets) >= 5.3 |
28 |
BuildRequires: quazip-devel |
BuildRequires: quazip-devel |
29 |
|
BuildRequires: pkgconfig(dbusmenu-qt5) |
30 |
BuildRequires: pkgconfig(openssl) |
BuildRequires: pkgconfig(openssl) |
31 |
BuildRequires: pkgconfig(gudev-1.0) |
BuildRequires: pkgconfig(gudev-1.0) |
|
BuildRequires: pkgconfig(appindicator-0.1) |
|
32 |
BuildRequires: pkgconfig(systemd) |
BuildRequires: pkgconfig(systemd) |
33 |
BuildRequires: pkgconfig(libpulse) |
BuildRequires: pkgconfig(libpulse) |
34 |
BuildRequires: pkgconfig(zlib) |
BuildRequires: pkgconfig(zlib) |
36 |
BuildRequires: appstream-util |
BuildRequires: appstream-util |
37 |
BuildRequires: ImageMagick |
BuildRequires: ImageMagick |
38 |
|
|
|
Obsoletes: ckb |
|
|
|
|
39 |
Requires(post): rpm-helper >= %{rpmhelper_required_version} |
Requires(post): rpm-helper >= %{rpmhelper_required_version} |
40 |
Requires(preun): rpm-helper >= %{rpmhelper_required_version} |
Requires(preun): rpm-helper >= %{rpmhelper_required_version} |
41 |
Requires(postun): rpm-helper >= %{rpmhelper_required_version} |
Requires(postun): rpm-helper >= %{rpmhelper_required_version} |
61 |
%{_libdir}/cmake/ckb-next |
%{_libdir}/cmake/ckb-next |
62 |
|
|
63 |
%prep |
%prep |
64 |
%setup -q -n %{name}-%{version} |
%setup -q |
65 |
%autopatch -p0 |
%autopatch -p1 |
66 |
|
|
67 |
%build |
%build |
68 |
# We force systemd since autodetection fail inside the buildsystem |
# We force systemd since autodetection fail inside the buildsystem |
71 |
-DSAFE_INSTALL=OFF \ |
-DSAFE_INSTALL=OFF \ |
72 |
-DSAFE_UNINSTALL=OFF \ |
-DSAFE_UNINSTALL=OFF \ |
73 |
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ |
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ |
74 |
-DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \ |
-DCMAKE_INSTALL_LIBEXECDIR=libexec \ |
75 |
-DDISABLE_UPDATER=1 \ |
-DDISABLE_UPDATER=1 \ |
76 |
-DUDEV_RULE_DIRECTORY=%{_udevrulesdir} |
-DUDEV_RULE_DIRECTORY=%{_udevrulesdir} |
77 |
|
|