]> git.pld-linux.org Git - packages/ka5-kbounce.git/blob - ka5-kbounce.spec
69a799cbcfae790b2150a003fc8c3ff1c25d97ef
[packages/ka5-kbounce.git] / ka5-kbounce.spec
1 %define         kdeappsver      18.12.1
2 %define         qtver           5.9.0
3 %define         kaname          kbounce
4 Summary:        Kbounce
5 Name:           ka5-%{kaname}
6 Version:        18.12.1
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:  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
34 BuildRequires:  ninja
35 BuildRequires:  qt5-build >= %{qtver}
36 BuildRequires:  rpmbuild(macros) >= 1.164
37 BuildRequires:  shared-mime-info
38 BuildRequires:  tar >= 1:1.22
39 BuildRequires:  xz
40 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42 %description
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.
47
48 %prep
49 %setup -q -n %{kaname}-%{version}
50
51 %build
52 install -d build
53 cd build
54 %cmake \
55         -G Ninja \
56         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
57         ..
58 %ninja_build
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 %ninja_install -C build
63
64 %find_lang %{kaname} --all-name --with-kde
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
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
79 %{_datadir}/kbounce
80 %{_datadir}/kxmlgui5/kbounce
81 %{_datadir}/metainfo/org.kde.kbounce.appdata.xml
This page took 0.0629 seconds and 2 git commands to generate.