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

witekfl witekfl at pld-linux.org
Wed Dec 25 18:50:18 CET 2013


commit 02ad059673e64a7ccb87a360fdd25d67bc9c03df
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Wed Dec 25 18:49:53 2013 +0100

    - new, based on kde4-kdegames

 kde4-kspaceduel.spec | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 72 insertions(+)
---
diff --git a/kde4-kspaceduel.spec b/kde4-kspaceduel.spec
new file mode 100644
index 0000000..b88d8d6
--- /dev/null
+++ b/kde4-kspaceduel.spec
@@ -0,0 +1,72 @@
+%define		_state		stable
+%define		orgname		kspaceduel
+%define		qtver		4.8.0
+
+Summary:	KDE space arcade game for two players
+Summary(pl.UTF-8):	Gra zręcznościowa pod KDE dla dwóch graczy
+Summary(pt_BR.UTF-8):	Versão do jogo Duelo Espacial para o KDE
+Name:		kde4-%{orgname}
+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:	dafe23744776fdf4b177c323e0485fc9
+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-%{orgname}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Each player control a ship that flies around the sun and tries to
+shoot at the other ship. You can play KSpaceduel with another person,
+against the computer, or you can have the computer control both ships
+and play each other.
+
+%description -l pl.UTF-8
+Każdy z graczy kieruje statkiem, który lata dookoła słońca i próbuje
+zestrzelić drugi statek. Można grać w KSpaceduel z inną osobą, z
+komputerem, lub pozwolić, aby komputer kierował obydwoma statkami.
+
+%description -l pt_BR.UTF-8
+Versão do jogo Duelo Espacial para o 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
+# remove locolor icons
+rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor
+
+%find_lang %{orgname}	--with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{orgname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kspaceduel
+%{_desktopdir}/kde4/kspaceduel.desktop
+%{_datadir}/apps/kspaceduel
+%{_datadir}/config.kcfg/kspaceduel.kcfg
+%{_iconsdir}/*/*/apps/kspaceduel.png
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kspaceduel.git/commitdiff/02ad059673e64a7ccb87a360fdd25d67bc9c03df



More information about the pld-cvs-commit mailing list