- Update to a newer git snapshot (post-3.0.1 release)
- Enable drive-menu extension
This commit is contained in:
parent
39affdd192
commit
c097963b13
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/gnome-shell-extensions-6d56cf.tar.xz
|
||||
/gnome-shell-extensions-f016b9.tar.xz
|
||||
|
@ -1,6 +1,8 @@
|
||||
%global commit f016b9
|
||||
|
||||
Name: gnome-shell-extensions
|
||||
Version: 3.0.0
|
||||
Release: 5.6d56cfgit%{?dist}
|
||||
Version: 3.0.1
|
||||
Release: 1.%{commit}git%{?dist}
|
||||
Summary: Modify and extend GNOME Shell functionality and behavior
|
||||
Group: User Interface/Desktops
|
||||
License: GPLv2+
|
||||
@ -8,14 +10,14 @@ URL: http://live.gnome.org/GnomeShell/Extensions
|
||||
|
||||
# using git archive since upstream hasn't created tarballs. Picking up a post 3.0.0 release snapshot for a couple of minor but relevant changes
|
||||
# git archive --format=tar --prefix=gnome-shell-extensions/ git_commithash | xz > gnome-shell-extensions-<git_commithash_abbr>.tar.xz
|
||||
Source0: gnome-shell-extensions-6d56cf.tar.xz
|
||||
Source0: gnome-shell-extensions-%{commit}.tar.xz
|
||||
|
||||
# since we build from a git checkout
|
||||
BuildRequires: gnome-common
|
||||
BuildRequires: intltool
|
||||
|
||||
BuildRequires: glib2-devel
|
||||
Requires: gnome-shell
|
||||
Requires: gnome-shell >= 3.0.1
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -30,6 +32,7 @@ Enabled extensions:
|
||||
* windowsNavigator
|
||||
* user-theme
|
||||
* auto-move-windows
|
||||
* drive-menu
|
||||
|
||||
%package common
|
||||
Summary: Files common to GNOME Shell Extensions
|
||||
@ -104,14 +107,28 @@ Lets you manage your workspaces more easily, assigning a specific workspace to
|
||||
each application as soon as it creates a window, in a manner configurable with a
|
||||
GSettings key.
|
||||
|
||||
%package drive-menu
|
||||
Summary: Disk device manager in the system status area
|
||||
Group: User Interface/Desktops
|
||||
License: GPLv2+
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
|
||||
%description drive-menu
|
||||
Adds a menu in the system status area that tracks removable disk devices
|
||||
attached and offers to browse them and eject/unmount them.
|
||||
|
||||
%prep
|
||||
%setup -q -n gnome-shell-extensions
|
||||
|
||||
# Main.panel._userMenu renamed to Main.panel._statusmenu in GS 3.0.1; fix sent
|
||||
# to the alternative-status-menu extension author
|
||||
sed -i "s|Main\.panel\._userMenu|Main.panel._statusmenu|g" extensions/alternative-status-menu/extension.js
|
||||
|
||||
%build
|
||||
# since we build from a git checkout
|
||||
[ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
|
||||
|
||||
%configure --enable-extensions="alternate-tab alternative-status-menu dock windowsNavigator user-theme auto-move-windows"
|
||||
%configure --enable-extensions="alternate-tab alternative-status-menu dock windowsNavigator user-theme auto-move-windows drive-menu"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -151,6 +168,10 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
|
||||
%{_datadir}/gnome-shell/extensions/auto-move-windows*
|
||||
|
||||
%files drive-menu
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/gnome-shell/extensions/drive-menu*
|
||||
|
||||
%posttrans user-theme
|
||||
glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
|
||||
|
||||
@ -164,6 +185,10 @@ glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
|
||||
%changelog
|
||||
* Tue Apr 26 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.0.1-1.f016b9git
|
||||
- Update to a newer git snapshot (post-3.0.1 release)
|
||||
- Enable drive-menu extension
|
||||
|
||||
* Mon Apr 11 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.0.0-5.6d56cfgit
|
||||
- Enable auto-move-windows extension
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user