Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
rocksndiamonds.636
rocksndiamonds.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rocksndiamonds.spec of Package rocksndiamonds.636
# # spec file for package rocksndiamonds (Version 3.2.4) # # Copyright (c) 2009 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: rocksndiamonds BuildRequires: SDL_image-devel SDL_mixer-devel SDL_net-devel fdupes update-desktop-files License: GPLv2+ Group: Amusements/Games/Action/Arcade Provides: rockdiam Obsoletes: rockdiam AutoReqProv: on Version: 3.2.4 Release: 83 PreReq: permissions Summary: Arcade style game with stereo sounds Url: http://www.artsoft.org/rocksndiamonds/ 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 Patch2: %{name}-CVE-2011-4606.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A game like "Boulderdash" (C 64) or "Emerald Mine" (Amiga). Included are many levels known from the games "Boulderdash", "Emerald Mine", "Sokoban", "Supaplex" and "DX-Boulderdash", level elements for "Diamond Caves II" style games and a lot of new levels designed by other players. Some features: - joystick support for Linux, FreeBSD and DOS/Windows - local multiplayer support for all supported platforms - network multiplayer support for Unix platform - soft scrolling with 50 frames/s - stereo sound effects and music - music module support for SDL version (Unix/Win32) - fullscreen support for SDL version (Unix/Win32) - lots of additional levels available (over 10.000) Authors: -------- Holger Schemel <info@artsoft.org> %prep %setup -q if [ ! -f /usr/%_lib/libsmpeg.a ] ; then %patch fi %patch1 %patch2 -p1 cp %{S:2} %{S:3} . pushd levels tar xjf %{S:4} popd %build make sdl \ OPTIONS="$RPM_OPT_FLAGS" \ XLIB_PATH=/usr/X11R6/%{_lib} \ RO_GAME_DIR=/usr/share/games/rocksndiamonds \ RW_GAME_DIR=/var/games/rocksndiamonds %install rm -rf $RPM_BUILD_ROOT LIBDIR=$RPM_BUILD_ROOT/usr/share/games/rocksndiamonds SCOREDIR=$RPM_BUILD_ROOT/var/games/rocksndiamonds 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%{_mandir}/man6 install -m 755 -d $RPM_BUILD_ROOT/usr/share/pixmaps cp -a graphics $LIBDIR cp -a sounds $LIBDIR cp -a music $LIBDIR cp -a levels $LIBDIR 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 %fdupes $RPM_BUILD_ROOT %post %run_permissions %verifyscript %verify_permissions -e /usr/games/rocksndiamonds %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc CHANGES COPYING CREDITS HARDWARE README TODO rocksndiamonds-*.lsm %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 %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor