commit neverball for openSUSE:Factory
Hello community, here is the log from the commit of package neverball for openSUSE:Factory checked in at Mon Mar 15 00:46:00 CET 2010. -------- --- neverball/neverball.changes 2007-07-10 23:25:38.000000000 +0200 +++ /mounts/work_src_done/STABLE/neverball/neverball.changes 2010-03-14 21:54:08.000000000 +0100 @@ -1,0 +2,19 @@ +Sun Mar 14 20:53:43 UTC 2010 - dimstar@opensuse.org + +- Fix permission of the data files. + +------------------------------------------------------------------- +Fri Mar 12 17:36:15 CET 2010 - dimstar@opensuse.org + +- update to 1.5.4: + + Loads of changes since version 1.4.0 - please see CHANGES. +- Drop neverball-1.4.0-subscript-out-of-range.patch, + neverball-1.3.7-config.diff, neverball-1.4.0-data.diff and + neverball-game-data.patch. +- Use fdupes to save disk space +- Clean up BuildRequires: Mesa-devel, SDL_image-devel and + SDL_mixer-devel are dropped, SDL-*-devel replaced with + libSDL-*-devel. New requirements fdupes, libvorbis-, libpng- and + libjpeg-devel added. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- neverball-1.3.7-config.diff neverball-1.4.0-data.diff neverball-1.4.0-subscript-out-of-range.patch neverball-1.4.0.tar.gz neverball-game-data.patch New: ---- neverball-1.5.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ neverball.spec ++++++ --- /var/tmp/diff_new_pack.sosMyd/_old 2010-03-15 00:45:46.000000000 +0100 +++ /var/tmp/diff_new_pack.sosMyd/_new 2010-03-15 00:45:46.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package neverball (Version 1.4.0) +# spec file for package neverball (Version 1.5.4) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,25 +18,28 @@ Name: neverball -BuildRequires: Mesa-devel SDL_image-devel SDL_mixer-devel SDL_ttf-devel update-desktop-files +Version: 1.5.4 +Release: 1 +License: GPLv2+ Summary: Deftly Guide a Rolling Ball through Many Slick 3D Levels -Version: 1.4.0 -Release: 247 -Source0: neverball-%{version}.tar.gz -Source1: %name.desktop -%define name2 neverputt -Source2: %name2.desktop -Patch0: neverball-1.3.7-config.diff -Patch1: neverball-%{version}-data.diff -Patch2: neverball-game-data.patch -Patch3: neverball-1.4.0-subscript-out-of-range.patch +Url: http://neverball.org Group: Amusements/Games/3D/Other -License: GPL v2 or later -Url: http://icculus.org/neverball/ +Source0: neverball-%{version}.tar.bz2 +Source1: %{name}.desktop +%define name2 neverputt +Source2: %{name2}.desktop +BuildRequires: libSDL_ttf-devel +BuildRequires: libSDL-devel +BuildRequires: libpng-devel +BuildRequires: libjpeg-devel +BuildRequires: libvorbis-devel +BuildRequires: update-desktop-files +BuildRequires: physfs-devel +BuildRequires: fdupes BuildRoot: %{_tmppath}/%{name}-%{version}-build -%define binary /usr/games/%name -%define binary2 /usr/games/%name2 -%define datadir /usr/share/games/%name +%define binary %{_prefix}/games/%{name} +%define binary2 %{_prefix}/games/%{name2} +%define datadir %{_datadir}/games/%{name} %description Guide a rolling ball through dangerous territory that you control by @@ -46,36 +49,28 @@ physics and very clean and appealing 3D graphics, this is definitely a must play. - - -Authors: --------- - Robert Kooima - %prep -%setup -n %name-%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -%patch3 +%setup -q %build -make CC="gcc %optflags -fexpensive-optimizations -fomit-frame-pointer" +make CC="gcc %{optflags} -fexpensive-optimizations -fomit-frame-pointer" DATADIR=%{datadir} %install -rm -rf %buildroot -install -D -m 755 %name %buildroot/%{binary} -install -D -m 755 %name2 %buildroot/%{binary2} -install -d -m 755 %buildroot/%{datadir} +install -D -m 755 %name %{buildroot}%{binary} +install -D -m 755 %name2 %{buildroot}%{binary2} +install -d -m 755 %{buildroot}%{datadir} rm data/*/*.map -cp -rp data/. %buildroot/%{datadir} -chmod -x %buildroot/%{datadir}/back/*.png -chmod -x %buildroot/%{datadir}/shot-putt/*.jpg -chmod -x %buildroot/%{datadir}/*.txt -mkdir -p %buildroot/usr/share/pixmaps -cp icon/*.png %buildroot/usr/share/pixmaps -%suse_update_desktop_file -i %name Game X-SuSE-ActionGame -%suse_update_desktop_file -i %name2 Game X-SuSE-ActionGame +find data -name '*.sol' -exec chmod 644 '{}' \; +cp -rp data/. %{buildroot}%{datadir} +chmod -x %{buildroot}%{datadir}/back/*.png +chmod -x %{buildroot}%{datadir}/shot-putt/*.jpg +chmod -x %{buildroot}%{datadir}/*.txt +mkdir -p %{buildroot}%{_datadir}/pixmaps +cp dist/neverball_64.png %{buildroot}%{_datadir}/pixmaps/neverball.png +cp dist/neverputt_64.png %{buildroot}%{_datadir}/pixmaps/neverputt.png +%suse_update_desktop_file -i -G %{name} %name Game X-SuSE-ActionGame +%suse_update_desktop_file -i -G %{name2} %name2 Game X-SuSE-ActionGame +%fdupes %{buildroot}%{datadir} %files %attr(-,root,root) %doc CHANGES COPYING README @@ -83,11 +78,11 @@ %{binary} %{binary2} %{datadir} -/usr/share/applications/%name.desktop -/usr/share/applications/%name2.desktop -/usr/share/pixmaps/*.png +%{_datadir}/applications/%name.desktop +%{_datadir}/applications/%name2.desktop +%{_datadir}/pixmaps/*.png %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de