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
|
Name: gnome-shell-extensions
|
||||||
Version: 3.0.0
|
Version: 3.0.0
|
||||||
Release: 1.6d56cfgit%{?dist}
|
Release: 2.6d56cfgit%{?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+
|
||||||
@ -27,6 +27,7 @@ Enabled extensions:
|
|||||||
* alternative-status-menu
|
* alternative-status-menu
|
||||||
* dock
|
* dock
|
||||||
* windowsNavigator
|
* windowsNavigator
|
||||||
|
* user-theme
|
||||||
|
|
||||||
%package common
|
%package common
|
||||||
Summary: Files common to GNOME Shell Extensions
|
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
|
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.
|
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
|
%prep
|
||||||
%setup -q -n gnome-shell-extensions
|
%setup -q -n gnome-shell-extensions
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# since we build from a git checkout
|
# 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}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -116,7 +127,22 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_datadir}/gnome-shell/extensions/windowsNavigator*
|
%{_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
|
%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
|
* Fri Apr 08 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 3.0.0-1.6d56cfgit
|
||||||
- Make sure configure doesn't get called twice
|
- Make sure configure doesn't get called twice
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user