packages: bomberclone/bomberclone.spec - updated to 0.11.9 - some cleanups ...

lisu lisu at pld-linux.org
Tue Jan 11 14:35:05 CET 2011


Author: lisu                         Date: Tue Jan 11 13:35:05 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.11.9
- some cleanups
- fix linking
- more verbose files

---- Files affected:
packages/bomberclone:
   bomberclone.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: packages/bomberclone/bomberclone.spec
diff -u packages/bomberclone/bomberclone.spec:1.20 packages/bomberclone/bomberclone.spec:1.21
--- packages/bomberclone/bomberclone.spec:1.20	Fri Nov 27 14:45:40 2009
+++ packages/bomberclone/bomberclone.spec	Tue Jan 11 14:35:00 2011
@@ -1,19 +1,23 @@
 # $Revision$, $Date$
+#
+# TODO: check if server still works
+#
 %define		_serv_ver	0.2.2
 %define		_mserv	bomberclonemserv-%{_serv_ver}
 Summary:	Clone of the game AtomicBomberMan
 Summary(pl.UTF-8):	Klon gry AtomicBomberMan
 Name:		bomberclone
-Version:	0.11.8
+Version:	0.11.9
 Release:	1
 License:	GPL v2+
 Group:		X11/Applications/Games
-Source0:	http://dl.sourceforge.net/bomberclone/%{name}-%{version}.tar.bz2
-# Source0-md5:	1dedd642120eee8911b12e2ee05e476f
-Source1:	http://dl.sourceforge.net/bomberclone/%{_mserv}.tgz
+Source0:	http://downloads.sourceforge.net/bomberclone/%{name}-%{version}.tar.gz
+# Source0-md5:	3edcfcf69b88dbd2eab42541f236e072
+Source1:	http://downloads.sourceforge.net/bomberclone/%{_mserv}.tgz
 # Source1-md5:	40bbe14055010e7fcf11c6bfd4e4c006
 Source2:	%{name}.desktop
-Patch0:		%{name}mserv-include.patch
+Patch0:		%{name}-link.patch
+Patch1:		%{name}mserv-include.patch
 URL:		http://www.bomberclone.de/
 BuildRequires:	SDL_image-devel >= 1.2
 BuildRequires:	SDL_mixer-devel >= 1.2
@@ -47,11 +51,12 @@
 
 %prep
 %setup -q -a1
-cd %{_mserv}
 %patch0 -p1
+cd %{_mserv}
+%patch1 -p1
+
 
 %build
-cp -f /usr/share/automake/config.sub .
 %configure
 %{__make}
 
@@ -73,13 +78,12 @@
 %{__make} -C %{_mserv} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-cp -f $RPM_BUILD_ROOT%{_datadir}/games/%{name}/gfx/logo.png \
+cp -a $RPM_BUILD_ROOT%{_datadir}/games/%{name}/gfx/logo.png \
 	$RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
 
 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
 
-rm -rf $RPM_BUILD_ROOT/usr/doc/bomberclone \
-	$RPM_BUILD_ROOT/usr/doc/bomberclonemserv
+%{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc/bomberclonemserv
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -89,10 +93,11 @@
 %doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_bindir}/%{name}
 %{_datadir}/games/%{name}
-%{_desktopdir}/*.desktop
-%{_pixmapsdir}/*
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
 
 %files master_server
+%defattr(644,root,root,755)
 %doc README
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/bomberclonemserv
@@ -103,6 +108,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2011/01/11 13:35:00  lisu
+- updated to 0.11.9
+- some cleanups
+- fix linking
+- more verbose files
+
 Revision 1.20  2009/11/27 13:45:40  sparky
 - BR: libstdc++-devel (for master_server)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/bomberclone/bomberclone.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list