-#
-# TODO:
-# - system libggz (http://www.ggzgamingzone.org/)
-#
Summary: GNOME games
Summary(es.UTF-8): Juegos de GNOME
Summary(fr.UTF-8): Jeux pour GNOME
Summary(uk.UTF-8): Ігри під GNOME
Summary(wa.UTF-8): Djeus po GNOME
Name: gnome-games
-Version: 2.18.0.1
-Release: 1
+Version: 3.2.1
+Release: 2
Epoch: 1
License: LGPL
Group: X11/Applications/Games
-Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-games/2.18/%{name}-%{version}.tar.bz2
-# Source0-md5: aa052f1fa0b4c020c0219a227e75721c
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-games/3.2/%{name}-%{version}.tar.xz
+# Source0-md5: ea918bdb469f7bf550750862bbda2b12
Patch0: %{name}-schemas.patch
-Patch1: %{name}-include.patch
-Patch2: %{name}-desktop.patch
-URL: http://www.gnome.org/
-BuildRequires: GConf2-devel >= 2.18.0.1
+URL: http://live.gnome.org/GnomeGames
+BuildRequires: GConf2-devel >= 2.28.0
+BuildRequires: OpenGL-GLU-devel
BuildRequires: autoconf >= 2.53
-BuildRequires: automake >= 1:1.9
-BuildRequires: avahi-glib-devel >= 0.6.15
-BuildRequires: check >= 0.9.4
-BuildRequires: esound-devel
-BuildRequires: gnome-common >= 2.12.0
-BuildRequires: gnome-doc-utils >= 0.10.1
-BuildRequires: gnome-vfs2-devel >= 2.18.0.1
-BuildRequires: gtk+2-devel >= 2:2.10.10
-BuildRequires: guile-devel >= 5:1.6.5
-BuildRequires: intltool >= 0.35.5
-BuildRequires: libglade2-devel >= 1:2.6.0
-BuildRequires: libgnomeui-devel >= 2.18.0
-BuildRequires: libltdl-devel
-BuildRequires: librsvg-devel >= 1:2.16.1
+BuildRequires: automake >= 1:1.11
+BuildRequires: clutter-devel >= 1.0.0
+BuildRequires: clutter-gtk-devel >= 1.0.0
+BuildRequires: docbook-dtd412-xml
+BuildRequires: gettext-devel
+BuildRequires: glib2-devel >= 1:2.26.0
+BuildRequires: glibc-misc
+BuildRequires: gnome-common >= 2.24.0
+BuildRequires: gnome-doc-utils >= 0.14.0
+BuildRequires: gobject-introspection-devel >= 0.10.0
+BuildRequires: gtk+3-devel >= 3.0.0
+BuildRequires: intltool >= 0.40.4
+BuildRequires: libcanberra-gtk3-devel >= 0.26
+BuildRequires: librsvg-devel >= 1:2.32.0
BuildRequires: libstdc++-devel
BuildRequires: libtool
-BuildRequires: libxml2-devel >= 1:2.6.27
-BuildRequires: pkgconfig
-BuildRequires: python-devel >= 2.4
-BuildRequires: python-gnome-desktop-devel >= 2.18.0
-BuildRequires: python-pygtk-devel >= 2:2.10.4
+BuildRequires: pkgconfig >= 1:0.15
+BuildRequires: python-devel >= 1:2.4
+BuildRequires: python-pygobject3-devel >= 3.0.0
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(find_lang) >= 1.23
BuildRequires: rpmbuild(macros) >= 1.311
BuildRequires: scrollkeeper >= 0.3.8
-Requires(post,preun): GConf2
-Requires: gnome-vfs2 >= 2.18.0.1
+BuildRequires: sqlite3-devel
+BuildRequires: tar >= 1:1.22
+BuildRequires: vala >= 2:0.14.0
+BuildRequires: xorg-lib-libSM-devel
+BuildRequires: xorg-proto-glproto-devel
+BuildRequires: xz
+Requires(post,postun): gtk-update-icon-cache
+Requires(post,postun): glib2 >= 1:2.26.0
Requires: hicolor-icon-theme
-Requires: libgnomeui >= 2.18.0
-Requires: librsvg >= 1:2.16.1
+Requires: librsvg >= 1:2.32.0
Obsoletes: gnect
Obsoletes: gnome
+Obsoletes: gnome-games-blackjack
Obsoletes: gnome-games-devel
Obsoletes: gnome-games-gataxx
+Obsoletes: gnome-games-servers
Obsoletes: gnome-games-static
Obsoletes: gnome-games-stones
+# sr@Latn vs. sr@latin
+Conflicts: glibc-misc < 6:2.7
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _localstatedir /var
-%define _gnomehelpdir %{_datadir}/gnome/help
%define _gamesdir %{_localstatedir}/games
%description
gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg,
same-gnome и sol.
-%package blackjack
-Summary: GNOME's version of blackjack
-Summary(pl.UTF-8): Blackjack dla GNOME
-Group: X11/Applications/Games
-Requires(post,postun): gtk+2
-Requires(post,postun): scrollkeeper
-Requires(post,preun): GConf2
-Requires: %{name} = %{epoch}:%{version}-%{release}
-
-%description blackjack
-Casino card game Blackjack.
-
-%description blackjack -l pl.UTF-8
-Kasynowa wersja gry oczko.
-
%package glchess
Summary: GNOME glChess - a 2D/3D chess interface
Summary(pl.UTF-8): GNOME glChess - dwu i trójwymiarowy interfejs do szachów
Group: X11/Applications/Games
Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): scrollkeeper
-Requires(post,preun): GConf2
+Requires(post,postun): glib2 >= 1:2.26.0
Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: hicolor-icon-theme
+Requires: python-gnome-gconf
+Suggests: crafty
+Suggests: gnuchess
+Suggests: python-PyOpenGL
+Suggests: python-pygtkglext >= 1.1.0-2
Obsoletes: glchess
%description glchess
use engines such as GNUChess, Sjeng, Faile, Amy, Crafty and Phalanx.
%description glchess -l pl.UTF-8
-glChess to dwu i trójwymiarowa gra w szachy komunikująca się za
-pomocą protokołu CECP (Chess Engine Communication Protocol) Tima
-Manna. Oznacza to, że aktualnie może używać silników takich jak
-GNUChess, Sjeng, Faile, Amy, Crafty i Phalanx.
+glChess to dwu i trójwymiarowa gra w szachy komunikująca się za pomocą
+protokołu CECP (Chess Engine Communication Protocol) Tima Manna.
+Oznacza to, że aktualnie może używać silników takich jak GNUChess,
+Sjeng, Faile, Amy, Crafty i Phalanx.
%package glines
Summary: Five or more game
Summary(pl.UTF-8): Gra "Pięć albo więcej"
Group: X11/Applications/Games
Requires(post): coreutils
-Requires(post,postun): gtk+2
+Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): scrollkeeper
-Requires(post,preun): GConf2
+Requires(post,postun): glib2 >= 1:2.26.0
Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: hicolor-icon-theme
%description glines
Remove colored balls from the board by forming lines.
%description glines -l pl.UTF-8
-Gra polegająca na usuwaniu kolorwych kul poprzez układanie ich w
+Gra polegająca na usuwaniu kolorowych kul poprzez układanie ich w
linie.
%package gnect
Summary: Four-in-a-row game
Summary(pl.UTF-8): Gra "Cztery w rzędzie"
Group: X11/Applications/Games
-Requires(post,postun): gtk+2
+Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): scrollkeeper
Requires(post,preun): GConf2
Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: hicolor-icon-theme
%description gnect
Compete to make lines of the same color.
%description gnect -l pl.UTF-8
-Gra, której celem jest utowrzenie linii w jednym kolorze.
+Gra, której celem jest utworzenie linii w jednym kolorze.
%package gnibbles
Summary: GNOME Nibbles
Summary(pl.UTF-8): Nibbles dla GNOME
Group: X11/Applications/Games
Requires(post): coreutils
-Requires(post,postun): gtk+2
+Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): scrollkeeper
Requires(post,preun): GConf2
Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: hicolor-icon-theme
%description gnibbles
Guide a worm around a maze.
Summary(pl.UTF-8): Robots dla GNOME
Group: X11/Applications/Games
Requires(post): coreutils
-Requires(post,postun): gtk+2
+Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): scrollkeeper
Requires(post,preun): GConf2
Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: hicolor-icon-theme
%description gnobots2
Avoid the robots and make them crash into each other.
%description gnobots2 -l pl.UTF-8
Gra polegająca na zapobieganiu zderzeniom robotów.
-%package gnometris
-Summary: GNOME Tetris
-Summary(pl.UTF-8): Tetris dla GNOME
-Group: X11/Applications/Games
-Requires(post): coreutils
-Requires(post,postun): gtk+2
-Requires(post,postun): scrollkeeper
-Requires(post,preun): GConf2
-Requires: %{name} = %{epoch}:%{version}-%{release}
-
-%description gnometris
-Tetris like game.
-
-%description gnometris -l pl.UTF-8
-Gra podobna do Tetrisa.
-
%package gnomine
Summary: GNOME Mines
Summary(pl.UTF-8): Miny dla GNOME
Group: X11/Applications/Games
Requires(post): coreutils
-Requires(post,postun): gtk+2
+Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): scrollkeeper
-Requires(post,preun): GConf2
+Requires(post,postun): glib2 >= 1:2.26.0
Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: hicolor-icon-theme
%description gnomine
Clear mines from a minefield.
Summary(pl.UTF-8): Tetravex dla GNOME
Group: X11/Applications/Games
Requires(post): coreutils
-Requires(post,postun): gtk+2
+Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): scrollkeeper
-Requires(post,preun): GConf2
+Requires(post,postun): glib2 >= 1:2.26.0
Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: hicolor-icon-theme
%description gnotravex
Puzzle game.
Summary(pl.UTF-8): Klotski dla GNOME
Group: X11/Applications/Games
Requires(post): coreutils
-Requires(post,postun): gtk+2
+Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): scrollkeeper
Requires(post,preun): GConf2
Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: hicolor-icon-theme
%description gnotski
Clone of the Klotski game. The objective is to move the patterned
Summary(pl.UTF-8): Tali dla GNOME
Group: X11/Applications/Games
Requires(post): coreutils
-Requires(post,postun): gtk+2
+Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): scrollkeeper
Requires(post,preun): GConf2
Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: hicolor-icon-theme
%description gtali
Poker-style dice game.
Summary: GNOME Iagno
Summary(pl.UTF-8): Iagno dla GNOME
Group: X11/Applications/Games
-Requires(post,postun): gtk+2
+Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): scrollkeeper
-Requires(post,preun): GConf2
+Requires(post,postun): glib2 >= 1:2.26.0
Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: hicolor-icon-theme
%description iagno
Reversi like game.
%description iagno -l pl.UTF-8
Gra podobna do Reversi.
+%package lightsoff
+Summary: Lights Off
+Summary(pl.UTF-8): Gra Lights Off dla GNOME
+Group: X11/Applications/Games
+Requires(post,postun): gtk-update-icon-cache
+Requires(post,postun): scrollkeeper
+Requires(post,preun): GConf2
+Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: GConf2-libs
+Requires: clutter >= 1.0.0
+Requires: clutter-gtk >= 1.0.0
+Requires: gobject-introspection >= 0.10.0
+Requires: gtk+3
+Requires: hicolor-icon-theme
+Requires: seed
+
+%description lightsoff
+Lights Off is a puzzle game, where the objective is to turn off all of
+the tiles on the board. Each click toggles the state of the clicked
+tile and its non-diagonal neighbors.
+
+%description lightsoff -l pl.UTF-8
+Lights Off to układanka, której celem jest zgaszenie wszystkich pól na
+planszy. Każde kliknięcie zmienia stan klikniętego pola oraz jego
+najbliższych sąsiadów (nie po przekątnej).
+
%package mahjongg
Summary: GNOME Mahjongg
Summary(pl.UTF-8): Mahjongg dla GNOME
Group: X11/Applications/Games
Requires(post): coreutils
-Requires(post,postun): gtk+2
+Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): scrollkeeper
-Requires(post,preun): GConf2
+Requires(post,postun): glib2 >= 1:2.26.0
Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: hicolor-icon-theme
%description mahjongg
Disassemble a pile of tiles by removing matching pairs.
%description mahjongg -l pl.UTF-8
-Gra polegjaca na demontażu stosu kafli poprzez usuwanie pasujących
+Gra polegająca na demontażu stosu kafli poprzez usuwanie pasujących
par.
-%package same-gnome
-Summary: Same GNOME
+%package quadrapassel
+Summary: GNOME Tetris
+Summary(pl.UTF-8): Tetris dla GNOME
Group: X11/Applications/Games
Requires(post): coreutils
-Requires(post,postun): gtk+2
+Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): scrollkeeper
Requires(post,preun): GConf2
Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: hicolor-icon-theme
+Provides: gnome-games-gnometris
+Obsoletes: gnome-games-gnometris
-%description same-gnome
-Remove groups of balls to try and clear the screen.
-
-%description same-gnome -l pl.UTF-8
-Gra, której celem jest oczyszczanie planszy poprzez usuwanie grup kul.
-
-%package sol
-Summary: AisleRiot Solitaire
-Summary(pl.UTF-8): Pasjans AisleRiot
-Group: X11/Applications/Games
-Requires(post,postun): gtk+2
-Requires(post,postun): scrollkeeper
-Requires(post,preun): GConf2
-Requires: %{name} = %{epoch}:%{version}-%{release}
-Requires: guile >= 5:1.6.5
-
-%description sol
-Many different solitaire games.
+%description quadrapassel
+Tetris like game.
-%description sol -l pl.UTF-8
-Różne gry karciane.
+%description quadrapassel -l pl.UTF-8
+Gra podobna do Tetrisa.
%package sudoku
Summary: Simple interface for playing, saving, printing and solving Sudoku
Summary(pl.UTF-8): Prosty interfejs do grania, zapisywania, drukowania i rozwiązywania Sudoku
Group: X11/Applications/Games
+Requires(post,postun): gtk-update-icon-cache
+Requires(post,preun): GConf2
Requires: %{name} = %{epoch}:%{version}-%{release}
-Requires: python-gnome-desktop-print >= 2.17.93
+Requires: GConf2-libs
+Requires: gobject-introspection >= 0.10.0
+Requires: gtk+3
+Requires: hicolor-icon-theme
+Requires: python-pycairo
+Requires: python-pygobject3
Obsoletes: gnome-sudoku
%description sudoku
GNOME Sudoku dostarcza prosty interfejs do grania, zapisywania,
drukowania i rozwiązywania Sudoku.
+%package swell-foop
+Summary: Swell Foop
+Summary(pl.UTF-8): Gra Swell Foop dla GNOME
+Group: X11/Applications/Games
+Requires(post): coreutils
+Requires(post,postun): gtk-update-icon-cache
+Requires(post,postun): scrollkeeper
+Requires(post,preun): GConf2
+Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: clutter >= 1.0.0
+Requires: gobject-introspection >= 0.10.0
+Requires: gtk+3
+Requires: hicolor-icon-theme
+Requires: seed
+Provides: gnome-games-same-gnome
+Obsoletes: gnome-games-same-gnome
+
+%description swell-foop
+Remove groups of balls to try and clear the screen.
+
+%description swell-foop -l pl.UTF-8
+Gra, której celem jest oczyszczanie planszy poprzez usuwanie grup kul.
+
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
-%patch2 -p1
%build
%{__glib_gettextize}
%{__intltoolize}
%{__libtoolize}
%{__aclocal} -I m4
-%{__autoheader}
%{__autoconf}
+%{__autoheader}
%{__automake}
%configure \
- --disable-bonjour \
- --disable-howl \
+ --enable-games=all \
+ --enable-staging \
--disable-scrollkeeper \
+ --disable-schemas-install \
+ --disable-silent-rules \
--disable-static
+
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT \
- GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
-
-rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-stones/objects/lib*.la
+ DESTDIR=$RPM_BUILD_ROOT
%py_postclean
%find_lang %{name} --all-name
-%find_lang gnect --with-gnome
-%find_lang gnomine --with-gnome
-%find_lang same-gnome --with-gnome
-%find_lang mahjongg --with-gnome
-%find_lang glchess --with-gnome
-%find_lang gtali --with-gnome
-%find_lang gnome-sudoku --with-gnome
-%find_lang gnotravex --with-gnome
-%find_lang gnotski --with-gnome
-%find_lang glines --with-gnome
-%find_lang iagno --with-gnome
-%find_lang gnobots2 --with-gnome
-%find_lang gnibbles --with-gnome
-%find_lang gnometris --with-gnome
-%find_lang blackjack --with-gnome
-%find_lang aisleriot --with-gnome
+%find_lang gnect --with-gnome --with-omf
+%find_lang gnomine --with-gnome --with-omf
+%find_lang swell-foop --with-gnome --with-omf
+%find_lang mahjongg --with-gnome --with-omf
+%find_lang glchess --with-gnome --with-omf
+%find_lang gtali --with-gnome --with-omf
+%find_lang gnome-sudoku --with-gnome --with-omf
+%find_lang gnotravex --with-gnome --with-omf
+%find_lang gnotski --with-gnome --with-omf
+%find_lang glines --with-gnome --with-omf
+%find_lang iagno --with-gnome --with-omf
+%find_lang gnobots2 --with-gnome --with-omf
+%find_lang gnibbles --with-gnome --with-omf
+%find_lang quadrapassel --with-gnome --with-omf
+%find_lang lightsoff --with-gnome --with-omf
%clean
rm -rf $RPM_BUILD_ROOT
%post
-%gconf_schema_install libgnomegames.schemas
-
-%preun
-%gconf_schema_uninstall libgnomegames.schemas
-
-%post blackjack
-%scrollkeeper_update_post
-%gconf_schema_install blackjack.schemas
-%update_icon_cache hicolor
-
-%preun blackjack
-%gconf_schema_uninstall blackjack.schemas
+%glib_compile_schemas
-%postun blackjack
-%scrollkeeper_update_postun
-%update_icon_cache hicolor
+%postun
+%glib_compile_schemas
%post glchess
-%gconf_schema_install glchess.schemas
+%update_icon_cache hicolor
%update_desktop_database_post
%scrollkeeper_update_post
-
-%preun glchess
-%gconf_schema_uninstall glchess.schemas
+%glib_compile_schemas
%postun glchess
+%update_icon_cache hicolor
%update_desktop_database_postun
%scrollkeeper_update_postun
+%glib_compile_schemas
%post glines
%scrollkeeper_update_post
-%gconf_schema_install glines.schemas
%update_icon_cache hicolor
+%glib_compile_schemas
if [ ! -f %{_gamesdir}/glines.scores ]; then
touch %{_gamesdir}/glines.scores
chmod 664 %{_gamesdir}/glines.scores
fi
-%preun glines
-%gconf_schema_uninstall glines.schemas
-
%postun glines
%scrollkeeper_update_postun
%update_icon_cache hicolor
+%glib_compile_schemas
%post gnect
%scrollkeeper_update_post
%scrollkeeper_update_postun
%update_icon_cache hicolor
-%post gnometris
-%scrollkeeper_update_post
-%gconf_schema_install gnometris.schemas
-%update_icon_cache hicolor
-
-if [ ! -f %{_gamesdir}/gnometris.scores ]; then
- touch %{_gamesdir}/gnometris.scores
- chown root:games %{_gamesdir}/gnometris.scores
- chmod 664 %{_gamesdir}/gnometris.scores
-fi
-
-%preun gnometris
-%gconf_schema_uninstall gnometris.schemas
-
-%postun gnometris
-%scrollkeeper_update_postun
-%update_icon_cache hicolor
-
%post gnomine
%scrollkeeper_update_post
-%gconf_schema_install gnomine.schemas
+%glib_compile_schemas
%update_icon_cache hicolor
for i in gnomine.Custom gnomine.Large gnomine.Medium gnomine.Small; do
fi
done
-%preun gnomine
-%gconf_schema_uninstall gnomine.schemas
-
%postun gnomine
%scrollkeeper_update_postun
%update_icon_cache hicolor
+%glib_compile_schemas
%post gnotravex
%scrollkeeper_update_post
-%gconf_schema_install gnotravex.schemas
+%glib_compile_schemas
%update_icon_cache hicolor
for i in gnotravex.2x2 gnotravex.3x3 gnotravex.4x4 gnotravex.5x5 \
fi
done
-%preun gnotravex
-%gconf_schema_uninstall gnotravex.schemas
-
%postun gnotravex
%scrollkeeper_update_postun
%update_icon_cache hicolor
+%glib_compile_schemas
%post gnotski
%scrollkeeper_update_post
%post iagno
%scrollkeeper_update_post
-%gconf_schema_install iagno.schemas
+%glib_compile_schemas
%update_icon_cache hicolor
-%preun iagno
-%gconf_schema_uninstall iagno.schemas
-
%postun iagno
%scrollkeeper_update_postun
%update_icon_cache hicolor
+%glib_compile_schemas
+
+%post lightsoff
+%scrollkeeper_update_post
+%gconf_schema_install lightsoff.schemas
+%update_icon_cache hicolor
+
+%preun lightsoff
+%gconf_schema_uninstall lightsoff.schemas
+
+%postun lightsoff
+%scrollkeeper_update_postun
+%update_icon_cache hicolor
%post mahjongg
%scrollkeeper_update_post
-%gconf_schema_install mahjongg.schemas
+%glib_compile_schemas
%update_icon_cache hicolor
for i in mahjongg.bridges mahjongg.cloud mahjongg.confounding \
fi
done
-%preun mahjongg
-%gconf_schema_uninstall mahjongg.schemas
-
%postun mahjongg
%scrollkeeper_update_postun
%update_icon_cache hicolor
+%glib_compile_schemas
-%post same-gnome
+%post quadrapassel
%scrollkeeper_update_post
-%gconf_schema_install same-gnome.schemas
+%gconf_schema_install quadrapassel.schemas
%update_icon_cache hicolor
-if [ ! -f %{_gamesdir}/same-gnome.scores ]; then
- touch %{_gamesdir}/same-gnome.scores
- chown root:games %{_gamesdir}/same-gnome.scores
- chmod 664 %{_gamesdir}/same-gnome.scores
+if [ ! -f %{_gamesdir}/quadrapassel.scores ]; then
+ touch %{_gamesdir}/quadrapassel.scores
+ chown root:games %{_gamesdir}/quadrapassel.scores
+ chmod 664 %{_gamesdir}/quadrapassel.scores
fi
-%preun same-gnome
-%gconf_schema_uninstall same-gnome.schemas
+%preun quadrapassel
+%gconf_schema_uninstall quadrapassel.schemas
-%postun same-gnome
+%postun quadrapassel
%scrollkeeper_update_postun
%update_icon_cache hicolor
-%post sol
+%post sudoku
+%update_icon_cache hicolor
+%gconf_schema_install gnome-sudoku.schemas
+
+%preun sudoku
+%gconf_schema_uninstall gnome-sudoku.schemas
+
+%postun sudoku
+%update_icon_cache hicolor
+
+%post swell-foop
%scrollkeeper_update_post
-%gconf_schema_install aisleriot.schemas
+%gconf_schema_install swell-foop.schemas
%update_icon_cache hicolor
-%preun sol
-%gconf_schema_uninstall aisleriot.schemas
+%preun swell-foop
+%gconf_schema_uninstall swell-foop.schemas
-%postun sol
+%postun swell-foop
%scrollkeeper_update_postun
%update_icon_cache hicolor
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
-%{_sysconfdir}/gconf/schemas/libgnomegames.schemas
+%dir %{_libdir}/%{name}
+%attr(755,root,root) %{_libdir}/%{name}/libgames-support-gi.so*
+%{_libdir}/%{name}/GnomeGamesSupport-1.0.*
+%{_datadir}/glib-2.0/schemas/org.gnome.Games.WindowState.gschema.xml
%dir %{_datadir}/%{name}
-%dir %{_omf_dest_dir}/%{name}
-%{_pixmapsdir}/gnome-games-common
-%dir %{_pixmapsdir}/iagno
-%{_pixmapsdir}/iagno/classic.png
-%dir %{_datadir}/ggz
-%{_datadir}/ggz/gnome-games
-
-%files blackjack -f blackjack.lang
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/blackjack
-%{_sysconfdir}/gconf/schemas/blackjack.schemas
-%{_datadir}/blackjack
-%{_desktopdir}/blackjack.desktop
-%{_omf_dest_dir}/%{name}/blackjack-C.omf
-%{_pixmapsdir}/blackjack
-%{_iconsdir}/hicolor/*/*/gnome-blackjack.png
+%{_datadir}/%{name}/icons
+%{_datadir}/%{name}/sounds
+%{_datadir}/%{name}/pixmaps
%files glchess -f glchess.lang
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/glchess
%attr(755,root,root) %{_bindir}/gnome-gnuchess
-%{_sysconfdir}/gconf/schemas/glchess.schemas
%{_desktopdir}/glchess.desktop
%{_datadir}/glchess
-%{py_sitescriptdir}/glchess
-%{_pixmapsdir}/glchess.svg
-%{_pixmapsdir}/glchess
-%dir %{_omf_dest_dir}/glchess
-%{_omf_dest_dir}/glchess/glchess-C.omf
+%{_datadir}/glib-2.0/schemas/org.gnome.glchess.gschema.xml
+%{_iconsdir}/hicolor/*/*/gnome-glchess.*
+%{_mandir}/man6/glchess.6*
%files glines -f glines.lang
%defattr(644,root,root,755)
%attr(2755,root,games) %{_bindir}/glines
-%{_sysconfdir}/gconf/schemas/glines.schemas
+%{_datadir}/%{name}/glines
+%{_datadir}/glib-2.0/schemas/org.gnome.glines.gschema.xml
%{_desktopdir}/glines.desktop
-%{_pixmapsdir}/glines
-%{_iconsdir}/hicolor/*/*/gnome-five-or-more.png
-%dir %{_omf_dest_dir}/glines
-%{_omf_dest_dir}/glines/glines-C.omf
-%lang(en_GB) %{_omf_dest_dir}/glines/glines-en_GB.omf
-%lang(fr) %{_omf_dest_dir}/glines/glines-fr.omf
-%lang(ru) %{_omf_dest_dir}/glines/glines-ru.omf
-%lang(sv) %{_omf_dest_dir}/glines/glines-sv.omf
+%{_iconsdir}/hicolor/*/*/gnome-glines.*
%attr(664,root,games) %ghost %{_localstatedir}/games/glines.*
+%{_mandir}/man6/glines.6*
%files gnect -f gnect.lang
%defattr(644,root,root,755)
%attr(755,root,games) %{_bindir}/gnect
%{_sysconfdir}/gconf/schemas/gnect.schemas
-%{_datadir}/gnect
+%{_datadir}/%{name}/gnect
%{_desktopdir}/gnect.desktop
-%{_pixmapsdir}/gnect
-%{_iconsdir}/hicolor/*/*/gnome-four-in-a-row.png
-%dir %{_omf_dest_dir}/gnect
-%{_omf_dest_dir}/gnect/gnect-C.omf
-%lang(en_GB) %{_omf_dest_dir}/gnect/gnect-en_GB.omf
-%lang(sv) %{_omf_dest_dir}/gnect/gnect-sv.omf
+%{_iconsdir}/hicolor/*/*/gnome-gnect.*
+%{_mandir}/man6/gnect.6*
%files gnibbles -f gnibbles.lang
%defattr(644,root,root,755)
%attr(2755,root,games) %{_bindir}/gnibbles
%{_sysconfdir}/gconf/schemas/gnibbles.schemas
-%{_sysconfdir}/sound/events/gnibbles.soundlist
-%{_datadir}/gnibbles
-%{_datadir}/sounds/gnibbles
+%{_datadir}/%{name}/gnibbles
%{_desktopdir}/gnibbles.desktop
-%{_omf_dest_dir}/%{name}/gnibbles-C.omf
-%{_pixmapsdir}/gnibbles
-%{_iconsdir}/hicolor/*/*/gnome-nibbles.*
+%{_iconsdir}/hicolor/*/*/gnome-gnibbles.*
%attr(664,root,games) %ghost %{_localstatedir}/games/gnibbles.*
+%{_mandir}/man6/gnibbles.6*
%files gnobots2 -f gnobots2.lang
%defattr(644,root,root,755)
%attr(2755,root,games) %{_bindir}/gnobots2
%{_sysconfdir}/gconf/schemas/gnobots2.schemas
-%{_sysconfdir}/sound/events/gnobots2.soundlist
-%{_datadir}/gnobots2
-%{_datadir}/sounds/gnobots2
+%{_datadir}/%{name}/gnobots2
%{_desktopdir}/gnobots2.desktop
-%{_omf_dest_dir}/%{name}/gnobots2-C.omf
-%lang(da) %{_omf_dest_dir}/%{name}/gnobots2-da.omf
-%lang(es) %{_omf_dest_dir}/%{name}/gnobots2-es.omf
-%lang(it) %{_omf_dest_dir}/%{name}/gnobots2-it.omf
-%{_pixmapsdir}/gnobots2
%{_iconsdir}/hicolor/*/*/gnome-robots.*
%attr(664,root,games) %ghost %{_localstatedir}/games/gnobots2.*
-
-%files gnometris -f gnometris.lang
-%defattr(644,root,root,755)
-%attr(2755,root,games) %{_bindir}/gnometris
-%{_sysconfdir}/gconf/schemas/gnometris.schemas
-%{_desktopdir}/gnometris.desktop
-%{_omf_dest_dir}/%{name}/gnometris-C.omf
-%{_pixmapsdir}/gnometris
-%{_iconsdir}/hicolor/*/*/gnome-gnometris.png
-%{_datadir}/sounds/gnometris
-%attr(664,root,games) %ghost %{_localstatedir}/games/gnometris.*
+%{_mandir}/man6/gnobots2.6*
%files gnomine -f gnomine.lang
%defattr(644,root,root,755)
%attr(2755,root,games) %{_bindir}/gnomine
-%{_sysconfdir}/gconf/schemas/gnomine.schemas
+%{_datadir}/%{name}/gnomine
+%{_datadir}/glib-2.0/schemas/org.gnome.gnomine.gschema.xml
%{_desktopdir}/gnomine.desktop
-%{_omf_dest_dir}/%{name}/gnomine-C.omf
-%{_pixmapsdir}/gnomine
-%{_iconsdir}/hicolor/*/*/gnome-gnomine.*
+%{_iconsdir}/hicolor/*/*/gnomine.*
%attr(664,root,games) %ghost %{_localstatedir}/games/gnomine.*
+%{_mandir}/man6/gnomine.6*
%files gnotravex -f gnotravex.lang
%defattr(644,root,root,755)
%attr(2755,root,games) %{_bindir}/gnotravex
-%{_sysconfdir}/gconf/schemas/gnotravex.schemas
+%{_datadir}/glib-2.0/schemas/org.gnome.gnotravex.gschema.xml
%{_desktopdir}/gnotravex.desktop
-%{_omf_dest_dir}/%{name}/gnotravex-C.omf
-%{_pixmapsdir}/gnotravex
-%{_iconsdir}/hicolor/*/*/gnome-tetravex.png
+%{_iconsdir}/hicolor/*/*/gnome-tetravex.*
%attr(664,root,games) %ghost %{_localstatedir}/games/gnotravex.*
+%{_mandir}/man6/gnotravex.6*
%files gnotski -f gnotski.lang
%defattr(644,root,root,755)
%attr(2755,root,games) %{_bindir}/gnotski
%{_sysconfdir}/gconf/schemas/gnotski.schemas
%{_desktopdir}/gnotski.desktop
-%{_omf_dest_dir}/%{name}/gnotski-C.omf
-%{_pixmapsdir}/gnotski.svg
-%{_iconsdir}/hicolor/*/*/gnome-klotski.png
+%{_datadir}/%{name}/gnotski
+%{_iconsdir}/hicolor/*/*/gnome-klotski.*
%attr(664,root,games) %ghost %{_localstatedir}/games/gnotski.*
+%{_mandir}/man6/gnotski.6*
%files gtali -f gtali.lang
%defattr(644,root,root,755)
%attr(2755,root,games) %{_bindir}/gtali
%{_sysconfdir}/gconf/schemas/gtali.schemas
+%{_datadir}/%{name}/gtali
%{_desktopdir}/gtali.desktop
-%{_omf_dest_dir}/%{name}/gtali-C.omf
-%lang(da) %{_omf_dest_dir}/%{name}/gtali-da.omf
-%{_pixmapsdir}/gtali
%{_iconsdir}/hicolor/*/*/gnome-tali.*
%attr(664,root,games) %ghost %{_localstatedir}/games/gtali.*
+%{_mandir}/man6/gtali.6*
%files iagno -f iagno.lang
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/iagno
-%{_sysconfdir}/gconf/schemas/iagno.schemas
-%{_sysconfdir}/sound/events/iagno.soundlist
-%{_datadir}/sounds/iagno
+%{_datadir}/%{name}/iagno
+%{_datadir}/glib-2.0/schemas/org.gnome.iagno.gschema.xml
%{_desktopdir}/iagno.desktop
-%{_omf_dest_dir}/%{name}/iagno-C.omf
%{_iconsdir}/hicolor/*/*/gnome-iagno.*
-%{_pixmapsdir}/iagno/woodtrim.png
+%{_mandir}/man6/iagno.6*
+
+%files lightsoff -f lightsoff.lang
+%defattr(644,root,root,755)
+%attr(755,root,games) %{_bindir}/lightsoff
+%{_datadir}/%{name}/lightsoff
+%{_desktopdir}/lightsoff.desktop
+%{_sysconfdir}/gconf/schemas/lightsoff.schemas
+%{_iconsdir}/hicolor/*/*/gnome-lightsoff.*
%files mahjongg -f mahjongg.lang
%defattr(644,root,root,755)
%attr(2755,root,games) %{_bindir}/mahjongg
-%{_sysconfdir}/gconf/schemas/mahjongg.schemas
+%{_datadir}/glib-2.0/schemas/org.gnome.mahjongg.gschema.xml
%{_desktopdir}/mahjongg.desktop
-%{_omf_dest_dir}/%{name}/mahjongg-C.omf
-%{_pixmapsdir}/mahjongg
%{_iconsdir}/hicolor/*/*/gnome-mahjongg.png
+%{_iconsdir}/hicolor/*/*/gnome-mahjongg.svg
%{_datadir}/%{name}/mahjongg
%attr(664,root,games) %ghost %{_localstatedir}/games/mahjongg.*
+%{_mandir}/man6/mahjongg.6*
-%files same-gnome -f same-gnome.lang
+%files quadrapassel -f quadrapassel.lang
%defattr(644,root,root,755)
-%attr(2755,root,games) %{_bindir}/same-gnome
-%{_sysconfdir}/gconf/schemas/same-gnome.schemas
-%{_desktopdir}/same-gnome.desktop
-%{_datadir}/%{name}/same-gnome
-%{_iconsdir}/hicolor/*/*/gnome-same-gnome.png
-%dir %{_omf_dest_dir}/same-gnome
-%{_omf_dest_dir}/same-gnome/same-gnome-C.omf
-%lang(en_GB) %{_omf_dest_dir}/same-gnome/same-gnome-en_GB.omf
-%lang(ru) %{_omf_dest_dir}/same-gnome/same-gnome-ru.omf
-%lang(sv) %{_omf_dest_dir}/same-gnome/same-gnome-sv.omf
-%attr(664,root,games) %ghost %{_localstatedir}/games/same-gnome.*
-
-%files sol -f aisleriot.lang
-%defattr(644,root,root,755)
-%attr(755,root,games) %{_bindir}/sol
-%{_sysconfdir}/gconf/schemas/aisleriot.schemas
-%{_datadir}/sol-games
-%{_desktopdir}/freecell.desktop
-%{_desktopdir}/sol.desktop
-%{_omf_dest_dir}/%{name}/aisleriot-C.omf
-%lang(fr) %{_omf_dest_dir}/%{name}/aisleriot-fr.omf
-%{_pixmapsdir}/cards
-%{_iconsdir}/hicolor/*/*/gnome-aisleriot.png
-%{_iconsdir}/hicolor/*/*/gnome-freecell.png
+%attr(2755,root,games) %{_bindir}/quadrapassel
+%{_sysconfdir}/gconf/schemas/quadrapassel.schemas
+%{_datadir}/%{name}/quadrapassel
+%{_desktopdir}/quadrapassel.desktop
+%{_iconsdir}/hicolor/*/*/gnome-quadrapassel.*
+%attr(664,root,games) %ghost %{_localstatedir}/games/quadrapassel.*
+%{_mandir}/man6/quadrapassel.6*
%files sudoku -f gnome-sudoku.lang
%defattr(644,root,root,755)
%dir %{py_sitescriptdir}/gnome_sudoku/gtk_goodies
%{py_sitescriptdir}/gnome_sudoku/gtk_goodies/*.py[co]
%{_datadir}/gnome-sudoku
-%{_pixmapsdir}/gnome-sudoku
-%{_pixmapsdir}/sudoku.png
+%{_iconsdir}/hicolor/*/*/gnome-sudoku.*
+%{_sysconfdir}/gconf/schemas/gnome-sudoku.schemas
+%{_mandir}/man6/gnome-sudoku.6*
+
+%files swell-foop -f swell-foop.lang
+%defattr(644,root,root,755)
+%attr(755,root,games) %{_bindir}/swell-foop
+%{_sysconfdir}/gconf/schemas/swell-foop.schemas
+%{_desktopdir}/swell-foop.desktop
+%{_datadir}/%{name}/swell-foop
+%{_iconsdir}/hicolor/*/*/gnome-swell-foop.*