X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gnome-games.spec;h=7d43aab18313a566bb96663ac787ace955019ed5;hb=891928677ec00f6460cb6ac769319e2f3b790caa;hp=83066ff292474a4e6a683d41a67c9d58fc4cff81;hpb=b172d7809a69a79ae5d70a192a7a2a5072707234;p=packages%2Fgnome-games.git diff --git a/gnome-games.spec b/gnome-games.spec index 83066ff..7d43aab 100644 --- a/gnome-games.spec +++ b/gnome-games.spec @@ -1,891 +1,119 @@ -Summary: GNOME games -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 +Summary: Video games for GNOME +Summary(pl.UTF-8): Gry wideo dla GNOME Name: gnome-games -Version: 3.0.2 -Release: 1 +Version: 3.38.0 +Release: 2 Epoch: 1 -License: LGPL -Group: X11/Applications/Games -Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-games/3.0/%{name}-%{version}.tar.bz2 -# Source0-md5: 3e5f027ee4f6dd49de1f913949bde9c9 -Patch0: %{name}-schemas.patch -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: 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: guile-devel >= 5:1.6.5 -BuildRequires: intltool >= 0.40.4 -BuildRequires: libcanberra-gtk3-devel >= 0.26 -BuildRequires: librsvg-devel >= 1:2.32.0 -BuildRequires: libstdc++-devel -BuildRequires: libtool -BuildRequires: pkgconfig >= 1:0.15 -BuildRequires: python-devel >= 1:2.4 -BuildRequires: python-pygtk-devel >= 2:2.16.0 -BuildRequires: rpm-pythonprov -BuildRequires: rpmbuild(find_lang) >= 1.23 -BuildRequires: rpmbuild(macros) >= 1.311 -BuildRequires: scrollkeeper >= 0.3.8 -BuildRequires: sqlite3-devel -BuildRequires: vala >= 0.11.6 -BuildRequires: xorg-lib-libSM-devel -BuildRequires: xorg-proto-glproto-devel -Requires(post,postun): gtk-update-icon-cache -Requires(post,postun): glib2 >= 1:2.26.0 -Requires: hicolor-icon-theme -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 +License: GPL v3+ +Group: X11/Applications/Games +Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-games/3.38/%{name}-%{version}.tar.xz +# Source0-md5: 976f10d975798dec30b88cdc8aef3cbb +URL: https://wiki.gnome.org/Apps/Games +BuildRequires: gettext-tools +BuildRequires: glib2-devel >= 1:2.38 +BuildRequires: grilo-devel >= 0.3 +BuildRequires: gtk+3-devel >= 3.0 +BuildRequires: libarchive-devel +BuildRequires: libhandy1-devel >= 0.90.0 +BuildRequires: libmanette-devel >= 0.2.0 +BuildRequires: librsvg-devel >= 1:2.46 +BuildRequires: libsoup-devel >= 2.4 +BuildRequires: libxml2-devel >= 2.0 +BuildRequires: meson >= 0.46.1 +BuildRequires: ninja >= 1.5 +BuildRequires: pkgconfig +BuildRequires: retro-gtk-devel >= 1.0 +BuildRequires: rpmbuild(macros) >= 1.736 +BuildRequires: sqlite3-devel >= 3 +BuildRequires: tar >= 1:1.22 +BuildRequires: tracker-devel >= 2.0 +BuildRequires: vala >= 2:0.15.1 +BuildRequires: vala-grilo >= 0.3 +BuildRequires: vala-libhandy1 >= 0.90.0 +BuildRequires: vala-libmanette >= 0.2.0 +BuildRequires: vala-librsvg >= 1:2.46 +BuildRequires: vala-retro-gtk >= 1.0 +BuildRequires: vala-tracker >= 2.0 +BuildRequires: xz +Requires(post,postun): gtk-update-icon-cache +Requires(post,postun): glib2 >= 1:2.38 +Requires: glib2-devel >= 1:2.38 +Requires: hicolor-icon-theme +Requires: libhandy1 >= 0.90.0 +Requires: librsvg >= 1:2.46 +Requires: retro-gtk >= 1.0 +# requires "rusted" librsvg +ExclusiveArch: %{x8664} %{ix86} x32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _localstatedir /var -%define _gamesdir %{_localstatedir}/games - %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. +Games is a GNOME 3 application to browse your video games library and +to easily pick and play a game from it. It aims to do for games what +Music already does for your music library. %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. - -%description -l ru.UTF-8 -Пакет gnome-games включает игры для среды рабочего стола GNOME, среди -которых GnomeScott, freecell, gnibbles, gnobots, gnobots2, -gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg, -same-gnome и sol. - -%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,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 -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-update-icon-cache -Requires(post,postun): scrollkeeper -Requires(post,preun): GConf2 -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 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-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 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-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. - -%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-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 gnomine -Summary: GNOME Mines -Summary(pl.UTF-8): Miny 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: hicolor-icon-theme - -%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-update-icon-cache -Requires(post,postun): scrollkeeper -Requires(post,preun): GConf2 -Requires: %{name} = %{epoch}:%{version}-%{release} -Requires: hicolor-icon-theme - -%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-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 -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-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. - -%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-update-icon-cache -Requires(post,postun): scrollkeeper -Requires(post,preun): GConf2 -Requires: %{name} = %{epoch}:%{version}-%{release} -Requires: hicolor-icon-theme +GNOME Games to aplikacja GNOME 3 do przeglądania biblioteki gier wideo +i łatwego wybierania gier i grania w nie. Celem jest, aby robić z +grami to, co GNOME Music robi z biblioteką muzyczną. -%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 +%package search-provider +Summary: GNOME Games search provider for GNOME Shell +Summary(pl.UTF-8): Usługa wyszukiwania GNOME Games dla powłoki 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: hicolor-icon-theme -Requires: seed +Requires: gnome-shell >= 3 -%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 search-provider +GNOME Games search provider for GNOME Shell. -%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-update-icon-cache -Requires(post,postun): scrollkeeper -Requires(post,preun): GConf2 -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 polegająca na demontażu stosu kafli poprzez usuwanie pasujących -par. - -%package quadrapassel -Summary: GNOME Tetris -Summary(pl.UTF-8): Tetris 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: hicolor-icon-theme -Provides: gnome-games-gnometris -Obsoletes: gnome-games-gnometris - -%description quadrapassel -Tetris like game. - -%description quadrapassel -l pl.UTF-8 -Gra podobna do Tetrisa. - -%package sol -Summary: AisleRiot Solitaire -Summary(pl.UTF-8): Pasjans AisleRiot -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: guile >= 5:1.6.5 -Requires: hicolor-icon-theme - -%description sol -Many different solitaire games. - -%description sol -l pl.UTF-8 -Różne gry karciane. - -%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: hicolor-icon-theme -Requires: python-gnome-desktop-print >= 2.22.0 -Requires: python-gnome-gconf -Obsoletes: gnome-sudoku - -%description sudoku -GNOME Sudoku provides a simple interface for playing, saving, printing -and solving Sudoku. - -%description sudoku -l pl.UTF-8 -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: 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. +%description search-provider -l pl.UTF-8 +Usługa wyszukiwania GNOME Games dla powłoki GNOME. %prep %setup -q -%patch0 -p1 %build -%{__glib_gettextize} -%{__intltoolize} -%{__libtoolize} -%{__aclocal} -I m4 -%{__autoconf} -%{__autoheader} -%{__automake} -%configure \ - --enable-games=all \ - --enable-staging \ - --disable-scrollkeeper \ - --disable-schemas-install \ - --disable-silent-rules \ - --disable-static +%meson build \ + -Dmame-plugin=true -%{__make} +%ninja_build -C build %install rm -rf $RPM_BUILD_ROOT -%{__make} install \ - DESTDIR=$RPM_BUILD_ROOT +%ninja_install -C build -%py_postclean - -%find_lang %{name} --all-name -%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 aisleriot --with-gnome --with-omf -%find_lang lightsoff --with-gnome --with-omf +%find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post %glib_compile_schemas - -%postun -%glib_compile_schemas - -%post glchess %update_icon_cache hicolor -%update_desktop_database_post -%scrollkeeper_update_post -%glib_compile_schemas -%postun glchess -%update_icon_cache hicolor -%update_desktop_database_postun -%scrollkeeper_update_postun +%postun %glib_compile_schemas - -%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 - -%preun gnect -%gconf_schema_uninstall gnect.schemas - -%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 - -%preun gnibbles -%gconf_schema_uninstall gnibbles.schemas - -%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 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 - -%preun iagno -%gconf_schema_uninstall iagno.schemas - -%postun iagno -%scrollkeeper_update_postun -%update_icon_cache hicolor - -%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 -%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 quadrapassel -%scrollkeeper_update_post -%gconf_schema_install quadrapassel.schemas -%update_icon_cache hicolor - -if [ ! -f %{_gamesdir}/quadrapassel.scores ]; then - touch %{_gamesdir}/quadrapassel.scores - chown root:games %{_gamesdir}/quadrapassel.scores - chmod 664 %{_gamesdir}/quadrapassel.scores -fi - -%preun quadrapassel -%gconf_schema_uninstall quadrapassel.schemas - -%postun quadrapassel -%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 - -%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 swell-foop.schemas -%update_icon_cache hicolor - -%preun swell-foop -%gconf_schema_uninstall swell-foop.schemas - -%postun swell-foop -%scrollkeeper_update_postun %update_icon_cache hicolor %files -f %{name}.lang %defattr(644,root,root,755) -%doc AUTHORS ChangeLog NEWS README -%dir %{_libdir}/%{name} -%attr(755,root,root) %{_libdir}/%{name}/ar-cards-renderer -%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} -%{_datadir}/%{name}/icons -%{_datadir}/%{name}/sounds -%{_datadir}/%{name}/pixmaps -%{_datadir}/gnome-games-common - -%files glchess -f glchess.lang -%defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/glchess -%attr(755,root,root) %{_bindir}/gnome-gnuchess -%{_desktopdir}/glchess.desktop -%{_datadir}/glchess -%{_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 -%{_desktopdir}/glines.desktop -%{_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}/%{name}/gnect -%{_desktopdir}/gnect.desktop -%{_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 -%{_datadir}/%{name}/gnibbles -%{_desktopdir}/gnibbles.desktop -%{_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 -%{_datadir}/%{name}/gnobots2 -%{_desktopdir}/gnobots2.desktop -%{_iconsdir}/hicolor/*/*/gnome-robots.* -%attr(664,root,games) %ghost %{_localstatedir}/games/gnobots2.* -%{_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 -%{_desktopdir}/gnomine.desktop -%{_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 -%{_desktopdir}/gnotravex.desktop -%{_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 -%{_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 -%{_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 -%{_datadir}/%{name}/iagno -%{_desktopdir}/iagno.desktop -%{_iconsdir}/hicolor/*/*/gnome-iagno.* -%{_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 -%{_desktopdir}/mahjongg.desktop -%{_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 quadrapassel -f quadrapassel.lang -%defattr(644,root,root,755) -%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 sol -f aisleriot.lang -%defattr(644,root,root,755) -%attr(755,root,games) %{_bindir}/sol -%{_sysconfdir}/gconf/schemas/aisleriot.schemas -%{_datadir}/%{name}/aisleriot -%{_desktopdir}/freecell.desktop -%{_desktopdir}/sol.desktop -%{_iconsdir}/hicolor/16x16/*/gnome-aisleriot.* -%{_iconsdir}/hicolor/22x22/*/gnome-aisleriot.* -%{_iconsdir}/hicolor/24x24/*/gnome-aisleriot.* -%{_iconsdir}/hicolor/32x32/*/gnome-aisleriot.* -%{_iconsdir}/hicolor/48x48/*/gnome-aisleriot.* -%{_iconsdir}/hicolor/256x256/*/gnome-aisleriot.* -%{_iconsdir}/hicolor/16x16/*/gnome-freecell.* -%{_iconsdir}/hicolor/22x22/*/gnome-freecell.* -%{_iconsdir}/hicolor/24x24/*/gnome-freecell.* -%{_iconsdir}/hicolor/32x32/*/gnome-freecell.* -%{_iconsdir}/hicolor/48x48/*/gnome-freecell.* -%{_mandir}/man6/sol.6* - -%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 -%{_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.* +%doc AUTHORS NEWS README.md +%attr(755,root,root) %{_bindir}/gnome-games +%dir %{_libdir}/gnome-games +%dir %{_libdir}/gnome-games/plugins +%attr(755,root,root) %{_libdir}/gnome-games/plugins/libgames-*-plugin.so +%{_libdir}/gnome-games/plugins/*.plugin +%{_datadir}/dbus-1/services/org.gnome.Games.service +%{_datadir}/glib-2.0/schemas/org.gnome.Games.gschema.xml +%{_datadir}/gnome-games +%{_datadir}/metainfo/org.gnome.Games.appdata.xml +%{_desktopdir}/org.gnome.Games.desktop +%{_iconsdir}/hicolor/scalable/apps/org.gnome.Games.svg +%{_iconsdir}/hicolor/symbolic/apps/org.gnome.Games-symbolic.svg + +%files search-provider +%defattr(644,root,root,755) +%attr(755,roor,root) %{_libexecdir}/gnome-games-search-provider +%{_datadir}/dbus-1/services/org.gnome.Games.SearchProvider.service +%{_datadir}/gnome-shell/search-providers/org.gnome.Games.SearchProvider.ini