Browse Source

gnome-shell-extensions:
- update patch0 to udpate to 3.1.90
- add xrandr-indicator, systemMonitor
- R: gnome-shell >= 3.1.90
- add Patch0 to update git master
- add workspace-indicator, apps-menu


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@4723 ec354946-7b23-47d6-9f5a-488ba84defc7

daisuke 12 years ago
parent
commit
8d4ab5c361
1 changed files with 83 additions and 18 deletions
  1. 83 18
      g/gnome-shell-extensions/gnome-shell-extensions-vl.spec

+ 83 - 18
g/gnome-shell-extensions/gnome-shell-extensions-vl.spec

@@ -1,18 +1,19 @@
 Name:           gnome-shell-extensions
 Version:        3.1.4
-Release:        1%{?_dist_release}
+Release:        3%{?_dist_release}
 Summary:        Modify and extend GNOME Shell functionality and behavior
 Group:          User Interface/Desktops
 License:        GPLv2+ 
 URL:            http://live.gnome.org/GnomeShell/Extensions
 
 Source0:        gnome-shell-extensions-%{version}.tar.xz
+Patch0:		gnome-shell-extensions-3.1.4-git20110906.patch
 
 BuildRequires:  gnome-common
 BuildRequires:  intltool
 BuildRequires:  glib2-devel
 
-Requires:       gnome-shell >= 3.1.4
+Requires:       gnome-shell >= 3.1.90
 BuildArch:      noarch
 
 Vendor: Project Vine
@@ -34,8 +35,10 @@ Enabled extensions:
   * drive-menu
   * places-menu
   * native-window-placement
-# TODO: uncomment when enabling systemMonitor
-#  * systemMonitor
+  * workspace-indicator
+  * xrandr-indicator
+  * apps-menu
+  * systemMonitor
 
 %package        common
 Summary:        Files common to GNOME Shell Extensions
@@ -141,18 +144,47 @@ This extension employs an algorithm (taken from KDE) for layouting the
 thumbnails in the overview that more closely reflects the positions and relative
 sizes of the actual windows, instead of using a fixed grid.
 
-# TODO: uncomment when enabling systemMonitor
-#%package        systemMonitor
-#Summary:        Monitor your system status
-#Group:          User Interface/Desktops
-#License:        GPLv2+ 
-#Requires:       %{name}-common = %{version}-%{release}
-#
-#%description    systemMonitor
-#Monitor your system status
+%package        workspace-indicator
+Summary:        Workspace indicator in the system status area
+Group:          User Interface/Desktops
+License:        GPLv2+ 
+Requires:       %{name}-common = %{version}-%{release}
+
+%description    workspace-indicator
+Adds a workspace indicator in the system status area.
+
+%package        apps-menu
+Summary:        Application menu in the system status area
+Group:          User Interface/Desktops
+License:        GPLv2+ 
+Requires:       %{name}-common = %{version}-%{release}
+
+%description    apps-menu
+Adds an application menu in top bar
+
+%package        xrandr-indicator
+Summary:        Xrandr indicator in the system statys area
+Group:          User Interface/Desktops
+License:        GPLv2+ 
+Requires:       %{name}-common = %{version}-%{release}
+
+%description    xrandr-indicator
+Replace the GTK+ based indicator from gnome-settings-daemon with
+a native one. Lets the user rotate the laptop monitor and open
+display preferences quickly.
+
+%package        systemMonitor
+Summary:        Monitor your system status
+Group:          User Interface/Desktops
+License:        GPLv2+ 
+Requires:       %{name}-common = %{version}-%{release}
+
+%description    systemMonitor
+An message tray indicator showing CPU and memory loads.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # since we build from a git checkout
@@ -160,7 +192,20 @@ sizes of the actual windows, instead of using a fixed grid.
 
 # TODO: once libgtop2 >= 2.28.4 is available, enable systemMonitor extension
 # TODO: once gjs >= 0.7.15 is available, enable xrand-indicator extension
-%configure  --enable-extensions="alternate-tab alternative-status-menu dock windowsNavigator user-theme auto-move-windows drive-menu places-menu native-window-placement"
+%configure \
+  --enable-extensions="alternate-tab \
+                       alternative-status-menu \
+                       apps-menu \
+                       dock \
+		       windowsNavigator \
+		       user-theme \
+		       auto-move-windows \
+		       drive-menu \
+		       places-menu \
+		       native-window-placement \
+		       workspace-indicator \
+		       xrandr-indicator
+		       systemMonitor"
 make %{?_smp_mflags}
 
 %install
@@ -224,10 +269,21 @@ make install DESTDIR=$RPM_BUILD_ROOT
 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml
 %{_datadir}/gnome-shell/extensions/native-window-placement*
 
-# TODO: uncomment when enabling systemMonitor
-#%files systemMonitor
-#%defattr(-,root,root,-)
-#%{_datadir}/gnome-shell/extensions/systemMonitor*
+%files workspace-indicator
+%defattr(-,root,root,-)
+%{_datadir}/gnome-shell/extensions/workspace-indicator*
+
+%files apps-menu
+%defattr(-,root,root,-)
+%{_datadir}/gnome-shell/extensions/apps-menu*
+
+%files xrandr-indicator
+%defattr(-,root,root,-)
+%{_datadir}/gnome-shell/extensions/xrandr-indicator*
+
+%files systemMonitor
+%defattr(-,root,root,-)
+%{_datadir}/gnome-shell/extensions/systemMonitor*
 
 %posttrans user-theme
 glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
@@ -260,6 +316,15 @@ glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
 glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 
 %changelog
+* Tue Sep 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.4-3
+- update patch0 to udpate to 3.1.90
+- add xrandr-indicator, systemMonitor
+- R: gnome-shell >= 3.1.90
+
+* Sun Sep 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1.4-2
+- add Patch0 to update git master
+- add workspace-indicator, apps-menu
+
 * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
 - initial build for Vine Linux