]>
Commit | Line | Data |
---|---|---|
7503f0bb WF |
1 | %define kdeappsver 18.12.0 |
2 | %define qtver 5.9.0 | |
3 | %define kaname klickety | |
4 | Summary: klickety | |
5 | Name: ka5-%{kaname} | |
6 | Version: 18.12.0 | |
7 | Release: 1 | |
8 | License: GPL v2+/LGPL v2.1+ | |
9 | Group: X11/Applications/Games | |
10 | Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz | |
11 | # Source0-md5: 87b94e4e85750576c47842d1a4ad2f86 | |
12 | URL: http://www.kde.org/ | |
13 | BuildRequires: Qt5Core-devel >= %{qtver} | |
14 | BuildRequires: Qt5Gui-devel >= 5.11.1 | |
15 | BuildRequires: Qt5Qml-devel >= 5.11.1 | |
16 | BuildRequires: Qt5Quick-devel >= 5.11.1 | |
17 | BuildRequires: Qt5Widgets-devel | |
18 | BuildRequires: cmake >= 2.8.12 | |
19 | BuildRequires: gettext-devel | |
20 | BuildRequires: ka5-libkdegames-devel >= 18.12.0 | |
21 | BuildRequires: kf5-extra-cmake-modules >= 5.30.0 | |
22 | BuildRequires: kf5-kconfig-devel >= 5.30.0 | |
23 | BuildRequires: kf5-kconfigwidgets-devel >= 5.30.0 | |
24 | BuildRequires: kf5-kcoreaddons-devel >= 5.30.0 | |
25 | BuildRequires: kf5-kcrash-devel >= 5.30.0 | |
26 | BuildRequires: kf5-kdbusaddons-devel >= 5.30.0 | |
27 | BuildRequires: kf5-kdoctools-devel >= 5.30.0 | |
28 | BuildRequires: kf5-ki18n-devel >= 5.30.0 | |
29 | BuildRequires: kf5-kio-devel >= 5.30.0 | |
30 | BuildRequires: kf5-kwidgetsaddons-devel >= 5.30.0 | |
31 | BuildRequires: kf5-kxmlgui-devel >= 5.30.0 | |
32 | BuildRequires: qt5-build >= %{qtver} | |
33 | BuildRequires: rpmbuild(macros) >= 1.164 | |
34 | BuildRequires: shared-mime-info | |
35 | BuildRequires: tar >= 1:1.22 | |
36 | BuildRequires: xz | |
37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
38 | ||
39 | %description | |
40 | Klickety is a simple, yet challenging color matching game modeled | |
41 | after once famous game of SameGame.The idea behind Klickety is to | |
42 | completely clear the game board filled with the multicolored marbles. | |
43 | ||
44 | %prep | |
45 | %setup -q -n %{kaname}-%{version} | |
46 | ||
47 | %build | |
48 | install -d build | |
49 | cd build | |
50 | %cmake \ | |
51 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ | |
52 | .. | |
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | %{__make} -C build install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
60 | %find_lang %{kaname} --all-name --with-kde | |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %files -f %{kaname}.lang | |
66 | %defattr(644,root,root,755) | |
67 | %attr(755,root,root) %{_bindir}/klickety | |
68 | %{_desktopdir}/org.kde.klickety.desktop | |
69 | %{_desktopdir}/org.kde.ksame.desktop | |
70 | %{_iconsdir}/hicolor/128x128/apps/klickety.png | |
71 | %{_iconsdir}/hicolor/128x128/apps/ksame.png | |
72 | %{_iconsdir}/hicolor/16x16/apps/klickety.png | |
73 | %{_iconsdir}/hicolor/16x16/apps/ksame.png | |
74 | %{_iconsdir}/hicolor/22x22/apps/klickety.png | |
75 | %{_iconsdir}/hicolor/22x22/apps/ksame.png | |
76 | %{_iconsdir}/hicolor/32x32/apps/klickety.png | |
77 | %{_iconsdir}/hicolor/32x32/apps/ksame.png | |
78 | %{_iconsdir}/hicolor/48x48/apps/klickety.png | |
79 | %{_iconsdir}/hicolor/48x48/apps/ksame.png | |
80 | %{_iconsdir}/hicolor/64x64/apps/klickety.png | |
81 | %{_iconsdir}/hicolor/64x64/apps/ksame.png | |
79cef7fe | 82 | %attr(755,root,root) %{_datadir}/kconf_update/klickety-2.0-inherit-ksame-highscore.pl |
7503f0bb WF |
83 | %{_datadir}/kconf_update/klickety.upd |
84 | %{_datadir}/klickety | |
85 | %{_datadir}/kxmlgui5/klickety | |
86 | %{_datadir}/metainfo/org.kde.klickety.appdata.xml | |
87 | %{_datadir}/metainfo/org.kde.ksame.appdata.xml | |
88 | %{_datadir}/sounds/klickety |