[packages/kde4-kblackbox] - new, based on kde4-kdegames

witekfl witekfl at pld-linux.org
Mon Dec 23 20:26:47 CET 2013


commit 223f6229c0c91e8a4f9dc51c41a794d2c23f7734
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Mon Dec 23 20:26:19 2013 +0100

    - new, based on kde4-kdegames

 kde4-kblackbox.spec | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 80 insertions(+)
---
diff --git a/kde4-kblackbox.spec b/kde4-kblackbox.spec
new file mode 100644
index 0000000..8b1c72d
--- /dev/null
+++ b/kde4-kblackbox.spec
@@ -0,0 +1,80 @@
+%define		_state		stable
+%define		orgname		kblackbox
+%define		qtver		4.8.0
+
+Summary:	A little logical game for KDE
+Summary(pl.UTF-8):	Prosta gra logiczna
+Summary(pt_BR.UTF-8):	Versão do jogo Blackbox do Emacs para KDE
+Name:		kde4-kblackbox
+Version:	4.12.0
+Release:	1
+License:	GPL
+Group:		X11/Applications/Games
+Source0:	ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
+# Source0-md5:	2531003a4d06e1305f70f42889c54683
+BuildRequires:	automoc4 >= 0.9.88
+BuildRequires:	cmake >= 2.8.0
+BuildRequires:	kde4-kdelibs-devel >= %{version}
+BuildRequires:	kde4-libkdegames-devel >= %{version}
+BuildRequires:	qt4-build >= %{qtver}
+BuildRequires:	qt4-qmake >= %{qtver}
+BuildRequires:	rpmbuild(macros) >= 1.600
+Obsoletes:	kde4-kdegames-kblackbox
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+KBlackbox is a game of hide and seek played on an grid of boxes. Your
+opponent (the Random number generator, in this case) has hidden
+several balls within this box. By shooting rays into the box and
+observing where they emerge it is possible to deduce the positions of
+the hidden balls. The fewer rays you use to find the balls, the better
+(the lower) your score.
+
+%description -l pl.UTF-8
+KBlackbox to gra w ukrywanie i szukanie rozgrywana na siatce pudełek.
+Przeciwnik (w tym wypadku generator liczb losowych) ukrył kilka piłek
+w tym pudełku. Poprzez strzelanie promieniami w pudełko i obserwowanie
+jak się wynurzają można wydedukować położenie ukrytych piłek. Im mniej
+promieni użyje się do znalezienia piłek, tym lepszy (mniejszy) jest
+wynik.
+
+%description -l pt_BR.UTF-8
+Versão do jogo Blackbox do Emacs para KDE.
+
+%prep
+%setup -q -n %{orgname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+	../
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	kde_htmldir=%{_kdedocdir}
+
+install -d $RPM_BUILD_ROOT/var/games
+touch $RPM_BUILD_ROOT/var/games/kbounce.scores
+# remove locolor icons
+rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
+
+%find_lang kblackbox	--with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post			-p /sbin/ldconfig
+%postun			-p /sbin/ldconfig
+
+%files -f kblackbox.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kblackbox
+%{_desktopdir}/kde4/kblackbox.desktop
+%{_datadir}/apps/kblackbox
+%{_iconsdir}/*/*/apps/kblackbox.png
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kblackbox.git/commitdiff/223f6229c0c91e8a4f9dc51c41a794d2c23f7734



More information about the pld-cvs-commit mailing list