2 %define orgname kjumpingcube
5 Summary: A little tactical game for KDE
6 Summary(pl.UTF-8): Prosta gra taktyczna dla KDE
7 Summary(pt_BR.UTF-8): Jogo de estratégia para 2 contendores
12 Group: X11/Applications/Games
13 Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
14 # Source0-md5: f18420fdce937a690405383787282bea
15 BuildRequires: automoc4 >= 0.9.88
16 BuildRequires: cmake >= 2.8.0
17 BuildRequires: kde4-kdelibs-devel >= %{version}
18 BuildRequires: kde4-libkdegames-devel >= %{version}
19 BuildRequires: qt4-build >= %{qtver}
20 BuildRequires: qt4-qmake >= %{qtver}
21 BuildRequires: rpmbuild(macros) >= 1.600
22 Obsoletes: kde4-kdegames-%{orgname}
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 KJumpingCube is a simple tactical game. You can play it against the
27 computer or against the friend. The playing field consists of squares
28 that contains points. By clicking on the squares you can increase the
29 points, and if the points reach a maximum the points will jump to the
30 squares neighbours and take them over. Winer is the one, who owns all
33 %description -l pl.UTF-8
34 KJumpingCube to prosta gra taktyczna. Można w nią grać przeciwko
35 komputerowi lub przeciwko koledze. Plansza do gry zawiera pola, które
36 zawierają punkty. Przez klikanie na pola zwiększa się liczbę punktów
37 na nich. Gdy liczba punktów na określonym polu osiągnie maksymalną
38 wartość, punkty przeskakują na sąsiednie pola przejmując je tym samym
39 na własność. Zwycięzca jest jeden - to ten, kto przejmie wszystkie
42 %description -l pt_BR.UTF-8
43 Jogo de estratégia para 2 contendores.
46 %setup -q -n %{orgname}-%{version}
57 rm -rf $RPM_BUILD_ROOT
59 %{__make} -C build install \
60 DESTDIR=$RPM_BUILD_ROOT \
61 kde_htmldir=%{_kdedocdir}
63 install -d $RPM_BUILD_ROOT/var/games
64 # remove locolor icons
65 rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
67 %find_lang %{orgname} --with-kde
70 rm -rf $RPM_BUILD_ROOT
72 %files -f %{orgname}.lang
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/kjumpingcube
75 %{_desktopdir}/kde4/kjumpingcube.desktop
76 %{_datadir}/config.kcfg/kjumpingcube.kcfg
77 %{_datadir}/apps/kjumpingcube
78 %{_iconsdir}/*/*/apps/kjumpingcube.png