/[packages]/cauldron/ckb-next/pristine/SPECS/ckb-next.spec
ViewVC logotype

Diff of /cauldron/ckb-next/pristine/SPECS/ckb-next.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1469202 by julien, Fri Dec 20 21:03:52 2019 UTC revision 1582727 by julien, Sun May 10 15:22:32 2020 UTC
# Line 1  Line 1 
1  Name:           ckb-next  Name:           ckb-next
2  Version:        0.4.2  Version:        0.4.2
3  Release:        1  Release:        %mkrel 3
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
# Line 16  Source3:        99-ckb-next.preset Line 16  Source3:        99-ckb-next.preset
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.3
# Line 33  BuildRequires:  desktop-file-utils Line 34  BuildRequires:  desktop-file-utils
34  BuildRequires:  appstream-util  BuildRequires:  appstream-util
35  BuildRequires:  ImageMagick  BuildRequires:  ImageMagick
36    
 Obsoletes:      ckb  
   
37  Requires(post):   rpm-helper >= %{rpmhelper_required_version}  Requires(post):   rpm-helper >= %{rpmhelper_required_version}
38  Requires(preun):  rpm-helper >= %{rpmhelper_required_version}  Requires(preun):  rpm-helper >= %{rpmhelper_required_version}
39  Requires(postun): rpm-helper >= %{rpmhelper_required_version}  Requires(postun): rpm-helper >= %{rpmhelper_required_version}
# Line 60  supports much of the same functionality, Line 59  supports much of the same functionality,
59  %{_libdir}/cmake/ckb-next  %{_libdir}/cmake/ckb-next
60    
61  %prep  %prep
62  %setup -q -n %{name}-%{version}  %setup -q
63  %autopatch -p0  %autopatch -p0
64    
65  %build  %build
66    # We force systemd since autodetection fail inside the buildsystem
67  %cmake -DCMAKE_BUILD_TYPE=Release \  %cmake -DCMAKE_BUILD_TYPE=Release \
68           -DFORCE_INIT_SYSTEM=systemd \
69         -DSAFE_INSTALL=OFF \         -DSAFE_INSTALL=OFF \
70         -DSAFE_UNINSTALL=OFF \         -DSAFE_UNINSTALL=OFF \
71         -DCMAKE_INSTALL_PREFIX=%{_prefix} \         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
# Line 72  supports much of the same functionality, Line 73  supports much of the same functionality,
73         -DDISABLE_UPDATER=1 \         -DDISABLE_UPDATER=1 \
74         -DUDEV_RULE_DIRECTORY=%{_udevrulesdir}         -DUDEV_RULE_DIRECTORY=%{_udevrulesdir}
75    
76  %make_build  %cmake_build
77    
78  %install  %install
79  %make_install -C build  %cmake_install
80    
81  %__install -Dpm 0644 %{SOURCE1} %{buildroot}%{_datadir}/appdata/ckb-next.appdata.xml  %__install -Dpm 0644 %{SOURCE1} %{buildroot}%{_datadir}/appdata/ckb-next.appdata.xml
82  %__install -Dpm 0644 %{SOURCE2} %{buildroot}%{_mandir}/man1/ckb-next.1  %__install -Dpm 0644 %{SOURCE2} %{buildroot}%{_mandir}/man1/ckb-next.1
83  %__install -Dpm 0644 %{SOURCE3} %{buildroot}/%{_presetdir}/99-ckb-next.preset  %__install -Dpm 0644 %{SOURCE3} %{buildroot}/%{_presetdir}/99-ckb-next.preset

Legend:
Removed from v.1469202  
changed lines
  Added in v.1582727

  ViewVC Help
Powered by ViewVC 1.1.30