]> git.pld-linux.org Git - packages/gnome-games.git/blobdiff - gnome-games.spec
- don't fail to build when /etc/ggzd/rooms doesn't exist
[packages/gnome-games.git] / gnome-games.spec
index 69d0bddf5951ad97028fb3d04f17f8ac9df146da..85f5e2b0be86f652f9b16a1cb16489fe7f26c3cc 100644 (file)
 Summary:       GNOME games
-Summary(es):   Juegos de GNOME
-Summary(fr):   Jeux pour GNOME
-Summary(pl):   GNOME - gry
-Summary(ru):   éÇÒÙ ÐÏÄ GNOME
-Summary(uk):   ¶ÇÒɠЦĠGNOME
-Summary(wa):   Djeus po GNOME
+Summary(es.UTF-8):     Juegos de GNOME
+Summary(fr.UTF-8):     Jeux pour GNOME
+Summary(pl.UTF-8):     GNOME - gry
+Summary(ru.UTF-8):     Игры под GNOME
+Summary(uk.UTF-8):     Ігри під GNOME
+Summary(wa.UTF-8):     Djeus po GNOME
 Name:          gnome-games
-Version:       2.3.8
+Version:       2.22.1
 Release:       1
 Epoch:         1
 License:       LGPL
 Group:         X11/Applications/Games
-Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/2.3/%{name}-%{version}.tar.bz2
-# Source0-md5: eaec52a971555d3a9ea73326b438fec0
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-games/2.22/%{name}-%{version}.tar.bz2
+# Source0-md5: 41b0261d636e667be44f4fdc5d42bc1d
 Patch0:                %{name}-schemas.patch
 URL:           http://www.gnome.org/
-BuildRequires: GConf2-devel
-BuildRequires: gnome-vfs2-devel >= 2.3.7
-BuildRequires: guile-devel >= 1.4.1
-BuildRequires: libgnome-devel >= 2.3.6
-BuildRequires: libgnomeui-devel >= 2.3.6
-BuildRequires: libltdl-devel
+BuildRequires: GConf2-devel >= 2.22.0
+BuildRequires: autoconf >= 2.53
+BuildRequires: automake >= 1:1.9
+BuildRequires: check >= 0.9.4
+BuildRequires: gettext-devel
+BuildRequires: ggz-client-libs-devel >= 0.0.14
+BuildRequires: ggz-server-devel >= 0.0.14
+BuildRequires: gnome-common >= 2.20.0
+BuildRequires: gnome-doc-utils >= 0.12.0
+BuildRequires: gnome-vfs2-devel >= 2.22.0
+BuildRequires: gstreamer-devel >= 0.10.15
+BuildRequires: gtk+2-devel >= 2:2.12.9
+BuildRequires: guile-devel >= 5:1.6.5
+BuildRequires: intltool >= 0.37.0
+BuildRequires: libgnomeui-devel >= 2.22.0
+BuildRequires: librsvg-devel >= 1:2.22.0
 BuildRequires: libstdc++-devel
-BuildRequires: scrollkeeper
-BuildRequires: rpm-build >= 4.1-10
-Requires(post):        GConf2
-Requires(post,postun): /sbin/ldconfig
-Requires(post,postun): scrollkeeper
-Requires:      gnome-vfs2 >= 2.3.7
+BuildRequires: libtool
+BuildRequires: libxml2-devel >= 1:2.6.31
+BuildRequires: pkgconfig >= 1:0.15
+BuildRequires: python-devel >= 1:2.4
+BuildRequires: python-gnome-desktop-devel >= 2.22.0
+BuildRequires: python-pygtk-devel >= 2:2.12.0
+BuildRequires: rpmbuild(find_lang) >= 1.23
+BuildRequires: rpmbuild(macros) >= 1.311
+BuildRequires: scrollkeeper >= 0.3.8
+BuildRequires: sed >= 4.0
+Requires(post,preun):  GConf2
+Requires:      gnome-vfs2 >= 2.22.0
+Requires:      hicolor-icon-theme
+Requires:      libgnomeui >= 2.22.0
+Requires:      librsvg >= 1:2.22.0
 Obsoletes:     gnect
 Obsoletes:     gnome
+Obsoletes:     gnome-games-devel
+Obsoletes:     gnome-games-gataxx
+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                _gamesdir       %{_localstatedir}/games
 
 %description
-GNOME games.
+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.
+
+%description -l pl.UTF-8
+Gnome-games jest kolekcją prostych, choć uzależniających gier projektu
+GNOME. Są wśród nich reprezentanci wielu popularnych gier, wliczając
+karciane, układanki i zręcznościowe.
+
+%description -l uk.UTF-8
+Пакет gnome-games включає ігри для середовища робочого столу GNOME,
+серед яких GnomeScott, freecell, gnibbles, gnobots, gnobots2,
+gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg,
+same-gnome та sol.
 
-GNOME is the GNU Network Object Model Environment. That's a fancy name
-but really GNOME is a nice GUI desktop environment. It makes using
-your computer easy, powerful, and easy to configure.
+%description -l ru.UTF-8
+Пакет gnome-games включает игры для среды рабочего стола GNOME, среди
+которых GnomeScott, freecell, gnibbles, gnobots, gnobots2,
+gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg,
+same-gnome и sol.
 
-%description -l pl
-Gry pod GNOME.
+%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 -l uk
-ðÁËÅÔ gnome-games ×ËÌÀÞÁ¤ ¦ÇÒÉ ÄÌÑ ÓÅÒÅÄÏ×ÉÝÁ ÒÏÂÏÞÏÇÏ ÓÔÏÌÕ GNOME,
-ÓÅÒÅÄ ÑËÉÈ GnomeScott, freecell, gnibbles, gnobots, gnobots2,
-gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg,
-same-gnome ÔÁ sol.
+%description blackjack
+Casino card game Blackjack.
 
-%description -l ru
-ðÁËÅÔ gnome-games ×ËÌÀÞÁÅÔ ÉÇÒÙ ÄÌÑ ÓÒÅÄÙ ÒÁÂÏÞÅÇÏ ÓÔÏÌÁ GNOME, ÓÒÅÄÉ
-ËÏÔÏÒÙÈ GnomeScott, freecell, gnibbles, gnobots, gnobots2,
-gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg,
-same-gnome É sol.
+%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): scrollkeeper
+Requires(post,preun):  GConf2
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+Suggests:      crafty
+Suggests:      gnuchess
+Suggests:      python-PyOpenGL
+Suggests:      python-pygtkglext >= 1.1.0-2
+Obsoletes:     glchess
+
+%description glchess
+glChess is a 2D/3D chess game interfacing via the Chess Engine
+Communication Protocol (CECP) by Tim Mann. This means it can currently
+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.
+
+%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): scrollkeeper
+Requires(post,preun):  GConf2
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+
+%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
+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): scrollkeeper
+Requires(post,preun):  GConf2
+Requires(post,preun):  ggz-client-libs
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+
+%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.
+
+%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): scrollkeeper
+Requires(post,preun):  GConf2
+Requires(post,preun):  ggz-client-libs
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+
+%description gnibbles
+Guide a worm around a maze.
+
+%description gnibbles -l pl.UTF-8
+Gra polegająca na przeprowadzeniu robaka przez labirynt.
+
+%package gnobots2
+Summary:       GNOME Robots
+Summary(pl.UTF-8):     Robots 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 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): scrollkeeper
+Requires(post,preun):  GConf2
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+
+%description gnomine
+Clear mines from a minefield.
+
+%description gnomine -l pl.UTF-8
+Gra, której celem jest rozminowanie pola minowego.
+
+%package gnotravex
+Summary:       GNOME Tetravex
+Summary(pl.UTF-8):     Tetravex 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 gnotravex
+Puzzle game.
+
+%description gnotravex -l pl.UTF-8
+Układanka.
+
+%package gnotski
+Summary:       Gnome Klotski
+Summary(pl.UTF-8):     Klotski 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 gnotski
+Clone of the Klotski game. The objective is to move the patterned
+block to the area bordered by green markers.
+
+%description gnotski -l pl.UTF-8
+Klon gry Klotski. Celem gry jest przesunięcie zaznaczonego klocka w
+pole ograniczone zielonymi znacznikami.
+
+%package gtali
+Summary:       GNOME Tali
+Summary(pl.UTF-8):     Tali 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 gtali
+Poker-style dice game.
+
+%description gtali -l pl.UTF-8
+Gra w kości w pokerowym stylu.
+
+%package iagno
+Summary:       GNOME Iagno
+Summary(pl.UTF-8):     Iagno 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 iagno
+Reversi like game.
+
+%description iagno -l pl.UTF-8
+Gra podobna do Reversi.
+
+%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): scrollkeeper
+Requires(post,preun):  GConf2
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+
+%description mahjongg
+Disassemble a pile of tiles by removing matching pairs.
 
-%package devel
-Summary:       GNOME games libraries - header files
-Summary(pl):   Pliki nag³ówkowe do tworzenia programów opartych o GNOME games
-Summary(ru):   æÁÊÌÙ ÒÁÚÒÁÂÏÔËÉ ÉÇÒ ÐÏÄ GNOME
-Summary(uk):   æÁÊÌÉ ÒÏÚÒÏÂËÉ ¦ÇҠЦĠGNOME
-Group:         X11/Development/Libraries
-Requires:      %{name} = %{epoch}:%{version}
-Requires:      gtk+2-devel
+%description mahjongg -l pl.UTF-8
+Gra polegjaca na demontażu stosu kafli poprzez usuwanie pasujących
+par.
+
+%package same-gnome
+Summary:       Same 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 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 devel
-GNOME games libraries - header files.
+%description sol
+Many different solitaire games.
 
-Right now this is just stuff to develop care games. I think.
+%description sol -l pl.UTF-8
+Różne gry karciane.
 
-%description devel -l pl
-Pliki nag³ówkowe do tworzenia programów opartych o GNOME games.
+%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:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      python-gnome-desktop-print >= 2.22.0
+Obsoletes:     gnome-sudoku
 
-%description devel -l uk
-ðÁËÅÔ gnome-games-devel ×ÓÔÁÎÏ×ÌÀ¤ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ¦ÇÏÒ
-ЦĠGNOME.
+%description sudoku
+GNOME Sudoku provides a simple interface for playing, saving, printing
+and solving Sudoku.
 
-%description devel -l ru
-ðÁËÅÔ gnome-games-devel ÕÓÔÁÎÁ×ÌÉ×ÁÅÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ
-ÒÁÚÒÁÂÏÔËÉ ÉÇÒ ÐÏÄ GNOME.
+%description sudoku -l pl.UTF-8
+GNOME Sudoku dostarcza prosty interfejs do grania, zapisywania,
+drukowania i rozwiązywania Sudoku.
 
-%package static
-Summary:       GNOME games static libraries
-Summary(pl):   Biblioteki statyczne do GNOME games
-Group:         X11/Development/Libraries
-Requires:      %{name}-devel = %{epoch}:%{version}
+%package servers
+Summary:       GGZ Gaming Zone servers for the GNOME games
+Summary(pl.UTF-8):     Serwery GGZ Gaming Zone dla gier GNOME
+Group:         Applications
+Requires:      ggz-server >= 0.0.14
 
-%description static
-GNOME games static libraries.
+%description servers
+GGZ Gaming Zone servers for the GNOME games.
 
-%description static -l pl
-Biblioteki statyczne do GNOME games.
+%description servers -l pl.UTF-8
+Serwery GGZ Gaming Zone dla gier GNOME.
 
 %prep
 %setup -q
 %patch0 -p1
 
+sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
+mv -f po/sr@{Latn,latin}.po
+
 %build
-%configure
+%{__glib_gettextize}
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       --enable-games=all \
+       --with-sound=gstreamer \
+       --disable-scrollkeeper \
+       --disable-schemas-install \
+       --disable-static
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/ggz
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
-
-%find_lang %{name} --with-gnome --all-name
+       ggzserver_dscdir=%{_sysconfdir}/ggzd/games \
+       ggzroomdir=%{_sysconfdir}/ggzd/rooms
+
+install gnect/data/gnect-client.dsc $RPM_BUILD_ROOT%{_datadir}/ggz
+install gnibbles/gnibbles-client.dsc $RPM_BUILD_ROOT%{_datadir}/ggz
+install iagno/iagno-client.dsc $RPM_BUILD_ROOT%{_datadir}/ggz
+
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/ggz.modules
+
+%py_postclean
+
+%find_lang %{name} --all-name
+%find_lang gnect --with-gnome --with-omf
+%find_lang gnomine --with-gnome --with-omf
+%find_lang same-gnome --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 gnometris --with-gnome --with-omf
+%find_lang blackjack --with-gnome --with-omf
+%find_lang aisleriot --with-gnome --with-omf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-/sbin/ldconfig
-/usr/bin/scrollkeeper-update
-%gconf_schema_install
-
-%postun
-/sbin/ldconfig
-/usr/bin/scrollkeeper-update
+%post blackjack
+%scrollkeeper_update_post
+%gconf_schema_install blackjack.schemas
+%update_icon_cache hicolor
+
+%preun blackjack
+%gconf_schema_uninstall blackjack.schemas
+
+%postun blackjack
+%scrollkeeper_update_postun
+%update_icon_cache hicolor
+
+%post glchess
+%gconf_schema_install glchess.schemas
+%update_desktop_database_post
+%scrollkeeper_update_post
+
+%preun glchess
+%gconf_schema_uninstall glchess.schemas
+
+%postun glchess
+%update_desktop_database_postun
+%scrollkeeper_update_postun
+
+%post glines
+%scrollkeeper_update_post
+%gconf_schema_install glines.schemas
+%update_icon_cache hicolor
+
+if [ ! -f %{_gamesdir}/glines.scores ]; then
+       touch %{_gamesdir}/glines.scores
+       chown root:games %{_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
+
+%post gnect
+%scrollkeeper_update_post
+%gconf_schema_install gnect.schemas
+%update_icon_cache hicolor
+
+/usr/bin/ggz-config -i -f -m %{_datadir}/ggz/gnect-client.dsc
+
+%preun gnect
+%gconf_schema_uninstall gnect.schemas
+
+if [ "$1" = "0" ]; then
+       /usr/bin/ggz-config -r -m %{_datadir}/ggz/gnect-client.dsc
+fi
+
+%postun gnect
+%scrollkeeper_update_postun
+%update_icon_cache hicolor
+
+%post gnibbles
+%scrollkeeper_update_post
+%gconf_schema_install gnibbles.schemas
+%update_icon_cache hicolor
+
+for i in gnibbles.1.0 gnibbles.1.1 gnibbles.2.0 gnibbles.2.1 gnibbles.3.0 \
+       gnibbles.3.1 gnibbles.4.0 gnibbles.4.1; do
+       if [ ! -f %{_gamesdir}/$i.scores ]; then
+               touch %{_gamesdir}/$i.scores
+               chown root:games %{_gamesdir}/$i.scores
+               chmod 664 %{_gamesdir}/$i.scores
+       fi
+done
+
+/usr/bin/ggz-config -i -f -m %{_datadir}/ggz/gnibbles-client.dsc
+
+%preun gnibbles
+%gconf_schema_uninstall gnibbles.schemas
+
+if [ "$1" = "0" ]; then
+       /usr/bin/ggz-config -r -m %{_datadir}/ggz/gnibbles-client.dsc
+fi
+
+%postun gnibbles
+%scrollkeeper_update_postun
+%update_icon_cache hicolor
+
+%post gnobots2
+%scrollkeeper_update_post
+%gconf_schema_install gnobots2.schemas
+%update_icon_cache hicolor
+
+for i in gnobots2.classic_robots-safe gnobots2.classic_robots \
+       gnobots2.classic_robots-super-safe gnobots2.nightmare-safe \
+       gnobots2.nightmare gnobots2.nightmare-super-safe \
+       gnobots2.robots2_easy-safe gnobots2.robots2_easy \
+       gnobots2.robots2_easy-super-safe gnobots2.robots2-safe \
+       gnobots2.robots2 gnobots2.robots2-super-safe \
+       gnobots2.robots_with_safe_teleport-safe \
+       gnobots2.robots_with_safe_teleport \
+       gnobots2.robots_with_safe_teleport-super-safe; do
+       if [ ! -f %{_gamesdir}/$i.scores ]; then
+               touch %{_gamesdir}/$i.scores
+               chown root:games %{_gamesdir}/$i.scores
+               chmod 664 %{_gamesdir}/$i.scores
+       fi
+done
+
+%preun gnobots2
+%gconf_schema_uninstall gnobots2.schemas
+
+%postun        gnobots2
+%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
+%update_icon_cache hicolor
+
+for i in gnomine.Custom gnomine.Large gnomine.Medium gnomine.Small; do
+       if [ ! -f %{_gamesdir}/$i.scores ]; then
+               touch %{_gamesdir}/$i.scores
+               chown root:games %{_gamesdir}/$i.scores
+               chmod 664 %{_gamesdir}/$i.scores
+       fi
+done
+
+%preun gnomine
+%gconf_schema_uninstall gnomine.schemas
+
+%postun gnomine
+%scrollkeeper_update_postun
+%update_icon_cache hicolor
+
+%post gnotravex
+%scrollkeeper_update_post
+%gconf_schema_install gnotravex.schemas
+%update_icon_cache hicolor
+
+for i in gnotravex.2x2 gnotravex.3x3 gnotravex.4x4 gnotravex.5x5 \
+       gnotravex.6x6; do
+       if [ ! -f %{_gamesdir}/$i.scores ]; then
+               touch %{_gamesdir}/$i.scores
+               chown root:games %{_gamesdir}/$i.scores
+               chmod 664 %{_gamesdir}/$i.scores
+       fi
+done
+
+%preun gnotravex
+%gconf_schema_uninstall gnotravex.schemas
+
+%postun gnotravex
+%scrollkeeper_update_postun
+%update_icon_cache hicolor
+
+%post gnotski
+%scrollkeeper_update_post
+%gconf_schema_install gnotski.schemas
+%update_icon_cache hicolor
+
+for i in 1 2 3 4 5 6 7 11 12 13 14 15 16 17 21 22 23 24 25 26; do
+       if [ ! -f %{_gamesdir}/gnotski.$i.scores ]; then
+       touch %{_gamesdir}/gnotski.$i.scores
+       chown root:games %{_gamesdir}/gnotski.$i.scores
+       chmod 664 %{_gamesdir}/gnotski.$i.scores
+       fi
+done
+
+%preun gnotski
+%gconf_schema_uninstall gnotski.schemas
+
+%postun gnotski
+%scrollkeeper_update_postun
+%update_icon_cache hicolor
+
+%post gtali
+%scrollkeeper_update_post
+%gconf_schema_install gtali.schemas
+%update_icon_cache hicolor
+
+if [ ! -f %{_gamesdir}/gtali.scores ]; then
+       touch %{_gamesdir}/gtali.scores
+       chown root:games %{_gamesdir}/gtali.scores
+       chmod 664 %{_gamesdir}/gtali.scores
+fi
+
+%preun gtali
+%gconf_schema_uninstall gtali.schemas
+
+%postun gtali
+%scrollkeeper_update_postun
+%update_icon_cache hicolor
+
+%post iagno
+%scrollkeeper_update_post
+%gconf_schema_install iagno.schemas
+%update_icon_cache hicolor
+
+/usr/bin/ggz-config -i -f -m %{_datadir}/ggz/iagno-client.dsc
+
+%preun iagno
+%gconf_schema_uninstall iagno.schemas
+
+if [ "$1" = "0" ]; then
+       /usr/bin/ggz-config -r -m %{_datadir}/ggz/iagno-client.dsc
+fi
+
+%postun iagno
+%scrollkeeper_update_postun
+%update_icon_cache hicolor
+
+%post mahjongg
+%scrollkeeper_update_post
+%gconf_schema_install mahjongg.schemas
+%update_icon_cache hicolor
+
+for i in mahjongg.bridges mahjongg.cloud mahjongg.confounding \
+       mahjongg.difficult mahjongg.dragon mahjongg.easy \
+       mahjongg.pyramid mahjongg.tictactoe mahjongg.ziggurat; do
+       if [ ! -f %{_gamesdir}/$i.scores ]; then
+               touch %{_gamesdir}/$i.scores
+               chown root:games %{_gamesdir}/$i.scores
+               chmod 664 %{_gamesdir}/$i.scores
+       fi
+done
+
+%preun mahjongg
+%gconf_schema_uninstall mahjongg.schemas
+
+%postun mahjongg
+%scrollkeeper_update_postun
+%update_icon_cache hicolor
+
+%post same-gnome
+%scrollkeeper_update_post
+%gconf_schema_install same-gnome.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
+fi
+
+%preun same-gnome
+%gconf_schema_uninstall same-gnome.schemas
+
+%postun same-gnome
+%scrollkeeper_update_postun
+%update_icon_cache hicolor
+
+%post sol
+%scrollkeeper_update_post
+%gconf_schema_install aisleriot.schemas
+%update_icon_cache hicolor
+
+%preun sol
+%gconf_schema_uninstall aisleriot.schemas
+
+%postun sol
+%scrollkeeper_update_postun
+%update_icon_cache hicolor
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%config %{_sysconfdir}/sound/events/*
-%{_sysconfdir}/gconf/schemas/*
-
-%attr(755,root,root) %{_bindir}/gataxx
-%attr(755,root,root) %{_bindir}/sol
-%attr(755,root,root) %{_bindir}/gnect
-%attr(755,root,root) %{_bindir}/gnibbles
-%attr(755,root,root) %{_bindir}/gnobots2
+%dir %{_libdir}/%{name}
+%attr(755,root,root) %{_libdir}/%{name}/gnome-games-render-cards
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/icons
+%{_datadir}/%{name}/sounds
+%{_datadir}/%{name}/pixmaps
+%{_datadir}/gnome-games-common
+%{_datadir}/ggz/gnome-games
+%dir %{_omf_dest_dir}/%{name}
+
+%files blackjack -f blackjack.lang
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/blackjack
+%{_sysconfdir}/gconf/schemas/blackjack.schemas
+%{_datadir}/%{name}/blackjack
+%{_desktopdir}/blackjack.desktop
+%{_iconsdir}/hicolor/*/*/gnome-blackjack.*
+
+%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
+%{_iconsdir}/hicolor/*/*/gnome-glchess.*
+
+%files glines -f glines.lang
+%defattr(644,root,root,755)
 %attr(2755,root,games) %{_bindir}/glines
-%attr(2755,root,games) %{_bindir}/gnome-stones
+%{_sysconfdir}/gconf/schemas/glines.schemas
+%{_desktopdir}/glines.desktop
+%{_pixmapsdir}/glines
+%{_iconsdir}/hicolor/*/*/gnome-glines.*
+%attr(664,root,games) %ghost %{_localstatedir}/games/glines.*
+
+%files gnect -f gnect.lang
+%defattr(644,root,root,755)
+%attr(755,root,games) %{_bindir}/gnect
+%{_sysconfdir}/gconf/schemas/gnect.schemas
+%{_datadir}/gnect
+%{_datadir}/ggz/gnect-client.dsc
+%{_desktopdir}/gnect.desktop
+%{_pixmapsdir}/gnect
+%{_iconsdir}/hicolor/*/*/gnome-gnect.*
+
+%files gnibbles -f gnibbles.lang
+%defattr(644,root,root,755)
+%attr(2755,root,games) %{_bindir}/gnibbles
+%{_sysconfdir}/gconf/schemas/gnibbles.schemas
+%{_datadir}/gnibbles
+%{_datadir}/ggz/gnibbles-client.dsc
+%{_desktopdir}/gnibbles.desktop
+%{_pixmapsdir}/gnibbles
+%{_iconsdir}/hicolor/*/*/gnome-gnibbles.*
+%attr(664,root,games) %ghost %{_localstatedir}/games/gnibbles.*
+
+%files gnobots2 -f gnobots2.lang
+%defattr(644,root,root,755)
+%attr(2755,root,games) %{_bindir}/gnobots2
+%{_sysconfdir}/gconf/schemas/gnobots2.schemas
+%{_datadir}/gnobots2
+%{_desktopdir}/gnobots2.desktop
+%{_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
+%{_pixmapsdir}/gnometris
+%{_iconsdir}/hicolor/*/*/gnome-gnometris.*
+%attr(664,root,games) %ghost %{_localstatedir}/games/gnometris.*
+
+%files gnomine -f gnomine.lang
+%defattr(644,root,root,755)
 %attr(2755,root,games) %{_bindir}/gnomine
+%{_sysconfdir}/gconf/schemas/gnomine.schemas
+%{_desktopdir}/gnomine.desktop
+%{_pixmapsdir}/gnomine
+%{_iconsdir}/hicolor/*/*/gnome-mines.*
+%attr(664,root,games) %ghost %{_localstatedir}/games/gnomine.*
+
+%files gnotravex -f gnotravex.lang
+%defattr(644,root,root,755)
 %attr(2755,root,games) %{_bindir}/gnotravex
+%{_sysconfdir}/gconf/schemas/gnotravex.schemas
+%{_desktopdir}/gnotravex.desktop
+%{_pixmapsdir}/gnotravex
+%{_iconsdir}/hicolor/*/*/gnome-tetravex.*
+%attr(664,root,games) %ghost %{_localstatedir}/games/gnotravex.*
+
+%files gnotski -f gnotski.lang
+%defattr(644,root,root,755)
 %attr(2755,root,games) %{_bindir}/gnotski
+%{_sysconfdir}/gconf/schemas/gnotski.schemas
+%{_desktopdir}/gnotski.desktop
+%dir %{_datadir}/%{name}/gnotski
+%{_datadir}/%{name}/gnotski/gnotski.svg
+%{_iconsdir}/hicolor/*/*/gnome-klotski.*
+%attr(664,root,games) %ghost %{_localstatedir}/games/gnotski.*
+
+%files gtali -f gtali.lang
+%defattr(644,root,root,755)
 %attr(2755,root,games) %{_bindir}/gtali
-%attr(2755,root,games) %{_bindir}/iagno
+%{_sysconfdir}/gconf/schemas/gtali.schemas
+%{_desktopdir}/gtali.desktop
+%{_pixmapsdir}/gtali
+%{_iconsdir}/hicolor/*/*/gnome-tali.*
+%attr(664,root,games) %ghost %{_localstatedir}/games/gtali.*
+
+%files iagno -f iagno.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/iagno
+%{_datadir}/ggz/iagno-client.dsc
+%{_sysconfdir}/gconf/schemas/iagno.schemas
+%{_desktopdir}/iagno.desktop
+%{_iconsdir}/hicolor/*/*/gnome-iagno.*
+%{_pixmapsdir}/iagno
+
+%files mahjongg -f mahjongg.lang
+%defattr(644,root,root,755)
 %attr(2755,root,games) %{_bindir}/mahjongg
+%{_sysconfdir}/gconf/schemas/mahjongg.schemas
+%{_desktopdir}/mahjongg.desktop
+%{_pixmapsdir}/mahjongg
+%{_iconsdir}/hicolor/*/*/gnome-mahjongg.png
+%{_datadir}/%{name}/mahjongg
+%attr(664,root,games) %ghost %{_localstatedir}/games/mahjongg.*
+
+%files same-gnome -f same-gnome.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-samegnome.*
+%attr(664,root,games) %ghost %{_localstatedir}/games/same-gnome.*
 
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
-%dir %{_libdir}/gnome-stones
-%dir %{_libdir}/gnome-stones/objects
-%attr(755,root,root) %{_libdir}/gnome-stones/objects/lib*.so*
-%{_libdir}/gnome-stones/objects/lib*.la
-
-%{_datadir}/gnome-stones
-%{_datadir}/sol-games
-%{_datadir}/blackjack
-
-%{_datadir}/gnome-stonesrc
-%lang(ko) %{_datadir}/gnome-stonesrc.ko
-
-%{_datadir}/mime-info/*
-%{_pixmapsdir}/*
-%{_datadir}/sounds/*
-%{_desktopdir}/*
-%{_datadir}/gnect
-%{_datadir}/gnibbles
-%{_datadir}/gnobots2
-
-%{_omf_dest_dir}/%{name}
-%attr(664,root,games) %ghost %{_localstatedir}/games/*
-
-%files devel
+%files sol -f aisleriot.lang
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
-%{_includedir}/*
-
-%files static
+%attr(755,root,games) %{_bindir}/sol
+%{_sysconfdir}/gconf/schemas/aisleriot.schemas
+%{_datadir}/%{name}/aisleriot
+%{_desktopdir}/freecell.desktop
+%{_desktopdir}/sol.desktop
+%{_iconsdir}/hicolor/*/*/gnome-aisleriot.*
+%{_iconsdir}/hicolor/*/*/gnome-freecell.*
+
+%files sudoku -f gnome-sudoku.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/gnome-sudoku
+%{_desktopdir}/gnome-sudoku.desktop
+%dir %{py_sitescriptdir}/gnome_sudoku
+%{py_sitescriptdir}/gnome_sudoku/*.py[co]
+%dir %{py_sitescriptdir}/gnome_sudoku/gtk_goodies
+%{py_sitescriptdir}/gnome_sudoku/gtk_goodies/*.py[co]
+%{_datadir}/gnome-sudoku
+%{_pixmapsdir}/gnome-sudoku
+%{_iconsdir}/hicolor/*/*/gnome-sudoku.*
+
+%files servers
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
-%{_libdir}/gnome-stones/objects/lib*.a
+%attr(755,root,root) %{_libdir}/ggz/gnectd
+%attr(755,root,root) %{_libdir}/ggz/gnibblesd
+%attr(755,root,root) %{_libdir}/ggz/iagnod
+%{_sysconfdir}/ggzd/games/gnect-server.dsc
+%{_sysconfdir}/ggzd/games/gnibbles-server.dsc
+%{_sysconfdir}/ggzd/games/iagno-server.dsc
+%{_sysconfdir}/ggzd/rooms/gnect.room
+%{_sysconfdir}/ggzd/rooms/gnibbles.room
+%{_sysconfdir}/ggzd/rooms/iagno.room
This page took 0.078322 seconds and 4 git commands to generate.