[packages/kde4-katomic: 1/2] - new, taken from kde4-kdegames

witekfl witekfl at pld-linux.org
Mon Dec 23 20:19:28 CET 2013


commit f12bd8b929679bdb9f370ed68b09f731536af725
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Mon Dec 23 20:18:18 2013 +0100

    - new, taken from kde4-kdegames

 kde4-katomic.spec | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)
---
diff --git a/kde4-katomic.spec b/kde4-katomic.spec
new file mode 100644
index 0000000..64f2da3
--- /dev/null
+++ b/kde4-katomic.spec
@@ -0,0 +1,76 @@
+%define		_state		stable
+%define		orgname		katomic
+%define		qtver		4.8.0
+
+Summary:	KDE Sokoban clone
+Summary(pl.UTF-8):	Klon gry Sokoban dla KDE
+Summary(pt_BR.UTF-8):	Jogo semelhante ao Sokoban mas o objetivo é formar moléculas
+Group:		X11/Applications/Games
+Name:		kde4-katomic
+Version:	4.12.0
+Release:	1
+License:	GPL
+Source0:	ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
+# Source0-md5:	4fd770040c8c27f99f55c9dfdfeddb6f
+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-katomic
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Atomic Entertainment is a small game which resembles Sokoban. The
+Object of the game is to build chemical molecules on a Sokoban like
+board.
+
+%description -l pl.UTF-8
+Atomic to mała gra podobna do gry Sokoban. Celem gry jest zbudowanie
+cząsteczek chemicznych na planszy podobnej do tej z gry Sokoban.
+
+%description -l pt_BR.UTF-8
+Jogo semelhante ao Sokoban mas o objetivo é formar moléculas.
+
+%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 katomic	--with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post			-p /sbin/ldconfig
+%postun			-p /sbin/ldconfig
+
+%files -f katomic.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/katomic
+%{_desktopdir}/kde4/katomic.desktop
+%{_datadir}/apps/katomic
+%{_datadir}/config/katomic.knsrc
+%{_datadir}/apps/kconf_update/katomic-levelset-upd.pl
+%{_datadir}/apps/kconf_update/katomic-levelset.upd
+%{_iconsdir}/*/*/apps/katomic.png
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-katomic.git/commitdiff/60f75af50d5a3268e094e76ce527eddbb8ef821f



More information about the pld-cvs-commit mailing list