2011-03-04 10:39:34 +01:00
|
|
|
#
|
|
|
|
# spec file for package gnome-shell-extensions
|
|
|
|
#
|
2016-01-12 11:54:14 +01:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-03-04 10:39:34 +01:00
|
|
|
# Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-07-11 16:51:46 +02:00
|
|
|
|
2011-03-04 10:39:34 +01:00
|
|
|
Name: gnome-shell-extensions
|
2016-03-18 11:05:04 +01:00
|
|
|
Version: 3.19.92
|
2012-06-04 19:38:02 +02:00
|
|
|
Release: 0
|
2011-03-04 12:17:05 +01:00
|
|
|
Summary: A collection of extensions for GNOME Shell
|
2012-06-04 19:38:02 +02:00
|
|
|
License: GPL-2.0+
|
2011-03-04 10:39:34 +01:00
|
|
|
Group: System/GUI/GNOME
|
2012-06-04 19:38:02 +02:00
|
|
|
Url: http://live.gnome.org/GnomeShell/Extensions
|
2016-02-19 15:45:30 +01:00
|
|
|
Source: http://download.gnome.org/sources/gnome-shell-extensions/3.19/%{name}-%{version}.tar.xz
|
2011-04-28 23:19:19 +02:00
|
|
|
Source1: README.SUSE
|
2012-06-04 19:38:02 +02:00
|
|
|
# Needed because we build a tarball generated with "git archive"
|
|
|
|
BuildRequires: gnome-common
|
2011-04-28 23:41:23 +02:00
|
|
|
# Needed for directory ownership
|
2011-04-28 23:19:19 +02:00
|
|
|
BuildRequires: gnome-shell
|
2011-08-11 21:39:37 +02:00
|
|
|
# gobject-introspection is needed for the typelib() rpm magic.
|
|
|
|
BuildRequires: gobject-introspection
|
2011-10-04 09:18:57 +02:00
|
|
|
BuildRequires: intltool
|
2011-03-04 10:39:34 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
2011-03-04 12:17:05 +01:00
|
|
|
GNOME Shell Extensions is a collection of extensions providing
|
|
|
|
additional and optional functionality to GNOME Shell.
|
2011-03-04 10:39:34 +01:00
|
|
|
|
2011-10-28 12:13:52 +02:00
|
|
|
%package common
|
|
|
|
Summary: GNOME Shell Extension -- Common Files
|
|
|
|
Group: System/GUI/GNOME
|
|
|
|
Requires: gnome-shell
|
|
|
|
Recommends: %{name}-common-lang
|
2012-06-04 19:38:02 +02:00
|
|
|
# Obsoletes for metapackage and extensions from gnome-shell-extensions that we used to package
|
|
|
|
Obsoletes: gnome-shell-extension-alternate-tab < %{version}
|
|
|
|
Obsoletes: gnome-shell-extension-apps-menu < %{version}
|
|
|
|
Obsoletes: gnome-shell-extension-auto-move-windows < %{version}
|
|
|
|
Obsoletes: gnome-shell-extension-dock
|
|
|
|
Obsoletes: gnome-shell-extension-drive-menu < %{version}
|
|
|
|
Obsoletes: gnome-shell-extension-gajim < %{version}
|
|
|
|
Obsoletes: gnome-shell-extension-native-window-placement < %{version}
|
|
|
|
Obsoletes: gnome-shell-extension-places-menu < %{version}
|
|
|
|
Obsoletes: gnome-shell-extension-systemMonitor < %{version}
|
|
|
|
Obsoletes: gnome-shell-extension-user-theme < %{version}
|
|
|
|
Obsoletes: gnome-shell-extension-windows-navigator < %{version}
|
|
|
|
Obsoletes: gnome-shell-extension-workspace-indicator < %{version}
|
|
|
|
Obsoletes: gnome-shell-extension-xrandr-indicator < %{version}
|
|
|
|
Obsoletes: gnome-shell-extensions < %{version}
|
2011-10-28 12:13:52 +02:00
|
|
|
|
|
|
|
%description common
|
|
|
|
This package provides files common to several GNOME Shell Extensions
|
|
|
|
|
2013-03-13 23:54:07 +01:00
|
|
|
%package -n gnome-shell-classic
|
2015-03-19 15:36:40 +01:00
|
|
|
Summary: Gnome-shell classic -- collection of extensions
|
2013-03-13 23:54:07 +01:00
|
|
|
Group: System/GUI/GNOME
|
2015-03-19 15:36:40 +01:00
|
|
|
Recommends: %{name}-common-lang
|
2013-03-13 23:54:07 +01:00
|
|
|
|
|
|
|
%description -n gnome-shell-classic
|
|
|
|
This GNOME Shell extension adds a power off item in the status
|
|
|
|
menu, and provides the ability to hibernate.
|
|
|
|
|
|
|
|
This package provides the extensions required to switch to gnome-shell classic
|
|
|
|
and also installs the required session files.
|
|
|
|
|
|
|
|
|
2011-10-28 12:13:52 +02:00
|
|
|
%lang_package -n %{name}-common
|
2011-03-04 10:39:34 +01:00
|
|
|
%prep
|
2011-05-27 00:15:20 +02:00
|
|
|
%setup -q
|
2013-04-13 18:09:22 +02:00
|
|
|
# In openSUSE GNOME, we don't launch gnome-session directly, but wrap this through a shell script, /usr/bin/gnome
|
|
|
|
sed -i "s:Exec=gnome-session:Exec=gnome:g" data/gnome-classic.desktop.in
|
2011-04-28 23:19:19 +02:00
|
|
|
cp %{S:1} .
|
2011-03-04 10:39:34 +01:00
|
|
|
|
|
|
|
%build
|
2013-03-13 23:54:07 +01:00
|
|
|
CLASSIC_EXTENSIONS=$(grep -e 'CLASSIC_EXTENSIONS=".*"' configure.ac | sed -e "s:CLASSIC_EXTENSIONS=::" -e 's:"::g')
|
|
|
|
%configure \
|
|
|
|
--enable-classic-mode \
|
2013-07-31 20:58:27 +02:00
|
|
|
--enable-extensions="$CLASSIC_EXTENSIONS"
|
2011-03-04 10:39:34 +01:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2011-03-04 12:17:05 +01:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2011-03-04 10:39:34 +01:00
|
|
|
|
2013-03-29 21:59:06 +01:00
|
|
|
%post -n gnome-shell-classic
|
|
|
|
%glib2_gsettings_schema_post
|
|
|
|
|
|
|
|
%postun -n gnome-shell-classic
|
2013-01-12 20:40:15 +01:00
|
|
|
%glib2_gsettings_schema_postun
|
|
|
|
|
2011-10-28 12:13:52 +02:00
|
|
|
%files common
|
|
|
|
%defattr(-,root,root)
|
2012-06-04 19:38:02 +02:00
|
|
|
%doc COPYING README.SUSE
|
2011-08-11 21:39:37 +02:00
|
|
|
|
2013-03-13 23:54:07 +01:00
|
|
|
%files -n gnome-shell-classic
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING
|
2013-06-23 16:12:02 +02:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.classic-overrides.gschema.xml
|
2013-03-13 23:54:07 +01:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.window-list.gschema.xml
|
|
|
|
%{_datadir}/gnome-session/sessions/gnome-classic.session
|
|
|
|
%{_datadir}/gnome-shell/extensions/alternate-tab@gnome-shell-extensions.gcampax.github.com/
|
|
|
|
%{_datadir}/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com/
|
|
|
|
%{_datadir}/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com/
|
|
|
|
%{_datadir}/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com/
|
|
|
|
%{_datadir}/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com/
|
|
|
|
%dir %{_datadir}/gnome-shell/modes
|
|
|
|
%{_datadir}/gnome-shell/modes/classic.json
|
2015-03-19 15:36:40 +01:00
|
|
|
%dir %{_datadir}/gnome-shell/theme/
|
2015-10-19 11:56:03 +02:00
|
|
|
%{_datadir}/gnome-shell/theme/calendar-today.svg
|
2013-04-19 11:38:18 +02:00
|
|
|
%{_datadir}/gnome-shell/theme/classic-process-working.svg
|
2013-03-13 23:54:07 +01:00
|
|
|
%{_datadir}/gnome-shell/theme/classic-toggle-off-intl.svg
|
|
|
|
%{_datadir}/gnome-shell/theme/classic-toggle-off-us.svg
|
|
|
|
%{_datadir}/gnome-shell/theme/classic-toggle-on-intl.svg
|
|
|
|
%{_datadir}/gnome-shell/theme/classic-toggle-on-us.svg
|
|
|
|
%{_datadir}/gnome-shell/theme/gnome-classic.css
|
2015-03-19 15:36:40 +01:00
|
|
|
%{_datadir}/gnome-shell/theme/gnome-classic-high-contrast.css
|
2013-03-13 23:54:07 +01:00
|
|
|
%{_datadir}/xsessions/gnome-classic.desktop
|
|
|
|
|
2011-10-28 12:13:52 +02:00
|
|
|
%files common-lang -f %{name}.lang
|
2011-03-04 10:39:34 +01:00
|
|
|
|
|
|
|
%changelog
|