+%gconf_schema_install
+
+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
+
+%postun gnibbles -p /usr/bin/scrollkeeper-update
+
+%post gnobots2
+/usr/bin/scrollkeeper-update
+%gconf_schema_install
+
+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
+
+%postun gnobots2 -p /usr/bin/scrollkeeper-update
+
+%post stones
+umask 022
+/usr/bin/scrollkeeper-update
+%gconf_schema_install
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
+
+if [ ! -f %{_gamesdir}/gnome-stones.scores ]; then
+ touch %{_gamesdir}/gnome-stones.scores
+ chown root:games %{_gamesdir}/gnome-stones.scores
+ chmod 664 %{_gamesdir}/gnome-stones.scores
+fi
+
+%postun stones
+umask 022
+/usr/bin/scrollkeeper-update
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
+
+%post gnometris
+/usr/bin/scrollkeeper-update
+%gconf_schema_install
+
+if [ ! -f %{_gamesdir}/gnometris.scores ]; then
+ touch %{_gamesdir}/gnometris.scores
+ chown root:games %{_gamesdir}/gnometris.scores
+ chmod 664 %{_gamesdir}/gnometris.scores
+fi
+
+%postun gnometris -p /usr/bin/scrollkeeper-update
+
+%post gnomine
+/usr/bin/scrollkeeper-update
+%gconf_schema_install
+
+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
+
+%postun gnomine -p /usr/bin/scrollkeeper-update
+
+%post gnotravex
+/usr/bin/scrollkeeper-update
+%gconf_schema_install
+
+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
+
+%postun gnotravex -p /usr/bin/scrollkeeper-update
+
+%post gnotski
+/usr/bin/scrollkeeper-update
+
+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
+
+%postun gnotski -p /usr/bin/scrollkeeper-update
+
+%post gtali
+/usr/bin/scrollkeeper-update
+%gconf_schema_install
+
+if [ ! -f %{_gamesdir}/gtali.scores ]; then
+ touch %{_gamesdir}/gtali.scores
+ chown root:games %{_gamesdir}/gtali.scores
+ chmod 664 %{_gamesdir}/gtali.scores
+fi
+
+%postun gtali -p /usr/bin/scrollkeeper-update
+
+%post iagno
+/usr/bin/scrollkeeper-update
+%gconf_schema_install
+
+%postun iagno -p /usr/bin/scrollkeeper-update
+
+%post mahjongg
+/usr/bin/scrollkeeper-update
+%gconf_schema_install
+
+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
+
+%postun mahjongg -p /usr/bin/scrollkeeper-update
+
+%post same-gnome
+/usr/bin/scrollkeeper-update
+%gconf_schema_install
+
+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
+
+%postun same-gnome -p /usr/bin/scrollkeeper-update
+
+%post sol
+/usr/bin/scrollkeeper-update
+%gconf_schema_install
+
+%postun sol -p /usr/bin/scrollkeeper-update