Hello community, here is the log from the commit of package rocksndiamonds for openSUSE:Factory checked in at Tue Sep 20 09:36:14 CEST 2011.
-------- --- rocksndiamonds/rocksndiamonds.changes 2009-11-03 20:22:23.000000000 +0100 +++ /mounts/work_src_done/STABLE/rocksndiamonds/rocksndiamonds.changes 2011-04-24 18:50:32.000000000 +0200 @@ -1,0 +2,7 @@ +Sun Apr 24 16:08:38 UTC 2011 - [email protected] + +- updated to version 3.3.0.1 +- moved game data to /usr/share instead of /usr/share/games +according to packaging conventions + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- rocksndiamonds-3.2.4-gcc4.patch rocksndiamonds-3.2.4-smpeg.patch rocksndiamonds-3.2.4.tar.bz2 New: ---- rocksndiamonds-3.3.0.1-smpeg.patch rocksndiamonds-3.3.0.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rocksndiamonds.spec ++++++ --- /var/tmp/diff_new_pack.IY3etS/_old 2011-09-20 09:35:59.000000000 +0200 +++ /var/tmp/diff_new_pack.IY3etS/_new 2011-09-20 09:35:59.000000000 +0200 @@ -25,17 +25,19 @@ Provides: rockdiam Obsoletes: rockdiam AutoReqProv: on -Version: 3.2.4 +Version: 3.3.0.1 Release: 83 PreReq: permissions Summary: Arcade style game with stereo sounds Url: http://www.artsoft.org/rocksndiamonds/ +# Downloaded from http://www.artsoft.org/RELEASES/unix/rocksndiamonds/rocksndiamonds-3.3.0.1.tar.gz +# Deleted already compiled binary: rm rocksndiamonds +# Repacked as tar.bz2 Source: %{name}-%{version}.tar.bz2 Source2: %{name}.png Source3: %{name}.desktop Source4: Contributions-1.2.0.tar.bz2 Patch: %{name}-%{version}-smpeg.patch -Patch1: %{name}-%{version}-gcc4.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -72,9 +74,8 @@ %prep %setup -q if [ ! -f /usr/%_lib/libsmpeg.a ] ; then -%patch +%patch -p1 fi -%patch1 cp %{S:2} %{S:3} . pushd levels tar xjf %{S:4} @@ -84,18 +85,18 @@ make sdl \ OPTIONS="$RPM_OPT_FLAGS" \ XLIB_PATH=/usr/X11R6/%{_lib} \ - RO_GAME_DIR=/usr/share/games/rocksndiamonds \ - RW_GAME_DIR=/var/games/rocksndiamonds + RO_GAME_DIR=%{_datadir}/%{name} \ + RW_GAME_DIR=%{_var}/games/%{name} %install rm -rf $RPM_BUILD_ROOT -LIBDIR=$RPM_BUILD_ROOT/usr/share/games/rocksndiamonds -SCOREDIR=$RPM_BUILD_ROOT/var/games/rocksndiamonds +LIBDIR=$RPM_BUILD_ROOT%{_datadir}/%{name} +SCOREDIR=$RPM_BUILD_ROOT%{_var}/games/%{name} install -m 755 -d $LIBDIR install -m 755 -d $SCOREDIR -install -m 755 -d $RPM_BUILD_ROOT/usr/games +install -m 755 -d $RPM_BUILD_ROOT%{_bindir}/ install -m 755 -d $RPM_BUILD_ROOT%{_mandir}/man6 -install -m 755 -d $RPM_BUILD_ROOT/usr/share/pixmaps +install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/pixmaps cp -a graphics $LIBDIR cp -a sounds $LIBDIR cp -a music $LIBDIR @@ -103,28 +104,28 @@ find $LIBDIR/levels -name '*.orig' | xargs rm find $LIBDIR -type f -exec chmod 644 \{\} \; find $LIBDIR -type d -exec chmod 755 \{\} \; -install -m 755 rocksndiamonds $RPM_BUILD_ROOT/usr/games -install -m 644 rocksndiamonds.1 $RPM_BUILD_ROOT%{_mandir}/man6/rocksndiamonds.6 -install -m 644 rocksndiamonds.png $RPM_BUILD_ROOT/usr/share/pixmaps -%suse_update_desktop_file -i rocksndiamonds Game ArcadeGame +install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir} +install -m 644 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man6/%{name}.6 +install -m 644 %{name}.png $RPM_BUILD_ROOT%{_datadir}/pixmaps +%suse_update_desktop_file -i %{name} Game ArcadeGame %fdupes $RPM_BUILD_ROOT %post %run_permissions %verifyscript -%verify_permissions -e /usr/games/rocksndiamonds +%verify_permissions -e %{_bindir}/rocksndiamonds %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%doc CHANGES COPYING CREDITS HARDWARE README TODO rocksndiamonds-*.lsm +%doc ChangeLog COPYING CREDITS README %doc %{_mandir}/man6/* -%verify(not mode) %attr(0755,games,games) /usr/games/rocksndiamonds -/usr/share/games/rocksndiamonds -/usr/share/applications/rocksndiamonds.desktop -/usr/share/pixmaps/rocksndiamonds.png -%attr(775,games,games) /var/games/rocksndiamonds +%verify(not mode) %attr(0755,games,games) %{_bindir}/%{name} +%{_datadir}/%{name} +%{_datadir}/applications/%{name}.desktop +%{_datadir}/pixmaps/%{name}.png +%attr(775,games,games) %{_var}/games/%{name} %changelog ++++++ rocksndiamonds-3.2.4-smpeg.patch -> rocksndiamonds-3.3.0.1-smpeg.patch ++++++ --- rocksndiamonds/rocksndiamonds-3.2.4-smpeg.patch 2008-03-06 02:04:49.000000000 +0100 +++ /mounts/work_src_done/STABLE/rocksndiamonds/rocksndiamonds-3.3.0.1-smpeg.patch 2011-04-24 18:38:57.000000000 +0200 @@ -1,8 +1,9 @@ ---- src/Makefile -+++ src/Makefile -@@ -91,7 +91,7 @@ +diff -Naur rocksndiamonds-3.3.0.1/src/Makefile rocksndiamonds-3.3.0.1-new//src/Makefile +--- rocksndiamonds-3.3.0.1/src/Makefile 2010-06-08 22:21:03.000000000 +0200 ++++ rocksndiamonds-3.3.0.1-new//src/Makefile 2011-04-24 18:12:32.376229376 +0200 +@@ -102,7 +102,7 @@ - ifeq ($(TARGET),sdl) + ifeq ($(TARGET),sdl) # compiling for SDL target SYS_CFLAGS = -DTARGET_SDL $(shell sdl-config --cflags) -SDL_LIBS = -lSDL_image -lSDL_mixer -lSDL_net -lsmpeg +SDL_LIBS = -lSDL_image -lSDL_mixer -lSDL_net ++++++ rocksndiamonds-3.2.4.tar.bz2 -> rocksndiamonds-3.3.0.1.tar.bz2 ++++++ ++++ 35696 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
