Enabled the user-theme extension
Patch from Timur Kristóf <venemo@msn.com>
This commit is contained in:
parent
bcfa373fab
commit
64e3b8c648
@ -1,6 +1,6 @@
|
||||
Name: gnome-shell-extensions
|
||||
Version: 3.0.0
|
||||
Release: 1.6d56cfgit%{?dist}
|
||||
Release: 2.6d56cfgit%{?dist}
|
||||
Summary: Modify and extend GNOME Shell functionality and behavior
|
||||
Group: User Interface/Desktops
|
||||
License: GPLv2+
|
||||
@ -27,6 +27,7 @@ Enabled extensions:
|
||||
* alternative-status-menu
|
||||
* dock
|
||||
* windowsNavigator
|
||||
* user-theme
|
||||
|
||||
%package common
|
||||
Summary: Files common to GNOME Shell Extensions
|
||||
@ -79,14 +80,24 @@ Allow keyboard selection of windows and work-spaces in overlay mode in
|
||||
GNOME Shell. Switch to overlay mode and press the alt key to show
|
||||
numbers over windows. Press any number to switch to the corresponding window.
|
||||
|
||||
%package user-theme
|
||||
Summary: Lets the user select a custom theme for the shell
|
||||
Group: User Interface/Desktops
|
||||
License: GPLv2+
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
|
||||
%description user-theme
|
||||
Lets the user select a custom theme for the Gnome shell.
|
||||
It will allow you to apply a style from /.themes/[themeName]/gnome-shell/gnome-shell.css
|
||||
|
||||
%prep
|
||||
%setup -q -n gnome-shell-extensions
|
||||
|
||||
%build
|
||||
# since we build from a git checkout
|
||||
[ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh --enable-extensions="alternate-tab alternative-status-menu dock windowsNavigator"
|
||||
[ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh # --enable-extensions="alternate-tab alternative-status-menu dock windowsNavigator user-theme"
|
||||
|
||||
%configure
|
||||
%configure --enable-extensions="alternate-tab alternative-status-menu dock windowsNavigator user-theme"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -116,7 +127,22 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/gnome-shell/extensions/windowsNavigator*
|
||||
|
||||
%files user-theme
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.user-theme.gschema.xml
|
||||
%{_datadir}/gnome-shell/extensions/user-theme*
|
||||
|
||||
%posttrans user-theme
|
||||
glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
|
||||
|
||||
%postun user-theme
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
|
||||
%changelog
|
||||
* Sun Apr 11 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 3.0.0-2.6d56cfgit
|
||||
- Added the user-theme extension
|
||||
- Patch from Timur Kristóf <venemo@msn.com>
|
||||
|
||||
* Fri Apr 08 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 3.0.0-1.6d56cfgit
|
||||
- Make sure configure doesn't get called twice
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user