File gnome-games.spec of Package gnome-games

#
# spec file for package gnome-games
#
# Copyright (c) 2011 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
Version:        2.32.1
Release:        5
# FIXME: on update to GTK3 version, drop gnome-games-seed-gtk-gir-conflict.patch as it won't be needed anymore
# FIXME: validate list of games for the recommended subpackage
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Games for GNOME
Url:            http://www.gnome.org
Group:          Amusements/Games/Other
Source:         %{name}-%{version}.tar.bz2
Source1:        %{name}-create-post
Source2:        README.openSUSE
Source3:        README-recommended.openSUSE
# PATCH-FIX-UPSTREAM gnome-games-CVE-2010-4003.patch bnc#642829 bgo#638729 CVE-2010-4003 vuntz@opensuse.org -- Does not safely set LD_LIBRARY_PATH
Patch0:         gnome-games-CVE-2010-4003.patch
# PATCH-FIX-UPSTREAM gnome-games-seed-fixes.patch bnc#664917 vuntz@opensuse.org -- Fixes from git for the seed games so they actually work
Patch1:         gnome-games-seed-fixes.patch
# PATCH-FIX-OPENSUSE gnome-games-seed-gtk-gir-conflict.patch vuntz@opensuse.org -- Make sure that GTK2 gir is used, to avoid conflict between the GTK2 and GTK3
Patch2:         gnome-games-seed-gtk-gir-conflict.patch
BuildRequires:  clutter-devel
BuildRequires:  clutter-gtk-devel
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  gconf2-devel
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  gobject-introspection-devel
BuildRequires:  guile-devel
BuildRequires:  intltool
BuildRequires:  libcanberra-devel
BuildRequires:  librsvg-devel
BuildRequires:  libstdc++-devel
BuildRequires:  lsb-release
# Needed to get lsb data
BuildRequires:  dummy-release
BuildRequires:  python-gtk-devel
BuildRequires:  update-desktop-files
Requires:       aisleriot
Requires:       glchess
Requires:       glines
Requires:       gnect
Requires:       gnibbles
Requires:       gnobots2
Requires:       gnome-sudoku
Requires:       gnomine
Requires:       gnotravex
Requires:       gnotski
Requires:       gtali
Requires:       iagno
Requires:       lightsoff
Requires:       mahjongg
Requires:       quadrapassel
Requires:       swell-foop
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if %suse_version <= 1110
%define python_sitelib %{py_sitedir}
%endif

%description
GNOME games is a collection of simple, but addictive, games from the
GNOME desktop project. They represent many of the popular games and
include card games, puzzle games and arcade games. They are meant to
be the sort of game that can be played in five minutes or so. They are
also meant to be fun enough that you will play them again and
again. Of course we can't be held responsible for the time and
productivity lost while playing them.

%package recommended
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Recommended Games for GNOME
Group:          Amusements/Games/Other
# Commented out requires are the games we don't want in recommended
Requires:       aisleriot
Requires:       glchess
#Requires:       glines
#Requires:       gnect
#Requires:       gnibbles
#Requires:       gnobots2
Requires:       gnome-sudoku
Requires:       gnomine
#Requires:       gnotravex
#Requires:       gnotski
#Requires:       gtali
Requires:       iagno
Requires:       lightsoff
Requires:       mahjongg
Requires:       quadrapassel
Requires:       swell-foop

%description recommended
GNOME games is a collection of simple, but addictive, games from the
GNOME desktop project. They represent many of the popular games and
include card games, puzzle games and arcade games. They are meant to
be the sort of game that can be played in five minutes or so. They are
also meant to be fun enough that you will play them again and
again. Of course we can't be held responsible for the time and
productivity lost while playing them.

This package will install a set of recommended games.

%package support
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Games for GNOME - Shared files
Group:          Development/Libraries/GNOME
PreReq:         /bin/chown /bin/chmod /bin/rm /usr/bin/touch
Recommends:     %{name}-support-lang
Suggests:       gnome-games-extra-data

%description support
GNOME games is a collection of simple, but addictive, games from the
GNOME desktop project. They represent many of the popular games and
include card games, puzzle games and arcade games. They are meant to
be the sort of game that can be played in five minutes or so. They are
also meant to be fun enough that you will play them again and
again. Of course we can't be held responsible for the time and
productivity lost while playing them.

This package contains shared libraries and data files needed by the
various games.

%package -n aisleriot
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Solitaire Card Games for GNOME
Group:          Amusements/Games/Board/Card
Requires:       %{name}-support = %{version}
Recommends:     aisleriot-lang
%gconf_schemas_prereq

%description -n aisleriot
Aisleriot is a compilation of 80 different solitaire card games.

This package is part of gnome-games.

%package -n glchess
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Chess Game for GNOME
Group:          Amusements/Games/Board/Chess
Requires:       %{name}-support = %{version}
Requires:       chess_backend
Requires:       gnome-python-desktop
Requires:       python-gnome
Recommends:     glchess-lang
Recommends:     python-gtkglext
Recommends:     python-opengl
%gconf_schemas_prereq
%py_requires

%description -n glchess
This is a game for playing the classic board game of chess, in which
two players simulate a battle by capturing the opponents pieces and
ultimately the king. It can be played in 2D or 3D mode, full screen or
in a window.

This package is part of gnome-games.

%package -n glines
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        "Five or More" Game for GNOME
Group:          Amusements/Games/Board/Puzzle
PreReq:         /bin/chown /bin/chmod /bin/rm /usr/bin/touch
Requires:       %{name}-support = %{version}
Recommends:     glines-lang
%gconf_schemas_prereq

%description -n glines
Five or More is a game where one must align colored pieces as the
board gets filled with randomly placed pieces. When five or more
pieces of the same color get lined up, they disappear. The game ends
when the board gets filled up all the way.

This package is part of gnome-games.

%package -n gnect
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Connect Four Game for GNOME
Group:          Amusements/Games/Board/Other
Requires:       %{name}-support = %{version}
Recommends:     gnect-lang
%gconf_schemas_prereq

%description -n gnect
The object of Four-in-a-Row is to place four pieces in a vertical,
horizontal, or diagonal row while the opponent tries to block and make
his/her own row of four. Four-in-a-Row can be played against another
human or the computer.

This package is part of gnome-games.

%package -n gnibbles
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Worm Game for GNOME
Group:          Amusements/Games/Action/Arcade
PreReq:         /bin/chown /bin/chmod /bin/rm /usr/bin/touch
Requires:       %{name}-support = %{version}
Recommends:     gnibbles-lang
%gconf_schemas_prereq

%description -n gnibbles
Nibbles is a worm game for GNOME. The player controls a 2D worm while
trying to get food. Getting food gives points, but hitting anything
causes a loss of points. When all points are lost, the player loses.

This package is part of gnome-games.

%package -n gnobots2
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Robots Game for GNOME
Group:          Amusements/Games/Action/Arcade
PreReq:         /bin/chown /bin/chmod /bin/rm /usr/bin/touch
Requires:       %{name}-support = %{version}
Recommends:     gnobots2-lang
%gconf_schemas_prereq

%description -n gnobots2
Robots is a graphical version of the original text based robots game,
which can be found on a number of UNIX systems. The player must outwit
the robots chasing him/her by getting them to run into each other.

This package is part of gnome-games.

%package -n gnome-sudoku
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Sudoku Game for GNOME
Group:          Amusements/Games/Logic
Requires:       %{name}-support = %{version}
Requires:       gnome-python-desktop
Requires:       python-gnome
Recommends:     gnome-sudoku-lang
%gconf_schemas_prereq
%py_requires

%description -n gnome-sudoku
Sudoku is a logic puzzle game, in which one must fill a 9 by 9 square
with the correct digits.

This package is part of gnome-games.

%package -n gnomine
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Minesweeper Game for GNOME
Group:          Amusements/Games/Board/Other
PreReq:         /bin/chown /bin/chmod /bin/rm /usr/bin/touch
Requires:       %{name}-support = %{version}
Recommends:     gnomine-lang
%gconf_schemas_prereq

%description -n gnomine
This is the popular logic puzzle minesweeper, which includes avoiding
mines while receiving clues for the location of the mines.

This package is part of gnome-games.

%package -n gnotravex
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Tetravex Game for GNOME
Group:          Amusements/Games/Board/Puzzle
PreReq:         /bin/chown /bin/chmod /bin/rm /usr/bin/touch
Requires:       %{name}-support = %{version}
Recommends:     gnotravex-lang
%gconf_schemas_prereq

%description -n gnotravex
Tetravex is a simple puzzle game in which pieces have numbers on each
side. The pieces must be positioned so that the same numbers touch
each other, during which you are being timed. The times are then
stored in a system-wide scoreboard.

This package is part of gnome-games.

%package -n gnotski
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Klotski Game for GNOME
Group:          Amusements/Games/Board/Puzzle
PreReq:         /bin/chown /bin/chmod /bin/rm /usr/bin/touch
Requires:       %{name}-support = %{version}
Recommends:     gnotski-lang
%gconf_schemas_prereq

%description -n gnotski
Klotski is a puzzle game of which the objective is to get the
patterned block to the marker, which is done by moving the blocks in
its way.

This package is part of gnome-games.

%package -n gtali
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Yahtzee Game for GNOME
Group:          Amusements/Games/Board/Other
PreReq:         /bin/chown /bin/chmod /bin/rm /usr/bin/touch
Requires:       %{name}-support = %{version}
Recommends:     gtali-lang
%gconf_schemas_prereq

%description -n gtali
Tali is like Yahtzee, or like poker with dice. The player rolls dice
to try to make the best possible combinations, like 4 of a kind, small
straight, and full house. The player is allowed 3 rolls per turn and
can hold certain dice with each roll.

This package is part of gnome-games.

%package -n iagno
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Reversi Game for GNOME
Group:          Amusements/Games/Board/Other
Requires:       %{name}-support = %{version}
Recommends:     iagno-lang
%gconf_schemas_prereq

%description -n iagno
Iagno is the two player strategy game of Othello, which is also known
as Reversi and is similar to Go. The pieces are tiles that are black
on one side and white on the other and the objective is for the player
to flip his/her opponent's tiles to his/her color, while keeping the
opponent from doing the same. Once the board is filled with tiles, the
winner is the player with the most of his/her color tiles on the
board.

This package is part of gnome-games.

%package -n lightsoff
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Lights Out Game for GNOME
Group:          Amusements/Games/Board/Other
Requires:       %{name}-support = %{version}
Requires:       seed
Recommends:     lightsoff-lang
%gconf_schemas_prereq

%description -n lightsoff
Lights Out is a board game where the goal is to switch off all tiles.
Toggling the status of one tile, will also toggle the status of its
adjacent tiles.

This package is part of gnome-games.

%package -n mahjongg
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Mahjong Solitaire Game for GNOME
Group:          Amusements/Games/Board/Puzzle
PreReq:         /bin/chown /bin/chmod /bin/rm /usr/bin/touch
Requires:       %{name}-support = %{version}
Recommends:     mahjongg-lang
%gconf_schemas_prereq

%description -n mahjongg
Mahjongg is a solitaire version of the classic Eastern tile game. It
involves clearing as much of the board as possible by matching
corresponding tiles and taking them out of play.

This package is part of gnome-games.

%package -n quadrapassel
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Tetris Game for GNOME
Group:          Amusements/Games/Action/Other
Requires:       %{name}-support = %{version}
Recommends:     quadrapassel-lang
%gconf_schemas_prereq

%description -n quadrapassel
Quadrapassel is a version of Tetris, the classic game of interlocking
four-piece blocks. As they fall from the top, the player must orient
them to fit the other blocks at the bottom so that they form a
complete horizontal line, in which case that line disappears and the
player gains points.

This package is part of gnome-games.

%package -n swell-foop
License:        GPLv2+ ; GPLv3+ ; LGPLv2.1+
Summary:        Same Game for GNOME
Group:          Amusements/Games/Board/Puzzle
PreReq:         /bin/chown /bin/chmod /bin/rm /usr/bin/touch
Requires:       %{name}-support = %{version}
Requires:       seed
Recommends:     swell-foop-lang
%gconf_schemas_prereq

%description -n swell-foop
Swell Foop is a puzzle game, of which the objective is to clear the
window of as many pieces as possible by clicking on groups of the same
colored pieces. That group will vanish and the pieces on top will fall
until there are none left or no more color groups.

This package is part of gnome-games.

%lang_package -n gnome-games-support
%lang_package -n aisleriot
%lang_package -n glchess
%lang_package -n glines
%lang_package -n gnect
%lang_package -n gnibbles
%lang_package -n gnobots2
%lang_package -n gnome-sudoku
%lang_package -n gnomine
%lang_package -n gnotravex
%lang_package -n gnotski
%lang_package -n gtali
%lang_package -n iagno
%lang_package -n lightsoff
%lang_package -n mahjongg
%lang_package -n quadrapassel
%lang_package -n swell-foop
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
cp -a %{S:1} .
cp -a %{S:2} .
cp -a %{S:3} .

%build
%configure \
    --disable-gnuchess \
    --disable-schemas-install \
    --disable-static \
    --disable-scrollkeeper
%__make %{?jobs:-j%jobs}

%install
%makeinstall
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
find %{buildroot} -name '*.la' -delete
%suse_update_desktop_file -N "FreeCell" -G "Solitaire" freecell
%suse_update_desktop_file glchess
%suse_update_desktop_file glines
%suse_update_desktop_file gnect
%suse_update_desktop_file gnibbles
%suse_update_desktop_file gnobots2
%suse_update_desktop_file gnome-sudoku
%suse_update_desktop_file gnomine
%suse_update_desktop_file gnotravex
%suse_update_desktop_file gnotski
%suse_update_desktop_file gtali
%suse_update_desktop_file -G "Reversi" iagno
%suse_update_desktop_file lightsoff
%suse_update_desktop_file mahjongg
%suse_update_desktop_file -G "Tetris" quadrapassel
%suse_update_desktop_file -N "AisleRiot" -G "Solitaire" sol
%suse_update_desktop_file swell-foop
%find_lang %{name} %{?no_lang_C}
for subpackage in aisleriot glchess glines gnect gnibbles gnobots2 gnome-sudoku gnomine gnotravex gnotski gtali iagno lightsoff mahjongg quadrapassel swell-foop; do
  %find_lang ${subpackage} %{?no_lang_C}
  %def_gconf_schemas ${subpackage}
  %add_gconf_schemas ${subpackage}
done
%end_gconf_schemas
bash gnome-games-create-post %{buildroot}
%fdupes %{buildroot}

%clean
rm -rf %{buildroot}
######## begin scriptlets ########

%post support
# 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
# Obsolete since 11.3:
rm -f var/games/gnometris.scores
rm -f var/games/same-gnome.Large.scores
rm -f var/games/same-gnome.Medium.scores
rm -f var/games/same-gnome.Small.scores
### aisleriot scriptlets ###

%pre -n aisleriot -f aisleriot.schemas_pre

%post -n aisleriot
%desktop_database_post
%icon_theme_cache_post

%posttrans -n aisleriot -f aisleriot.schemas_posttrans

%preun -n aisleriot -f aisleriot.schemas_preun

%postun -n aisleriot
%desktop_database_postun
%icon_theme_cache_postun
### glchess scriptlets ###

%pre -n glchess -f glchess.schemas_pre

%post -n glchess
%desktop_database_post
%icon_theme_cache_post

%posttrans -n glchess -f glchess.schemas_posttrans

%preun -n glchess -f glchess.schemas_preun

%postun -n glchess
%desktop_database_postun
%icon_theme_cache_postun
### glines scriptlets ###

%pre -n glines -f glines.schemas_pre

%post -n glines -f glines.scores_post
%run_permissions
%verifyscript -n glines
%verify_permissions -e %{_bindir}/glines
%desktop_database_post
%icon_theme_cache_post

%posttrans -n glines -f glines.schemas_posttrans

%preun -n glines -f glines.schemas_preun

%postun -n glines
%desktop_database_postun
%icon_theme_cache_postun
### gnect scriptlets ###

%pre -n gnect -f gnect.schemas_pre

%post -n gnect
%desktop_database_post
%icon_theme_cache_post

%posttrans -n gnect -f gnect.schemas_posttrans

%preun -n gnect -f gnect.schemas_preun

%postun -n gnect
%desktop_database_postun
%icon_theme_cache_postun
### gnibbles scriptlets ###

%pre -n gnibbles -f gnibbles.schemas_pre

%post -n gnibbles -f gnibbles.scores_post
%run_permissions
%verifyscript -n gnibbles
%verify_permissions -e %{_bindir}/gnibbles
%desktop_database_post
%icon_theme_cache_post

%posttrans -n gnibbles -f gnibbles.schemas_posttrans

%preun -n gnibbles -f gnibbles.schemas_preun

%postun -n gnibbles
%desktop_database_postun
%icon_theme_cache_postun
### gnobots2 scriptlets ###

%pre -n gnobots2 -f gnobots2.schemas_pre

%post -n gnobots2 -f gnobots2.scores_post
%run_permissions
%verifyscript -n gnobots2
%verify_permissions -e %{_bindir}/gnobots2
%desktop_database_post
%icon_theme_cache_post

%posttrans -n gnobots2 -f gnobots2.schemas_posttrans

%preun -n gnobots2 -f gnobots2.schemas_preun

%postun -n gnobots2
%desktop_database_postun
%icon_theme_cache_postun
### gnome-sudoku scriptlets ###

%pre -n gnome-sudoku -f gnome-sudoku.schemas_pre

%post -n gnome-sudoku
%desktop_database_post
%icon_theme_cache_post

%posttrans -n gnome-sudoku -f gnome-sudoku.schemas_posttrans

%preun -n gnome-sudoku -f gnome-sudoku.schemas_preun

%postun -n gnome-sudoku
%desktop_database_postun
%icon_theme_cache_postun
### gnomine scriptlets ###

%pre -n gnomine -f gnomine.schemas_pre

%post -n gnomine -f gnomine.scores_post
%run_permissions
%verifyscript -n gnomine
%verify_permissions -e %{_bindir}/gnomine
%desktop_database_post
%icon_theme_cache_post

%posttrans -n gnomine -f gnomine.schemas_posttrans

%preun -n gnomine -f gnomine.schemas_preun

%postun -n gnomine
%desktop_database_postun
%icon_theme_cache_postun
### gnotravex scriptlets ###

%pre -n gnotravex -f gnotravex.schemas_pre

%post -n gnotravex -f gnotravex.scores_post
%run_permissions
%verifyscript -n gnotravex
%verify_permissions -e %{_bindir}/gnotravex
%desktop_database_post
%icon_theme_cache_post

%posttrans -n gnotravex -f gnotravex.schemas_posttrans

%preun -n gnotravex -f gnotravex.schemas_preun

%postun -n gnotravex
%desktop_database_postun
%icon_theme_cache_postun
### gnotski scriptlets ###

%pre -n gnotski -f gnotski.schemas_pre

%post -n gnotski -f gnotski.scores_post
%run_permissions
%verifyscript -n gnotski
%verify_permissions -e %{_bindir}/gnotski
%desktop_database_post
%icon_theme_cache_post

%posttrans -n gnotski -f gnotski.schemas_posttrans

%preun -n gnotski -f gnotski.schemas_preun

%postun -n gnotski
%desktop_database_postun
%icon_theme_cache_postun
### gtali scriptlets ###

%pre -n gtali -f gtali.schemas_pre

%post -n gtali -f gtali.scores_post
%run_permissions
%verifyscript -n gtali
%verify_permissions -e %{_bindir}/gtali
%desktop_database_post
%icon_theme_cache_post

%posttrans -n gtali -f gtali.schemas_posttrans

%preun -n gtali -f gtali.schemas_preun

%postun -n gtali
%desktop_database_postun
%icon_theme_cache_postun
### iagno scriptlets ###

%pre -n iagno -f iagno.schemas_pre

%post -n iagno
%desktop_database_post
%icon_theme_cache_post

%posttrans -n iagno -f iagno.schemas_posttrans

%preun -n iagno -f iagno.schemas_preun

%postun -n iagno
%desktop_database_postun
%icon_theme_cache_postun
### lightsoff scriptlets ###

%pre -n lightsoff -f lightsoff.schemas_pre

%post -n lightsoff
%desktop_database_post
%icon_theme_cache_post

%posttrans -n lightsoff -f lightsoff.schemas_posttrans

%preun -n lightsoff -f lightsoff.schemas_preun

%postun -n lightsoff
%desktop_database_postun
%icon_theme_cache_postun
### mahjongg scriptlets ###

%pre -n mahjongg -f mahjongg.schemas_pre

%post -n mahjongg -f mahjongg.scores_post
%run_permissions
%verifyscript -n mahjongg
%verify_permissions -e %{_bindir}/mahjongg
%desktop_database_post
%icon_theme_cache_post

%posttrans -n mahjongg -f mahjongg.schemas_posttrans

%preun -n mahjongg -f mahjongg.schemas_preun

%postun -n mahjongg
%desktop_database_postun
%icon_theme_cache_postun
### quadrapassel scriptlets ###

%pre -n quadrapassel -f quadrapassel.schemas_pre

%post -n quadrapassel -f quadrapassel.scores_post
%run_permissions
%verifyscript -n quadrapassel
%verify_permissions -e %{_bindir}/quadrapassel
%desktop_database_post
%icon_theme_cache_post

%posttrans -n quadrapassel -f quadrapassel.schemas_posttrans

%preun -n quadrapassel -f quadrapassel.schemas_preun

%postun -n quadrapassel
%desktop_database_postun
%icon_theme_cache_postun
### swell-foop scriptlets ###

%pre -n swell-foop -f swell-foop.schemas_pre

%post -n swell-foop
%desktop_database_post
%icon_theme_cache_post

%posttrans -n swell-foop -f swell-foop.schemas_posttrans

%preun -n swell-foop -f swell-foop.schemas_preun

%postun -n swell-foop
%desktop_database_postun
%icon_theme_cache_postun
######## end scriptlets ########

%files
%defattr(-, root, root)
%doc README.openSUSE

%files recommended
%defattr(-, root, root)
%doc README-recommended.openSUSE

%files support
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/girepository-1.0/GnomeGamesSupport-*.typelib
%dir %{_libdir}/gnome-games
%{_libdir}/gnome-games/libgames-support-gi.so*
%{_datadir}/gir-1.0/GnomeGamesSupport-*.gir
%dir %{_datadir}/gnome-games
%{_datadir}/gnome-games/icons/
%{_datadir}/gnome-games/pixmaps/
%{_datadir}/gnome-games/sounds/
%{_datadir}/gnome-games-common/
# NOTE: when adding/removing a package, make sure to update the
# list of Requires for the gnome-games package (and, if adding, to
# create all the scriplets as well as the lang package).

%files -n aisleriot -f aisleriot.schemas_list
%defattr(-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/aisleriot/
%doc %{_datadir}/gnome/help/aisleriot/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/aisleriot/
%doc %{_datadir}/omf/aisleriot/aisleriot-C.omf
%{_bindir}/sol
%{_datadir}/applications/freecell.desktop
%{_datadir}/applications/sol.desktop
%{_datadir}/gnome-games/aisleriot/
%{_libdir}/gnome-games/ar-cards-renderer
%{_datadir}/icons/hicolor/*/apps/gnome-aisleriot.*
%{_datadir}/icons/hicolor/*/apps/gnome-freecell.*
%{_mandir}/man?/sol.*
# If adding/removing a package, see the NOTE before aisleriot

%files -n glchess -f glchess.schemas_list
%defattr(-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/glchess/
%doc %{_datadir}/gnome/help/glchess/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/glchess/
%doc %{_datadir}/omf/glchess/glchess-C.omf
%{_bindir}/glchess
%{_datadir}/glchess/
%{python_sitelib}/glchess/
%{_datadir}/applications/glchess.desktop
%{_datadir}/icons/hicolor/*/apps/gnome-glchess.*
%{_mandir}/man?/glchess.*
# If adding/removing a package, see the NOTE before aisleriot

%files -n glines -f glines.schemas_list
%defattr(-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/glines/
%doc %{_datadir}/gnome/help/glines/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/glines/
%doc %{_datadir}/omf/glines/glines-C.omf
%{_datadir}/applications/glines.desktop
%{_datadir}/gnome-games/glines/
%{_datadir}/icons/hicolor/*/apps/gnome-glines.*
%{_mandir}/man?/glines.*
%defattr (0755, games, games)
# WARNING: If you are modifying this list, don't forget to edit the
# %post script for verify_permissions.
%verify(not mode) %{_bindir}/glines
%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
# If adding/removing a package, see the NOTE before aisleriot

%files -n gnect -f gnect.schemas_list
%defattr(-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/gnect/
%doc %{_datadir}/gnome/help/gnect/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/gnect/
%doc %{_datadir}/omf/gnect/gnect-C.omf
%{_bindir}/gnect
%{_datadir}/applications/gnect.desktop
%{_datadir}/gnome-games/gnect/
%{_datadir}/icons/hicolor/*/apps/gnome-gnect.*
%{_mandir}/man?/gnect.*
# If adding/removing a package, see the NOTE before aisleriot

%files -n gnibbles -f gnibbles.schemas_list
%defattr(-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/gnibbles/
%doc %{_datadir}/gnome/help/gnibbles/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/gnibbles/
%doc %{_datadir}/omf/gnibbles/gnibbles-C.omf
%{_datadir}/applications/gnibbles.desktop
%{_datadir}/gnome-games/gnibbles/
%{_datadir}/icons/hicolor/*/apps/gnome-gnibbles.*
%{_mandir}/man?/gnibbles.*
%defattr (0755, games, games)
# WARNING: If you are modifying this list, don't forget to edit the
# %post script for verify_permissions.
%verify(not mode) %{_bindir}/gnibbles
%defattr (0664, games, games)
# WARNING: If you are modifying this list,
# don't forget to remove obsolete scores in %post.
%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
# If adding/removing a package, see the NOTE before aisleriot

%files -n gnobots2 -f gnobots2.schemas_list
%defattr(-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/gnobots2/
%doc %{_datadir}/gnome/help/gnobots2/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/gnobots2/
%doc %{_datadir}/omf/gnobots2/gnobots2-C.omf
%{_datadir}/applications/gnobots2.desktop
%{_datadir}/gnome-games/gnobots2/
%{_datadir}/icons/hicolor/*/apps/gnome-robots.*
%{_mandir}/man?/gnobots2.*
%defattr (0755, games, games)
# WARNING: If you are modifying this list, don't forget to edit the
# %post script for verify_permissions.
%verify(not mode) %{_bindir}/gnobots2
%defattr (0664, games, games)
# WARNING: If you are modifying this list,
# don't forget to remove obsolete scores in %post.
%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
# If adding/removing a package, see the NOTE before aisleriot

%files -n gnome-sudoku -f gnome-sudoku.schemas_list
%defattr(-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/gnome-sudoku/
%doc %{_datadir}/gnome/help/gnome-sudoku/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/gnome-sudoku/
%doc %{_datadir}/omf/gnome-sudoku/gnome-sudoku-C.omf
%{_bindir}/gnome-sudoku
%{_datadir}/gnome-sudoku/
%{python_sitelib}/gnome_sudoku/
%{_datadir}/applications/gnome-sudoku.desktop
%{_datadir}/icons/hicolor/*/apps/gnome-sudoku.*
%{_mandir}/man?/gnome-sudoku.*
# If adding/removing a package, see the NOTE before aisleriot

%files -n gnomine -f gnomine.schemas_list
%defattr(-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/gnomine/
%doc %{_datadir}/gnome/help/gnomine/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/gnomine/
%doc %{_datadir}/omf/gnomine/gnomine-C.omf
%{_datadir}/applications/gnomine.desktop
%{_datadir}/gnome-games/gnomine/
%{_datadir}/icons/hicolor/*/apps/gnome-mines.*
%{_mandir}/man?/gnomine.*
%defattr (0755, games, games)
# WARNING: If you are modifying this list, don't forget to edit the
# %post script for verify_permissions.
%verify(not mode) %{_bindir}/gnomine
%defattr (0664, games, games)
# WARNING: If you are modifying this list,
# don't forget to remove obsolete scores in %post.
%ghost %{_localstatedir}/games/gnomine.Custom.scores
%ghost %{_localstatedir}/games/gnomine.Large.scores
%ghost %{_localstatedir}/games/gnomine.Medium.scores
%ghost %{_localstatedir}/games/gnomine.Small.scores
# If adding/removing a package, see the NOTE before aisleriot

%files -n gnotravex -f gnotravex.schemas_list
%defattr(-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/gnotravex/
%doc %{_datadir}/gnome/help/gnotravex/C/
%{_datadir}/applications/gnotravex.desktop
%{_datadir}/icons/hicolor/*/apps/gnome-tetravex.*
%{_mandir}/man?/gnotravex.*
%defattr (0755, games, games)
# WARNING: If you are modifying this list, don't forget to edit the
# %post script for verify_permissions.
%verify(not mode) %{_bindir}/gnotravex
%defattr (0664, games, games)
# WARNING: If you are modifying this list,
# don't forget to remove obsolete scores in %post.
%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
# If adding/removing a package, see the NOTE before aisleriot

%files -n gnotski -f gnotski.schemas_list
%defattr(-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/gnotski/
%doc %{_datadir}/gnome/help/gnotski/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/gnotski/
%doc %{_datadir}/omf/gnotski/gnotski-C.omf
%{_datadir}/applications/gnotski.desktop
%{_datadir}/gnome-games/gnotski/
%{_datadir}/icons/hicolor/*/apps/gnome-klotski.*
%{_mandir}/man?/gnotski.*
%defattr (0755, games, games)
# WARNING: If you are modifying this list, don't forget to edit the
# %post script for verify_permissions.
%verify(not mode) %{_bindir}/gnotski
%defattr (0664, games, games)
# WARNING: If you are modifying this list,
# don't forget to remove obsolete scores in %post.
%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
# If adding/removing a package, see the NOTE before aisleriot

%files -n gtali -f gtali.schemas_list
%defattr(-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/gtali/
%doc %{_datadir}/gnome/help/gtali/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/gtali/
%doc %{_datadir}/omf/gtali/gtali-C.omf
%{_datadir}/applications/gtali.desktop
%{_datadir}/gnome-games/gtali/
%{_datadir}/icons/hicolor/*/apps/gnome-tali.*
%{_mandir}/man?/gtali.*
%defattr (0755, games, games)
# WARNING: If you are modifying this list, don't forget to edit the
# %post script for verify_permissions.
%verify(not mode) %{_bindir}/gtali
%defattr (0664, games, games)
# WARNING: If you are modifying this list,
# don't forget to remove obsolete scores in %post.
%ghost %{_localstatedir}/games/gtali.Colors.scores
%ghost %{_localstatedir}/games/gtali.Regular.scores
# If adding/removing a package, see the NOTE before aisleriot

%files -n iagno -f iagno.schemas_list
%defattr(-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/iagno/
%doc %{_datadir}/gnome/help/iagno/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/iagno/
%doc %{_datadir}/omf/iagno/iagno-C.omf
%{_bindir}/iagno
%{_datadir}/applications/iagno.desktop
%{_datadir}/gnome-games/iagno/
%{_datadir}/icons/hicolor/*/apps/gnome-iagno.*
%{_mandir}/man?/iagno.*
# If adding/removing a package, see the NOTE before aisleriot

%files -n lightsoff -f lightsoff.schemas_list
%defattr(-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/lightsoff/
%doc %{_datadir}/gnome/help/lightsoff/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/lightsoff/
%doc %{_datadir}/omf/lightsoff/lightsoff-C.omf
%{_bindir}/lightsoff
%{_datadir}/applications/lightsoff.desktop
%{_datadir}/gnome-games/lightsoff/
%{_datadir}/icons/hicolor/*/apps/gnome-lightsoff.*
# If adding/removing a package, see the NOTE before aisleriot

%files -n mahjongg -f mahjongg.schemas_list
%defattr(-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/mahjongg/
%doc %{_datadir}/gnome/help/mahjongg/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/mahjongg/
%doc %{_datadir}/omf/mahjongg/mahjongg-C.omf
%{_datadir}/applications/mahjongg.desktop
%{_datadir}/gnome-games/mahjongg/
%{_datadir}/icons/hicolor/*/apps/gnome-mahjongg.*
%{_mandir}/man?/mahjongg.*
%defattr (0755, games, games)
# WARNING: If you are modifying this list, don't forget to edit the
# %post script for verify_permissions.
%verify(not mode) %{_bindir}/mahjongg
%defattr (0664, games, games)
# WARNING: If you are modifying this list,
# don't forget to remove obsolete scores in %post.
%ghost %{_localstatedir}/games/mahjongg.difficult.scores
%ghost %{_localstatedir}/games/mahjongg.easy.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
# If adding/removing a package, see the NOTE before aisleriot

%files -n quadrapassel -f quadrapassel.schemas_list
%defattr(-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/quadrapassel/
%doc %{_datadir}/gnome/help/quadrapassel/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/quadrapassel/
%doc %{_datadir}/omf/quadrapassel/quadrapassel-C.omf
%{_datadir}/applications/quadrapassel.desktop
%{_datadir}/gnome-games/quadrapassel/
%{_datadir}/icons/hicolor/*/apps/gnome-quadrapassel.*
%{_mandir}/man?/quadrapassel.*
%defattr (0755, games, games)
# WARNING: If you are modifying this list, don't forget to edit the
# %post script for verify_permissions.
%verify(not mode) %{_bindir}/quadrapassel
%defattr (0664, games, games)
# WARNING: If you are modifying this list,
# don't forget to remove obsolete scores in %post.
%ghost %{_localstatedir}/games/quadrapassel.scores
# If adding/removing a package, see the NOTE before aisleriot

%files -n swell-foop -f swell-foop.schemas_list
%defattr(-, root, root)
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/swell-foop/
%doc %{_datadir}/gnome/help/swell-foop/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/swell-foop/
%doc %{_datadir}/omf/swell-foop/swell-foop-C.omf
%{_bindir}/swell-foop
%{_datadir}/applications/swell-foop.desktop
%{_datadir}/gnome-games/swell-foop/
%{_datadir}/icons/hicolor/*/apps/gnome-swell-foop.*

%files support-lang -f %{name}.lang

%files -n aisleriot-lang -f aisleriot.lang

%files -n glchess-lang -f glchess.lang

%files -n glines-lang -f glines.lang

%files -n gnect-lang -f gnect.lang

%files -n gnibbles-lang -f gnibbles.lang

%files -n gnobots2-lang -f gnobots2.lang

%files -n gnome-sudoku-lang -f gnome-sudoku.lang

%files -n gnomine-lang -f gnomine.lang

%files -n gnotravex-lang -f gnotravex.lang

%files -n gnotski-lang -f gnotski.lang

%files -n gtali-lang -f gtali.lang

%files -n iagno-lang -f iagno.lang

%files -n lightsoff-lang -f lightsoff.lang

%files -n mahjongg-lang -f mahjongg.lang

%files -n quadrapassel-lang -f quadrapassel.lang

%files -n swell-foop-lang -f swell-foop.lang

%changelog