- 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-6d56cf.tar.xz
|
||||||
|
/gnome-shell-extensions-f016b9.tar.xz
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
|
%global commit f016b9
|
||||||
|
|
||||||
Name: gnome-shell-extensions
|
Name: gnome-shell-extensions
|
||||||
Version: 3.0.0
|
Version: 3.0.1
|
||||||
Release: 5.6d56cfgit%{?dist}
|
Release: 1.%{commit}git%{?dist}
|
||||||
Summary: Modify and extend GNOME Shell functionality and behavior
|
Summary: Modify and extend GNOME Shell functionality and behavior
|
||||||
Group: User Interface/Desktops
|
Group: User Interface/Desktops
|
||||||
License: GPLv2+
|
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
|
# 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
|
# 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
|
# since we build from a git checkout
|
||||||
BuildRequires: gnome-common
|
BuildRequires: gnome-common
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
|
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
Requires: gnome-shell
|
Requires: gnome-shell >= 3.0.1
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -30,6 +32,7 @@ Enabled extensions:
|
|||||||
* windowsNavigator
|
* windowsNavigator
|
||||||
* user-theme
|
* user-theme
|
||||||
* auto-move-windows
|
* auto-move-windows
|
||||||
|
* drive-menu
|
||||||
|
|
||||||
%package common
|
%package common
|
||||||
Summary: Files common to GNOME Shell Extensions
|
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
|
each application as soon as it creates a window, in a manner configurable with a
|
||||||
GSettings key.
|
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
|
%prep
|
||||||
%setup -q -n gnome-shell-extensions
|
%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
|
%build
|
||||||
# since we build from a git checkout
|
# since we build from a git checkout
|
||||||
[ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
|
[ -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}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%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}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml
|
||||||
%{_datadir}/gnome-shell/extensions/auto-move-windows*
|
%{_datadir}/gnome-shell/extensions/auto-move-windows*
|
||||||
|
|
||||||
|
%files drive-menu
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_datadir}/gnome-shell/extensions/drive-menu*
|
||||||
|
|
||||||
%posttrans user-theme
|
%posttrans user-theme
|
||||||
glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
|
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 || :
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Apr 11 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.0.0-5.6d56cfgit
|
||||||
- Enable auto-move-windows extension
|
- Enable auto-move-windows extension
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user