[gnome-shell-extensions] Update to git snapshot, for gnome-shell 3.1.90

Michel Alexandre Salim salimma at fedoraproject.org
Thu Sep 1 21:17:15 UTC 2011


commit 726ec0113ad8ff33742455035c0baa1f1a6597ed
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Thu Sep 1 23:16:56 2011 +0200

    Update to git snapshot, for gnome-shell 3.1.90

 .gitignore                  |    2 +-
 gnome-shell-extensions.spec |   27 ++++++++++++++++++++-------
 sources                     |    2 +-
 3 files changed, 22 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5592bc6..0ecec46 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/gnome-shell-extensions-3.1.4.tar.xz
+/gnome-shell-extensions-3.1.4-6b5e3a3e.tar.xz
diff --git a/gnome-shell-extensions.spec b/gnome-shell-extensions.spec
index 797050b..8057fb6 100644
--- a/gnome-shell-extensions.spec
+++ b/gnome-shell-extensions.spec
@@ -1,22 +1,30 @@
+%global commit 6b5e3a3e
+%global checkout 20110830git%{commit}
 %global pkg_prefix gnome-shell-extension
 
 Name:           gnome-shell-extensions
 Version:        3.1.4
-Release:        2%{?dist}
+Release:        3.%{checkout}%{?dist}
 Summary:        Modify and extend GNOME Shell functionality and behavior
 Group:          User Interface/Desktops
 License:        GPLv2+
 URL:            http://live.gnome.org/GnomeShell/Extensions
 
-Source0:        http://ftp.gnome.org/pub/gnome/sources/gnome-shell-extensions/3.1/%{name}-%{version}.tar.xz
+# Using git archive since upstream hasn't released 3.1.90 yet.
+# $ git archive --format=tar --prefix=%{name}-%{version}/ %{commit}
+# | xz > ../%{name}-%{version}-%{commit}.tar.xz
+Source0:        %{name}-%{version}-%{commit}.tar.xz
+#Source0:        http://ftp.gnome.org/pub/gnome/sources/gnome-shell-extensions/3.1/%{name}-%{version}.tar.xz
 
+# Since we build from a git checkout
+BuildRequires:  gnome-common
 BuildRequires:  intltool
 BuildRequires:  glib2-devel
 # TODO: uncomment when enabling xrandr-indicator
 # BuildRequires:  pkgconfig(gnome-desktop-3.0)
 BuildRequires:  pkgconfig(libgtop-2.0)
 
-Requires:       gnome-shell >= 3.1.0
+Requires:       gnome-shell >= 3.1.90
 BuildArch:      noarch
 
 %description
@@ -31,13 +39,13 @@ Enabled extensions:
   * auto-move-windows
   * dock
   * drive-menu
-# TODO: uncomment when enabling gajim
-#  * gajim
   * native-window-placement
   * places-menu
   * systemMonitor
   * user-theme
   * windowsNavigator
+# TODO: uncomment when enabling gajim
+#  * gajim
 # TODO: uncomment when enabling xrandr-indicator
 #  * xrandr-indicator
 
@@ -178,7 +186,7 @@ License:        GPLv2+
 Requires:       %{pkg_prefix}-common = %{version}-%{release}
 # should be pulled in by control-center, but in case someone tries for
 # a minimalist gnome-shell installation
-Requires:	libgtop2
+Requires:       libgtop2
 
 %description -n %{pkg_prefix}-systemMonitor
 Monitor your system status
@@ -225,11 +233,13 @@ to the corresponding window.
 
 %prep
 %setup -q
+# make g-s-e work with g-s 3.1.90
+sed -i "s|3.1.4|3.1.90|g" configure.ac
 
 
 %build
 # since we build from a git checkout
-# [ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh 
+[ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh 
 
 # TODO: enable xrandr-indicator extension when:
 # - gjs 1.29.16 is supported (upper limit is now 1.29.1)
@@ -358,6 +368,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 
 
 %changelog
+* Thu Sep  1 2011 Michel Salim <salimma at fedoraproject.org> - 3.1.4-3.20110830git6b5e3a3e
+- Update to git snapshot, for gnome-shell 3.1.90
+
 * Sun Aug 21 2011 Michel Salim <salimma at fedoraproject.org> - 3.1.4-2
 - Enable apps-menu extension
 - Spec cleanup
diff --git a/sources b/sources
index f20b89e..443d5ad 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6c26465a635532b56740e549b032e902  gnome-shell-extensions-3.1.4.tar.xz
+5bbac48d8b338551b353527d467cb836  gnome-shell-extensions-3.1.4-6b5e3a3e.tar.xz


More information about the scm-commits mailing list