Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
gnome-games
gnome-games.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-games.spec of Package gnome-games
# # spec file for package gnome-games (Version 2.28.2) # # 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 # 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: gnome-games BuildRequires: check-devel BuildRequires: clutter-devel BuildRequires: clutter-gtk-devel BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gconf2-devel BuildRequires: ggz-client-libs-devel BuildRequires: gir-repository BuildRequires: gnome-doc-utils-devel BuildRequires: gnome-python-desktop BuildRequires: gobject-introspection-devel BuildRequires: guile-devel BuildRequires: intltool BuildRequires: libcanberra-devel BuildRequires: libggz2-devel BuildRequires: librsvg-devel BuildRequires: libstdc++-devel BuildRequires: libxml2-devel BuildRequires: python-gtk-devel BuildRequires: update-desktop-files License: GPLv2+ ; LGPLv2.1+ Group: Amusements/Games/Other Version: 2.28.2 Release: 0.<RELEASE1> Summary: Games for the GNOME 2.x Desktop Source: %{name}-%{version}.tar.bz2 Source2: %{name}-create-post # PATCH-FIX-UPSTREAM gnome-games-same-gnome-clutter-libdir.patch bgo#597399 dimstar@opensuse.org -- Extend LD_LIBRARY_PATH arch specific. Patch0: gnome-games-same-gnome-clutter-libdir.patch # PATCH-FIX-UPSTREAM gnome-games-lightsoff-libdir.patch bgo#597409 dimstar@opensuse.org -- Extend LD_LIBRARY_PATH arch specific. Patch1: gnome-games-lightsoff-libdir.patch Url: http://www.gnome.org BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: /bin/chown /bin/chmod /bin/mv /bin/rm /usr/bin/touch # Up to 10.2 it was a separate package: Provides: glchess Obsoletes: glchess Requires: chess_backend Requires: gnome-python-desktop Requires: python-gnome Requires: seed Requires: %{name}-lang = %{version} Recommends: python-opengl python-gtkglext %py_requires %if %suse_version <= 1110 %define python_sitelib %{py_sitedir} %endif %gconf_schemas_prereq %description This package contains a number of small games for the GNOME 2.x Desktop. Gnome-games is part of the standard GNOME packages. %lang_package %prep %setup -q %patch0 -p1 %patch1 -p1 cp -a %{S:2} . %build %configure \ --disable-gnuchess \ --disable-schemas-install \ --disable-static \ --disable-scrollkeeper \ --enable-staging make # % __make %{?jobs:-j%jobs} %install %makeinstall find %{buildroot} -name '*.la' -delete bash gnome-games-create-post $RPM_BUILD_ROOT %suse_update_desktop_file -G "Blackjack" -C "Play the casino card game Blackjack" blackjack %suse_update_desktop_file -N "FreeCell" -G "Solitaire" -C "Play the popular FreeCell card game" -D aisleriot freecell %suse_update_desktop_file -G "Puzzle Game" -C "Remove colored balls from the board by forming lines" glines %suse_update_desktop_file -G "Connect Four" -C "Compete to make lines of the same color" gnect %suse_update_desktop_file -G "Arcade Game" -C "Guide a worm around a maze" gnibbles %suse_update_desktop_file -G "Arcade Game" -C "Avoid the robots and make them crash into each other" gnobots2 %suse_update_desktop_file -G "Tetris Game" -C "Fit falling blocks together" gnometris %suse_update_desktop_file -G "Minesweeper-like Game" -C "Clear mines from a minefield" gnomine %suse_update_desktop_file -G "Puzzle Game" -C "Play a puzzle game matching tiles together" gnotravex %suse_update_desktop_file -G "Puzzle Game" -C "Solve puzzles by sliding blocks" gnotski %suse_update_desktop_file -G "Board Game" -C "Play a poker-style dice game" gtali BoardGame %suse_update_desktop_file -G "Reversi" -C "Play a game of Reversi" iagno BoardGame %suse_update_desktop_file -G "Mahjongg" -C "Disassemble a pile of tiles by removing matching pairs" mahjongg %suse_update_desktop_file -G "Puzzle Game" -C "Remove groups of balls to try and clear the screen" same-gnome %suse_update_desktop_file -N "AisleRiot" -G "Solitaire" -C "Play many different solitaire games" -D aisleriot sol %suse_update_desktop_file glchess %suse_update_desktop_file gnome-sudoku mkdir -p $RPM_BUILD_ROOT/%{_datadir}/gnome-games cat << EOF > $RPM_BUILD_ROOT/%{_datadir}/gnome-games/sgidlist %{_bindir}/glines %{_bindir}/gtali %{_bindir}/gnibbles %{_bindir}/gnomine %{_bindir}/gnometris %{_bindir}/gnotski %{_bindir}/gnobots2 %{_bindir}/gnotravex %{_bindir}/same-gnome %{_bindir}/mahjongg EOF %find_lang %{name} %find_lang aisleriot %{name}.lang %find_lang blackjack %{name}.lang %find_lang glchess %{name}.lang %find_lang glines %{name}.lang %find_lang gnect %{name}.lang %find_lang gnibbles %{name}.lang %find_lang gnobots2 %{name}.lang %find_lang gnometris %{name}.lang %find_lang gnome-sudoku %{name}.lang %find_lang gnomine %{name}.lang %find_lang gnotravex %{name}.lang %find_lang gnotski %{name}.lang %find_lang gtali %{name}.lang %find_lang iagno %{name}.lang %find_lang lightsoff %{name}.lang %find_lang mahjongg %{name}.lang %find_lang same-gnome %{name}.lang %find_gconf_schemas cat %{name}.schemas_list >%{name}.lst #rm $RPM_BUILD_ROOT%{_libdir}/*/*/*.*a # Create post scriptlet for updsating scores. %fdupes $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %postun -p /sbin/ldconfig %pre -f %{name}.schemas_pre %post -f %{name}.scores_post /sbin/ldconfig %run_permissions # Remove obsolete scores. # Obsolete since 10.0&SLED10: rm -f var/games/gnotski.38.scores var/games/gnotski.39.scores # Obsolete since 10.3&SLED11: rm -f var/games/games/gnome-stones.scores %verifyscript %verify_permissions -f %{_datadir}/gnome-games/sgidlist %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun %files -f %{name}.lst %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %defattr (0755, games, games) %verify(not mode) %{_bindir}/glines %verify(not mode) %{_bindir}/gnibbles %verify(not mode) %{_bindir}/gnobots2 %verify(not mode) %{_bindir}/gnometris %verify(not mode) %{_bindir}/gnomine %verify(not mode) %{_bindir}/gnotravex %verify(not mode) %{_bindir}/gnotski %verify(not mode) %{_bindir}/gtali %verify(not mode) %{_bindir}/mahjongg %verify(not mode) %{_bindir}/same-gnome %verify(not mode) %{_bindir}/same-gnome-clutter %defattr (-, root, root) %{_bindir}/blackjack %{_bindir}/glchess %{_bindir}/gnome-sudoku %{_bindir}/gnect %{_bindir}/iagno %{_bindir}/lightsoff %{_bindir}/sol %{_libdir}/girepository-1.0/*.typelib %dir %{_libdir}/gnome-games %{_libdir}/gnome-games/gnome-games-render-cards %{_libdir}/gnome-games/libgames-support-gi.* %{_datadir}/applications/*.desktop %{_datadir}/gir-1.0/*.gir %{_datadir}/gnome-games %{_datadir}/gnome-games-common %{python_sitelib}/glchess %{python_sitelib}/gnome_sudoku %{_datadir}/gnome-sudoku %{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/icons/hicolor/*/apps/*.svg %{_datadir}/glchess %{_datadir}/ggz/gnome-games %{_mandir}/man?/* %{_sysconfdir}/ggz.modules %defattr (0664, games, games) # WARNING: If you are modifying this list, # don't forget to remove obsolete scores in %post. %ghost %{_localstatedir}/games/glines.Large.scores %ghost %{_localstatedir}/games/glines.Medium.scores %ghost %{_localstatedir}/games/glines.Small.scores %ghost %{_localstatedir}/games/gnibbles.1.0.scores %ghost %{_localstatedir}/games/gnibbles.1.1.scores %ghost %{_localstatedir}/games/gnibbles.2.0.scores %ghost %{_localstatedir}/games/gnibbles.2.1.scores %ghost %{_localstatedir}/games/gnibbles.3.0.scores %ghost %{_localstatedir}/games/gnibbles.3.1.scores %ghost %{_localstatedir}/games/gnibbles.4.0.scores %ghost %{_localstatedir}/games/gnibbles.4.1.scores %ghost %{_localstatedir}/games/gnobots2.classic_robots-safe.scores %ghost %{_localstatedir}/games/gnobots2.classic_robots-super-safe.scores %ghost %{_localstatedir}/games/gnobots2.classic_robots.scores %ghost %{_localstatedir}/games/gnobots2.nightmare-safe.scores %ghost %{_localstatedir}/games/gnobots2.nightmare-super-safe.scores %ghost %{_localstatedir}/games/gnobots2.nightmare.scores %ghost %{_localstatedir}/games/gnobots2.robots2-safe.scores %ghost %{_localstatedir}/games/gnobots2.robots2-super-safe.scores %ghost %{_localstatedir}/games/gnobots2.robots2.scores %ghost %{_localstatedir}/games/gnobots2.robots2_easy-safe.scores %ghost %{_localstatedir}/games/gnobots2.robots2_easy-super-safe.scores %ghost %{_localstatedir}/games/gnobots2.robots2_easy.scores %ghost %{_localstatedir}/games/gnobots2.robots_with_safe_teleport-safe.scores %ghost %{_localstatedir}/games/gnobots2.robots_with_safe_teleport-super-safe.scores %ghost %{_localstatedir}/games/gnobots2.robots_with_safe_teleport.scores %ghost %{_localstatedir}/games/gnometris.scores %ghost %{_localstatedir}/games/gnomine.Custom.scores %ghost %{_localstatedir}/games/gnomine.Large.scores %ghost %{_localstatedir}/games/gnomine.Medium.scores %ghost %{_localstatedir}/games/gnomine.Small.scores %ghost %{_localstatedir}/games/gnotravex.2x2.scores %ghost %{_localstatedir}/games/gnotravex.3x3.scores %ghost %{_localstatedir}/games/gnotravex.4x4.scores %ghost %{_localstatedir}/games/gnotravex.5x5.scores %ghost %{_localstatedir}/games/gnotravex.6x6.scores %ghost %{_localstatedir}/games/gnotski.1.scores %ghost %{_localstatedir}/games/gnotski.10.scores %ghost %{_localstatedir}/games/gnotski.11.scores %ghost %{_localstatedir}/games/gnotski.12.scores %ghost %{_localstatedir}/games/gnotski.13.scores %ghost %{_localstatedir}/games/gnotski.14.scores %ghost %{_localstatedir}/games/gnotski.15.scores %ghost %{_localstatedir}/games/gnotski.16.scores %ghost %{_localstatedir}/games/gnotski.17.scores %ghost %{_localstatedir}/games/gnotski.18.scores %ghost %{_localstatedir}/games/gnotski.19.scores %ghost %{_localstatedir}/games/gnotski.2.scores %ghost %{_localstatedir}/games/gnotski.20.scores %ghost %{_localstatedir}/games/gnotski.21.scores %ghost %{_localstatedir}/games/gnotski.22.scores %ghost %{_localstatedir}/games/gnotski.23.scores %ghost %{_localstatedir}/games/gnotski.24.scores %ghost %{_localstatedir}/games/gnotski.25.scores %ghost %{_localstatedir}/games/gnotski.26.scores %ghost %{_localstatedir}/games/gnotski.27.scores %ghost %{_localstatedir}/games/gnotski.28.scores %ghost %{_localstatedir}/games/gnotski.29.scores %ghost %{_localstatedir}/games/gnotski.3.scores %ghost %{_localstatedir}/games/gnotski.30.scores %ghost %{_localstatedir}/games/gnotski.31.scores %ghost %{_localstatedir}/games/gnotski.32.scores %ghost %{_localstatedir}/games/gnotski.33.scores %ghost %{_localstatedir}/games/gnotski.34.scores %ghost %{_localstatedir}/games/gnotski.35.scores %ghost %{_localstatedir}/games/gnotski.36.scores %ghost %{_localstatedir}/games/gnotski.37.scores %ghost %{_localstatedir}/games/gnotski.4.scores %ghost %{_localstatedir}/games/gnotski.5.scores %ghost %{_localstatedir}/games/gnotski.6.scores %ghost %{_localstatedir}/games/gnotski.7.scores %ghost %{_localstatedir}/games/gnotski.8.scores %ghost %{_localstatedir}/games/gnotski.9.scores %ghost %{_localstatedir}/games/gtali.Colors.scores %ghost %{_localstatedir}/games/gtali.Regular.scores %ghost %{_localstatedir}/games/mahjongg.difficult.scores %ghost %{_localstatedir}/games/mahjongg.easy.scores %ghost %{_localstatedir}/games/same-gnome.Large.scores %ghost %{_localstatedir}/games/same-gnome.Medium.scores %ghost %{_localstatedir}/games/same-gnome.Small.scores %ghost %{_localstatedir}/games/mahjongg.bridges.scores %ghost %{_localstatedir}/games/mahjongg.cloud.scores %ghost %{_localstatedir}/games/mahjongg.confounding.scores %ghost %{_localstatedir}/games/mahjongg.dragon.scores %ghost %{_localstatedir}/games/mahjongg.pyramid.scores %ghost %{_localstatedir}/games/mahjongg.tictactoe.scores %ghost %{_localstatedir}/games/mahjongg.ziggurat.scores %files lang -f %{name}.lang %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