# $Revision: 1.11 $, $Date: 2002/10/16 11:57:27 $ Summary: Arkanoid clone Summary(pl): Klon Arkanoida Name: lbreakout2 Version: 2.3.6 Release: 1 License: GPL Group: X11/Applications/Games Source0: http://ftp1.sourceforge.net/lgames/%{name}-%{version}.tar.gz Source1: %{name}.desktop Source2: %{name}.png Patch0: %{name}-png-conflict.patch URL: http://www.lgames.org/ BuildRequires: SDL-devel >= 1.1.5 BuildRequires: SDL_mixer-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: libpng-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/X11R6 %define _mandir %{_prefix}/man %description LBreakout is a breakout game with nice graphics, effects and sound. You can play it either with mouse or keyboard and you can create your own levels. %description -l pl LBreakout to gra breakout z przyjemn± grafik±, efektami i d¼wiêkiem. Mo¿na graæ mysz± lub klawiatur± oraz tworzyæ w³asne poziomy. %prep %setup -q %patch -p1 mv -f client/png.h client/pngm.h %build rm -f missing %{__aclocal} %{__autoconf} %{__automake} %configure \ --with-highscore-path=/var/games %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Arcade,/var/games,%{_pixmapsdir}} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Arcade install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc docs/*{html,jpg} %attr(2755,root,games) %{_bindir}/* %{_datadir}/games/lbreakout2 %attr(664,root,games) %config(noreplace) %verify(not mtime md5 size) /var/games/lbreakout* %{_applnkdir}/Games/Arcade/* %{_pixmapsdir}/* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <feedback@pld.org.pl> All persons listed below can be reached at <cvs_login>@pld.org.pl $Log: lbreakout2.spec,v $ Revision 1.11 2002/10/16 11:57:27 krolik - updated to new 2.3.6 version Revision 1.10 2002/10/09 13:14:36 kloczek - use more macros, some cosmetics, added missing "rm -f missing" and use new %doc Revision 1.9 2002/10/05 08:50:32 qboosh - removed gcc3 ICE workaround (fixed by gcc-mmx-ice.patch) Revision 1.8 2002/09/25 08:16:00 trojan - updated to 2.3.5 Revision 1.7 2002/09/17 22:41:17 qboosh - added workaround for gcc3 ICE Revision 1.6 2002/09/04 21:00:22 qboosh - added png-conflict patch, fixed doc - builds now Revision 1.5 2002/08/31 09:51:38 trojan - updated to 2.3.2 - NFY: I don't now how solve conflict /usr/include/png.h with $(top_src_dir)/client/png.h Revision 1.4 2002/05/21 23:13:42 kloczek perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \ s/^automake -a -c -f/\%\{__automake\}/; \ s/^autoconf/\%\{__autoconf\}/" Revision 1.3 2002/03/24 23:28:20 kloczek - perl -pi -e "s/^automake -a -c$/automake -a -c -f/" Revision 1.2 2002/03/01 09:05:30 kloczek - moved desktop file to Games/Arcade, - cosmetics. Revision 1.1 2002/02/28 09:06:58 wolf - based on lbreakout.spec