1 %define kdeappsver 18.12.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: f8728ee96a75c8b2219ffd5dd02b5ce9
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: Qt5Svg-devel
18 BuildRequires: Qt5Widgets-devel
19 BuildRequires: cmake >= 2.8.12
20 BuildRequires: gettext-devel
21 BuildRequires: ka5-libkdegames-devel >= %{kdeappsver}
22 BuildRequires: kf5-extra-cmake-modules >= 5.53.0
23 BuildRequires: kf5-kcompletion-devel >= 5.30.0
24 BuildRequires: kf5-kconfig-devel >= 5.30.0
25 BuildRequires: kf5-kconfigwidgets-devel >= 5.30.0
26 BuildRequires: kf5-kcoreaddons-devel >= 5.30.0
27 BuildRequires: kf5-kcrash-devel >= 5.30.0
28 BuildRequires: kf5-kdbusaddons-devel >= 5.30.0
29 BuildRequires: kf5-kdoctools-devel >= 5.30.0
30 BuildRequires: kf5-ki18n-devel >= 5.30.0
31 BuildRequires: kf5-kio-devel >= 5.30.0
32 BuildRequires: kf5-kwidgetsaddons-devel >= 5.30.0
33 BuildRequires: kf5-kxmlgui-devel >= 5.30.0
35 BuildRequires: qt5-build >= %{qtver}
36 BuildRequires: rpmbuild(macros) >= 1.164
37 BuildRequires: shared-mime-info
38 BuildRequires: tar >= 1:1.22
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 KBounce is a single player arcade game with the elements of puzzle. It
44 is played on a field, surrounded by wall, with two or more balls
45 bouncing around within the walls. The object of the game is to build
46 new walls to decrease the size of the active field.
49 %setup -q -n %{kaname}-%{version}
56 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
61 rm -rf $RPM_BUILD_ROOT
62 %ninja_install -C build
64 %find_lang %{kaname} --all-name --with-kde
67 rm -rf $RPM_BUILD_ROOT
69 %files -f %{kaname}.lang
70 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_bindir}/kbounce
72 %{_desktopdir}/org.kde.kbounce.desktop
73 %{_iconsdir}/hicolor/128x128/apps/kbounce.png
74 %{_iconsdir}/hicolor/16x16/apps/kbounce.png
75 %{_iconsdir}/hicolor/22x22/apps/kbounce.png
76 %{_iconsdir}/hicolor/32x32/apps/kbounce.png
77 %{_iconsdir}/hicolor/48x48/apps/kbounce.png
78 %{_iconsdir}/hicolor/64x64/apps/kbounce.png
80 %{_datadir}/kxmlgui5/kbounce
81 %{_datadir}/metainfo/org.kde.kbounce.appdata.xml