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

witekfl witekfl at pld-linux.org
Tue Dec 24 22:11:14 CET 2013


commit 4408aafa0e6a58396d43d2b468ba5b0f842e67d3
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Tue Dec 24 22:10:45 2013 +0100

    - new, based on kde4-kdegames

 kde4-kmines.spec | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)
---
diff --git a/kde4-kmines.spec b/kde4-kmines.spec
new file mode 100644
index 0000000..26d9502
--- /dev/null
+++ b/kde4-kmines.spec
@@ -0,0 +1,75 @@
+%define		_state		stable
+%define		orgname		kmines
+%define		qtver		4.8.0
+
+Summary:	KDE minesweeper game
+Summary(pl.UTF-8):	Saper dla KDE
+Summary(pt_BR.UTF-8):	Versão do jogo 'caça-minas' 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:	372532c110f8a9786c20cedb52afe70c
+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
+This is a very classical minesweeper written from scratch.
+- 3 predefined levels (Easy: 8x8 with 10 mines, Normal: 16x16 with 40
+  mines, Expert: 30x16 with 99 mines)
+- Custom levels
+- High Scores.
+
+%description -l pl.UTF-8
+Wersja klasycznej gry "saper" dla KDE, napisana od zera. Cechy:
+- 3 predefiniowane poziomy (łatwy - 8x8 z 10 minami, normalny - 16x16
+  z 40 minami, dla ekspertów - 30x16 z 99 minami)
+- definiowalne poziomy
+- lista najlepszych wyników.
+
+%description -l pt_BR.UTF-8
+Versão do jogo 'caça-minas' 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}/kmines
+%{_desktopdir}/kde4/kmines.desktop
+%{_datadir}/apps/kmines
+%{_datadir}/config/kmines.knsrc
+%{_iconsdir}/*/*/apps/kmines.png
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kmines.git/commitdiff/4408aafa0e6a58396d43d2b468ba5b0f842e67d3



More information about the pld-cvs-commit mailing list