[packages/lbreakout2] - include additional levels from 20160512 levelsets tarball
qboosh
qboosh at pld-linux.org
Wed Sep 7 17:57:22 CEST 2016
commit b32ef97f50cdbae3fd98c1cc715632a0f4128414
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Sep 7 17:58:51 2016 +0200
- include additional levels from 20160512 levelsets tarball
lbreakout2.spec | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/lbreakout2.spec b/lbreakout2.spec
index 1471544..d99a6f1 100644
--- a/lbreakout2.spec
+++ b/lbreakout2.spec
@@ -1,3 +1,4 @@
+%define levels_ver 20160512
Summary: Breakout/Arkanoid style arcade game
Summary(pl.UTF-8): Gra w stylu Breakouta/Arkanoida
Name: lbreakout2
@@ -7,6 +8,8 @@ License: GPL v2+
Group: X11/Applications/Games
Source0: http://downloads.sourceforge.net/lgames/%{name}-%{version}.tar.gz
# Source0-md5: 1a9238b83f9f13f09b7a4d53e00b4e84
+Source1: http://downloads.sourceforge.net/lgames/%{name}-levelsets-%{levels_ver}.tar.gz
+# Source1-md5: 40aad93c3b3131aa81d08ea8901bf00b
Patch0: %{name}-useless_files.patch
Patch1: %{name}-desktop.patch
URL: http://lgames.sourceforge.net/LBreakout2
@@ -52,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+# additional levels
+tar xzf %{SOURCE1} -C $RPM_BUILD_ROOT%{_datadir}/lbreakout2/levels
+
%find_lang %{name} --all-name
%clean
@@ -62,7 +68,16 @@ rm -rf $RPM_BUILD_ROOT
%doc AUTHORS ChangeLog README TODO docs/*{html,jpg}
%attr(2755,root,games) %{_bindir}/lbreakout2
%attr(2755,root,games) %{_bindir}/lbreakout2server
-%{_datadir}/lbreakout2
+%dir %{_datadir}/lbreakout2
+%dir %{_datadir}/lbreakout2/gfx
+%{_datadir}/lbreakout2/gfx/*.png
+%{_datadir}/lbreakout2/gfx/AbsoluteB
+%{_datadir}/lbreakout2/gfx/Classic
+%{_datadir}/lbreakout2/gfx/Moiree
+%{_datadir}/lbreakout2/gfx/Oz
+%{_datadir}/lbreakout2/gui_theme
+%{_datadir}/lbreakout2/levels
+%{_datadir}/lbreakout2/sounds
%attr(664,root,games) %config(noreplace) %verify(not md5 mtime size) /var/games/lbreakout2.hscr
%{_desktopdir}/lbreakout2.desktop
%{_pixmapsdir}/lbreakout48.gif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lbreakout2.git/commitdiff/b32ef97f50cdbae3fd98c1cc715632a0f4128414
More information about the pld-cvs-commit
mailing list