]> git.pld-linux.org Git - packages/gnome-games.git/blobdiff - gnome-games.spec
- updated to 2.8.1 (bugfix release)
[packages/gnome-games.git] / gnome-games.spec
index 69e2ba0ec081e31f305cb9073616548084efad8a..20b015e68282b8444c76ebedc222d8ecde985081 100644 (file)
@@ -6,13 +6,14 @@ Summary(ru):  
 Summary(uk):   ¶ÇÒɠЦĠGNOME
 Summary(wa):   Djeus po GNOME
 Name:          gnome-games
-Version:       2.8.0
+Version:       2.8.1
 Release:       1
 Epoch:         1
 License:       LGPL
 Group:         X11/Applications/Games
 Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/2.8/%{name}-%{version}.tar.bz2
-# Source0-md5: 28ca74bc8b3305103aaf18b7f3530191
+# Source0-md5: d3c675e29c835cfa765fbd6ae4a289cc
+# Source0-size:        5926555
 Patch0:                %{name}-schemas.patch
 Patch1:                %{name}-include.patch
 Patch2:                %{name}-desktop.patch
@@ -22,6 +23,7 @@ BuildRequires:        GConf2-devel >= 2.7.92
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake
 BuildRequires: esound-devel
+BuildRequires: gnome-common >= 2.8.0
 BuildRequires: gnome-vfs2-devel >= 2.7.92
 BuildRequires: guile-devel >= 1.6.4
 BuildRequires: gtk+2-devel >= 2:2.4.4
@@ -163,7 +165,7 @@ Summary(pl):        "Kamienie" dla GNOME
 Group:         X11/Applications/Games
 Requires(post):        GConf2
 Requires(post):        coreutils
-Requires(post):        scrollkeeper
+Requires(post,postun): scrollkeeper
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
 %description stones
@@ -316,7 +318,7 @@ R
 glib-gettextize --copy --force
 intltoolize --copy --force
 %{__libtoolize}
-%{__aclocal} -I %{_aclocaldir}/gnome2-macros
+%{__aclocal}
 %{__autoheader}
 %{__autoconf}
 %{__automake}
@@ -406,8 +408,10 @@ 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
@@ -415,7 +419,10 @@ if [ ! -f %{_gamesdir}/gnome-stones.scores ]; then
        chmod 664 %{_gamesdir}/gnome-stones.scores
 fi
 
-%postun stones -p /usr/bin/scrollkeeper-update
+%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
This page took 0.129213 seconds and 4 git commands to generate.