[gnome-power-manager] 3.1.3
Matthias Clasen
mclasen at fedoraproject.org
Tue Jul 26 01:41:08 UTC 2011
commit 9189fc2df0d3495c6f8095efa4c4b436751e974a
Author: Matthias Clasen <mclasen at redhat.com>
Date: Mon Jul 25 21:39:52 2011 -0400
3.1.3
.gitignore | 1 +
gnome-power-manager.spec | 49 +++++++++++++--------------------------------
sources | 2 +-
3 files changed, 16 insertions(+), 36 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 94f1a73..90380d1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@ gnome-power-manager-2.31.4.tar.bz2
/gnome-power-manager-2.91.93.tar.bz2
/gnome-power-manager-3.0.0.tar.bz2
/gnome-power-manager-3.1.2.tar.xz
+/gnome-power-manager-3.1.3.tar.xz
diff --git a/gnome-power-manager.spec b/gnome-power-manager.spec
index 7b97e56..599042b 100644
--- a/gnome-power-manager.spec
+++ b/gnome-power-manager.spec
@@ -1,10 +1,10 @@
Summary: GNOME power management service
Name: gnome-power-manager
-Version: 3.1.2
-Release: 2%{?dist}
+Version: 3.1.3
+Release: 1%{?dist}
License: GPLv2+ and GFDL
Group: Applications/System
-Source: http://download.gnome.org/sources/gnome-power-manager/2.91/gnome-power-manager-%{version}.tar.xz
+Source: http://download.gnome.org/sources/gnome-power-manager/3.1/gnome-power-manager-%{version}.tar.xz
URL: http://projects.gnome.org/gnome-power-manager/
BuildRequires: gnome-panel-devel >= 2.31.2
@@ -42,46 +42,23 @@ displaying icons and handling user callbacks in an interactive GNOME session.
%build
%configure --disable-scrollkeeper
-make AM_LDFLAGS="-Wl,-O1,--as-needed"
%install
make install DESTDIR=$RPM_BUILD_ROOT
-desktop-file-install --vendor gnome --delete-original \
- --dir $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart \
- $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/gnome-power-manager.desktop
-
-# save space by linking identical images in translated docs
-helpdir=$RPM_BUILD_ROOT%{_datadir}/gnome/help/%{name}
-for f in $helpdir/C/figures/*.png; do
- b="$(basename $f)"
- for d in $helpdir/*; do
- if [ -d "$d" -a "$d" != "$helpdir/C" ]; then
- g="$d/figures/$b"
- if [ -f "$g" ]; then
- if cmp -s $f $g; then
- rm "$g"; ln -s "../../C/figures/$b" "$g"
- fi
- fi
- fi
- done
-done
-
%find_lang %name --with-gnome
-%post
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
- gtk-update-icon-cache -q %{_datadir}/icons/hicolor &> /dev/null || :
-fi
+%postun
update-desktop-database %{_datadir}/applications &> /dev/null || :
-glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+if [ $1 -eq 0]; then
+ touch --no-create %{_datadir}/icons/hicolor
+ gtk-update-icon-cache -q %{_datadir}/icons/hicolor &> /dev/null || :
+ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+fi
-%postun
+%posttrans
touch --no-create %{_datadir}/icons/hicolor
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
- gtk-update-icon-cache -q %{_datadir}/icons/hicolor &> /dev/null || :
-fi
+gtk-update-icon-cache -q %{_datadir}/icons/hicolor &> /dev/null || :
update-desktop-database %{_datadir}/applications &> /dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
@@ -107,9 +84,11 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/GConf/gsettings/*.gschema.migrate
%{_mandir}/man1/*.1.gz
%{_sbindir}/*
-%{_sysconfdir}/xdg/autostart/*.desktop
%changelog
+* Mon Jul 25 2011 Matthias Clasen <mclasen at redhat.com> - 3.1.3-1
+- Update to 3.1.3
+
* Mon Jun 13 2011 Richard Hughes <rhughes at redhat.com> - 3.1.2-2
- Add BR gnome-keyring-devel
diff --git a/sources b/sources
index 175a4fc..1b2fba9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a3e118ed03a002d5c413d5b597a48a41 gnome-power-manager-3.1.2.tar.xz
+440e30cd2500870455c7d9092baa6b44 gnome-power-manager-3.1.3.tar.xz
More information about the scm-commits
mailing list