]> git.pld-linux.org Git - packages/kde4-kblackbox.git/blame - kde4-kblackbox.spec
- rebuild for g++ ABI changes
[packages/kde4-kblackbox.git] / kde4-kblackbox.spec
CommitLineData
223f6229
WF
1%define _state stable
2%define orgname kblackbox
3%define qtver 4.8.0
4
5Summary: A little logical game for KDE
6Summary(pl.UTF-8): Prosta gra logiczna
7Summary(pt_BR.UTF-8): Versão do jogo Blackbox do Emacs para KDE
3ab9a6d5 8Name: kde4-%{orgname}
9be45f9e 9Version: 4.14.3
7a398aa0 10Release: 2
223f6229
WF
11License: GPL
12Group: X11/Applications/Games
41f269f0 13Source0: http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
9be45f9e 14# Source0-md5: fa1da37fb92404a8231e83f9039b2176
223f6229
WF
15BuildRequires: automoc4 >= 0.9.88
16BuildRequires: cmake >= 2.8.0
17BuildRequires: kde4-kdelibs-devel >= %{version}
18BuildRequires: kde4-libkdegames-devel >= %{version}
19BuildRequires: qt4-build >= %{qtver}
20BuildRequires: qt4-qmake >= %{qtver}
21BuildRequires: rpmbuild(macros) >= 1.600
3ab9a6d5 22Obsoletes: kde4-kdegames-%{orgname}
223f6229
WF
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26KBlackbox is a game of hide and seek played on an grid of boxes. Your
27opponent (the Random number generator, in this case) has hidden
28several balls within this box. By shooting rays into the box and
29observing where they emerge it is possible to deduce the positions of
30the hidden balls. The fewer rays you use to find the balls, the better
31(the lower) your score.
32
33%description -l pl.UTF-8
34KBlackbox to gra w ukrywanie i szukanie rozgrywana na siatce pudełek.
35Przeciwnik (w tym wypadku generator liczb losowych) ukrył kilka piłek
36w tym pudełku. Poprzez strzelanie promieniami w pudełko i obserwowanie
37jak się wynurzają można wydedukować położenie ukrytych piłek. Im mniej
38promieni użyje się do znalezienia piłek, tym lepszy (mniejszy) jest
39wynik.
40
41%description -l pt_BR.UTF-8
42Versão do jogo Blackbox do Emacs para KDE.
43
44%prep
45%setup -q -n %{orgname}-%{version}
46
47%build
48install -d build
49cd build
50%cmake \
51 ../
52
53%{__make}
54
55%install
56rm -rf $RPM_BUILD_ROOT
57
58%{__make} -C build install \
59 DESTDIR=$RPM_BUILD_ROOT \
60 kde_htmldir=%{_kdedocdir}
61
62install -d $RPM_BUILD_ROOT/var/games
223f6229
WF
63# remove locolor icons
64rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
65
3ab9a6d5 66%find_lang %{orgname} --with-kde
223f6229
WF
67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%post -p /sbin/ldconfig
72%postun -p /sbin/ldconfig
73
3ab9a6d5 74%files -f %{orgname}.lang
223f6229
WF
75%defattr(644,root,root,755)
76%attr(755,root,root) %{_bindir}/kblackbox
77%{_desktopdir}/kde4/kblackbox.desktop
78%{_datadir}/apps/kblackbox
79%{_iconsdir}/*/*/apps/kblackbox.png
This page took 0.090001 seconds and 5 git commands to generate.