2009-08-04 22:44:20 +00:00
#
2011-01-17 18:08:15 +00:00
# spec file for package gnome-shell
2009-08-04 22:44:20 +00:00
#
2017-01-06 12:13:51 +00:00
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
2009-08-04 22:44:20 +00:00
#
# 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/
#
2012-02-25 14:39:20 +00:00
2016-09-08 21:23:06 +00:00
%global __requires_exclude typelib\\(Meta\\)
2009-08-04 22:44:20 +00:00
Name : gnome-shell
2017-09-12 21:52:33 +00:00
Version : 3.26.0
2011-12-21 14:56:54 +00:00
Release : 0
2010-09-13 12:11:13 +00:00
Summary : GNOME Shell
2011-12-21 14:56:54 +00:00
License : GPL-2.0+
2010-09-13 12:11:14 +00:00
Group : System/GUI/GNOME
2011-01-17 14:12:43 +00:00
Url : http://live.gnome.org/GnomeShell
2017-09-12 21:52:33 +00:00
Source : http://download.gnome.org/sources/gnome-shell/3.26/%{name} -%{version} .tar.xz
2016-09-04 13:22:57 +00:00
# SOURCE-FEATURE-SLE SLE-Classic specific core extension file, see bnc#862615
Source1 : SLEClassicExt.js
2017-06-20 16:51:00 +00:00
# SOURCE-FEATURE-SLE aboutMenu fate#314545 dliang@suse.com -- Add an applet on login UI to display suse icon, product name, hostname.
Source2 : aboutMenu.js
# SOURCE-FEATURE-SLE sle-background bsc#1007468 xwang@suse.com -- Add SUSE logo on lock screen for GNOME theme
Source3 : sle-background.png
2017-08-31 07:44:00 +00:00
# PATCH-FIX-OPENSUSE gnome-shell-meson.patch dimstar@opensuse.org -- Fix rpath statement for gvc (needs validation, upstream fix)
Patch0 : gnome-shell-meson.patch
# PATCH-NEEDS-REBASE gnome-shell-private-connection.patch bnc#751211 bgo#646187 dimstar@opensuse.org -- create private connections if the user is not authorized Was PATCH-FIX-UPSTREAM
2013-03-13 22:41:01 +00:00
Patch1 : gnome-shell-private-connection.patch
2016-08-12 09:41:51 +00:00
# PATCH-FIX-OPENSUSE gnome-shell-disable-ibus-when-not-installed.patch bsc#987360 qzhao@suse.com -- disable ibus start when outof Chinese, Japanese, Korean area.
2016-08-22 10:43:06 +00:00
Patch2 : gnome-shell-disable-ibus-when-not-installed.patch
2016-09-04 13:22:57 +00:00
# PATCH-FEATURE-SLE gnome-shell-gdm-login-applet.patch fate#314545 dliang@suse.com -- Add an applet on login UI to display suse icon, product name, hostname.
Patch3 : gnome-shell-gdm-login-applet.patch
# PATCH-FEATURE-SLE gnome-shell-domain.patch fate#307773 dliang@suse.com -- Active Directory Integration
Patch4 : gnome-shell-domain.patch
# PATCH-FIX-SLE gnome-shell-screen-disappear.patch bnc#870217 dliang@suse.com -- screen disapper.
Patch6 : gnome-shell-screen-disappear.patch
# PATCH-FIX-SLE endSession-dialog-update-time-label-every-sec.patch bnc#886132 cxiong@suse.com -- update time label every second in end session dialog
Patch7 : endSession-dialog-update-time-label-every-sec.patch
# PATCH-FEATURE-SLE gnome-shell-864872-unlock-by-mouse-motion.patch bnc#864872 dliang@suse.com -- 10px mouse motion to lift screen shield.
Patch8 : gnome-shell-864872-unlock-by-mouse-motion.patch
# PATCH-FIX-SLE gnome-shell-lock-bg-on-primay.patch bnc#894050 dliang@suse.com -- display background of lock dialog on the primary screen.
Patch9 : gnome-shell-lock-bg-on-primary.patch
# PATCH-FIX-SLE gs-fate318433-prevent-same-account-multi-logins.patch fate#318433 cxiong@suse.com -- prevent multiple simultaneous login.
Patch11 : gs-fate318433-prevent-same-account-multi-logins.patch
2017-06-20 16:51:00 +00:00
# PATCH-FEATURE-SLE gnome-shell-1007468-lock-screen-SUSE-logo-missing.patch xwang@suse.com -- Add SUSE logo on lock screen for GNOME theme.
Patch15 : gnome-shell-1007468-lock-screen-SUSE-logo-missing.patch
2017-08-31 07:44:00 +00:00
## NOTE: Keep SLE Classic patches at bottom.
2016-09-04 13:22:57 +00:00
# PATCH-FEATURE-SLE gs-sle-classic-ext.patch bnc#862615 cxiong@suse.com -- add SLE Classic support
Patch1000 : gs-sle-classic-ext.patch
2017-08-31 07:44:00 +00:00
# needed for directory ownership
BuildRequires : dbus-1
2012-11-18 15:23:08 +00:00
BuildRequires : docbook-xsl-stylesheets
2014-04-03 20:51:33 +00:00
BuildRequires : gcc-c++
2017-08-31 07:44:00 +00:00
BuildRequires : meson
BuildRequires : pkgconfig
2010-09-13 12:11:14 +00:00
BuildRequires : update-desktop-files
2012-11-18 15:23:08 +00:00
BuildRequires : xsltproc
2012-09-07 22:20:57 +00:00
BuildRequires : pkgconfig(atk-bridge-2.0)
2013-06-23 14:14:59 +00:00
BuildRequires : pkgconfig(gcr-base-3) >= 3.7.5
2011-07-29 06:56:28 +00:00
BuildRequires : pkgconfig(gdk-pixbuf-2.0)
2017-08-31 07:44:00 +00:00
BuildRequires : pkgconfig(gio-2.0) >= 2.53.0
2017-02-22 20:41:15 +00:00
BuildRequires : pkgconfig(gjs-1.0) >= 1.47.0
2013-06-23 14:14:59 +00:00
BuildRequires : pkgconfig(gnome-bluetooth-1.0) >= 3.9.0
2013-03-13 22:41:01 +00:00
BuildRequires : pkgconfig(gnome-desktop-3.0) >= 3.7.90
2012-09-21 19:21:31 +00:00
BuildRequires : pkgconfig(gnome-keybindings)
2016-09-08 21:23:06 +00:00
BuildRequires : pkgconfig(gobject-introspection-1.0) >= 1.49.1
BuildRequires : pkgconfig(gsettings-desktop-schemas) >= 3.21.2
2012-09-07 22:20:57 +00:00
BuildRequires : pkgconfig(gstreamer-1.0) >= 0.11.92
BuildRequires : pkgconfig(gstreamer-base-1.0)
2015-03-19 14:37:07 +00:00
BuildRequires : pkgconfig(gtk+-3.0) >= 3.15.0
2011-09-18 08:43:37 +00:00
BuildRequires : pkgconfig(json-glib-1.0) >= 0.13.2
2010-11-17 13:17:32 +00:00
BuildRequires : pkgconfig(libcanberra)
2015-12-29 11:35:25 +00:00
BuildRequires : pkgconfig(libcanberra-gtk3)
2013-03-13 22:41:01 +00:00
BuildRequires : pkgconfig(libcroco-0.6) >= 0.6.8
2017-08-31 07:44:00 +00:00
BuildRequires : pkgconfig(libedataserver-1.2) >= 3.17.2
2012-09-07 22:20:57 +00:00
BuildRequires : pkgconfig(libgnome-menu-3.0) >= 3.5.3
2017-08-31 07:44:00 +00:00
BuildRequires : pkgconfig(libmutter-1) >= 3.25.91
2011-09-05 08:17:07 +00:00
BuildRequires : pkgconfig(libnm-glib)
2013-05-05 12:00:27 +00:00
BuildRequires : pkgconfig(libnm-gtk) >= 0.9.8
BuildRequires : pkgconfig(libnm-util) >= 0.9.8
2013-03-13 22:41:01 +00:00
BuildRequires : pkgconfig(libpulse) >= 2.0
2010-11-17 13:17:32 +00:00
BuildRequires : pkgconfig(libpulse-mainloop-glib)
2013-03-13 22:41:01 +00:00
BuildRequires : pkgconfig(libsecret-unstable)
2011-07-29 06:56:28 +00:00
BuildRequires : pkgconfig(libsoup-2.4)
2011-08-08 14:38:09 +00:00
BuildRequires : pkgconfig(libstartup-notification-1.0) >= 0.11
2015-09-04 11:31:55 +00:00
BuildRequires : pkgconfig(libsystemd)
2017-09-12 21:52:33 +00:00
BuildRequires : pkgconfig(mutter-clutter-1) >= 3.26.0
2017-08-31 07:44:00 +00:00
BuildRequires : pkgconfig(mutter-cogl-pango-1) >= 3.25.2
2011-08-08 14:38:09 +00:00
BuildRequires : pkgconfig(polkit-agent-1) >= 0.100
2013-08-22 09:46:38 +00:00
BuildRequires : pkgconfig(xtst)
2017-08-31 07:44:00 +00:00
BuildRequires : python(abi) >= 3
2011-02-13 22:56:07 +00:00
Requires : gdk-pixbuf-loader-rsvg
2011-07-02 10:32:04 +00:00
## Finally, dependencies for session services that are needed for system icons and the user menu
# bluetooth system icon
Requires : gnome-bluetooth
# "System settings" menu item
Requires : gnome-control-center
2017-08-31 07:44:00 +00:00
Requires : gnome-session
# For a GSettings schema and power system icon
Requires : gnome-settings-daemon
2011-07-20 08:18:58 +00:00
# "High Contrast" in accessibility status icon
Requires : gnome-themes-accessibility
2017-08-31 07:44:00 +00:00
Requires : gsettings-desktop-schemas
2016-09-08 21:23:06 +00:00
# Due to now private typelib(Meta)
Requires : mutter
2015-03-19 14:37:07 +00:00
Recommends: %{name} -calendar
2010-09-13 12:11:14 +00:00
Recommends: %{name} -lang
2017-08-31 07:44:00 +00:00
# network system icon
Recommends: NetworkManager-gnome
2013-05-01 18:48:20 +00:00
# The dateTime applet in the panel launches gnome-clocks upon user request
Recommends: gnome-clocks
2012-02-29 07:19:17 +00:00
Recommends: gnome-shell-search-provider-documents
2016-02-19 15:07:37 +00:00
#merged into gnome-shell in 3.19
Obsoletes : gnome-shell-wayland
2017-03-02 18:19:21 +00:00
# gnome-shell implements the dbus interface org.freedesktop.Notifications directly
Provides : dbus(org.freedesktop.Notifications)
2010-09-13 12:11:14 +00:00
%glib2_gsettings_schema_requires
2017-08-31 07:44:00 +00:00
%if !0%{?is_opensuse}
BuildRequires : translation-update-upstream
%endif
# 11.4 doesn't have typelib dependency
%if 0%{?suse_version} < 1210
Requires : libaccountsservice0
Requires : libcaribou0
Requires : libgdmgreeter1
%endif
2009-08-04 22:44:20 +00:00
%description
The GNOME Shell redefines user interactions with the GNOME desktop. In
particular, it offers new paradigms for launching applications, accessing
documents, and organizing open windows in GNOME.
2011-12-21 14:56:54 +00:00
%package devel
Summary : GNOME Shell -- Development Files
Group : Development/Libraries/GNOME
Requires : %{name} = %{version}
%description devel
The GNOME Shell redefines user interactions with the GNOME desktop. In
particular, it offers new paradigms for launching applications, accessing
documents, and organizing open windows in GNOME.
2011-09-18 08:43:37 +00:00
%package browser-plugin
Summary : GNOME Shell Browser Plugin for the Extensions Repository
Group : System/GUI/GNOME
Requires : %{name} = %{version}
2017-03-20 14:18:05 +00:00
Supplements: packageand(%{name} :epiphany)
2011-09-18 08:43:37 +00:00
%description browser-plugin
The GNOME Shell Browser Plugin provides integration with gnome-shell
and the corresponding extensions repository. The plugin allows the
extensions repository to provide good integration, letting the website
know which extensions are enabled and disabled, and allowing the website
to enable, disable and install them.
2015-03-19 14:37:07 +00:00
%package calendar
Summary : Evolution Calendar support for GNOME Shell
Group : System/GUI/GNOME
Requires : %{name} = %{version}
# The clock / calendar applet in the panel requires e-d-s (bnc#795793).
Requires : evolution-data-server
Supplements: packageand(%{name} :evolution-data-server)
%description calendar
This package adds support for Evolution Calendar, such as appointments
into GNOME Shell calendar.
2016-09-08 21:23:06 +00:00
2009-09-03 22:55:13 +00:00
%lang_package
2016-09-04 13:22:57 +00:00
2009-08-04 22:44:20 +00:00
%prep
2009-08-17 13:33:39 +00:00
%setup -q
2016-09-08 21:23:06 +00:00
%patch0 -p1
# Needs rebase
#patch1 -p1
2016-07-10 01:16:18 +00:00
%patch2 -p1
2016-09-04 13:22:57 +00:00
%if !0%{?is_opensuse}
2016-08-12 09:41:51 +00:00
%patch3 -p1
2016-09-04 13:22:57 +00:00
%patch4 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch11 -p1
2017-06-20 16:51:00 +00:00
%patch15 -p1
2016-09-04 13:22:57 +00:00
%endif
2017-07-13 08:44:43 +00:00
2016-05-14 11:05:02 +00:00
%if !0%{?is_opensuse}
2016-09-04 13:22:57 +00:00
%patch1000 -p1
2011-02-17 12:11:02 +00:00
translation-update-upstream
2016-05-14 11:05:02 +00:00
%endif
2017-08-31 07:44:00 +00:00
cp %{SOURCE1} js/ui/
2017-06-20 16:51:00 +00:00
%if !0%{?is_opensuse}
2017-08-31 07:44:00 +00:00
cp %{SOURCE2} js/ui/
cp %{SOURCE3} data/theme/
2017-06-20 16:51:00 +00:00
%endif
2009-08-04 22:44:20 +00:00
%build
2011-09-18 08:43:37 +00:00
export BROWSER_PLUGIN_DIR=%{_libdir} /browser-plugins
2017-08-31 07:44:00 +00:00
%meson \
--libexecdir=%{_libexecdir} /%{name}
%meson_build
2009-08-04 22:44:20 +00:00
%install
2017-08-31 07:44:00 +00:00
%meson_install
2011-04-28 21:11:09 +00:00
# This is the directory where extensions get installed
install -d %{buildroot} %{_datadir} /gnome-shell/extensions
2012-02-25 14:39:20 +00:00
# This is the directory where search providers get installed
install -d %{buildroot} %{_datadir} /gnome-shell/search-providers
2016-09-04 13:22:57 +00:00
2011-02-13 22:56:07 +00:00
%find_lang %{name} %{?no_lang_C}
2016-02-19 15:07:37 +00:00
%suse_update_desktop_file org.gnome.Shell
2012-02-08 19:55:31 +00:00
%suse_update_desktop_file gnome-shell-extension-prefs
2013-10-21 16:59:33 +00:00
# Work around race, as reported in bnc#844891 & bgo#709313.
install -d %{buildroot} %{_datadir} /gnome-shell/modes
2009-08-04 22:44:20 +00:00
2011-11-28 08:19:29 +00:00
%files
2009-08-04 22:44:20 +00:00
%defattr (-,root,root)
2011-09-18 08:43:37 +00:00
%doc COPYING README NEWS
2011-01-17 14:12:43 +00:00
%{_bindir} /gnome-shell
2012-02-08 19:55:31 +00:00
%{_bindir} /gnome-shell-extension-prefs
2015-03-19 14:37:07 +00:00
%exclude %{_libexecdir} /gnome-shell/gnome-shell-calendar-server
2011-01-17 14:12:43 +00:00
%{_libexecdir} /gnome-shell/
2009-08-04 22:44:20 +00:00
%if "%{_libdir}" != "%{_libexecdir}"
2011-01-17 14:12:43 +00:00
%{_libdir} /gnome-shell/
2009-08-04 22:44:20 +00:00
%endif
2012-01-24 11:21:29 +00:00
%dir %{_datadir} /GConf
%dir %{_datadir} /GConf/gsettings
%{_datadir} /GConf/gsettings/gnome-shell-overrides.convert
2016-02-19 15:07:37 +00:00
%{_datadir} /applications/org.gnome.Shell.desktop
2012-02-08 19:55:31 +00:00
%{_datadir} /applications/gnome-shell-extension-prefs.desktop
2014-08-23 11:52:08 +00:00
%{_datadir} /applications/org.gnome.Shell.PortalHelper.desktop
2017-02-22 20:41:15 +00:00
%{_datadir} /dbus-1/interfaces/org.gnome.Shell.PadOsd.xml
2013-05-31 18:36:55 +00:00
%{_datadir} /dbus-1/interfaces/org.gnome.Shell.Screencast.xml
2013-03-13 22:41:01 +00:00
%{_datadir} /dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
2012-02-25 14:39:20 +00:00
%{_datadir} /dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
2013-03-13 22:41:01 +00:00
%{_datadir} /dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
2011-07-29 06:56:28 +00:00
%{_datadir} /dbus-1/services/org.gnome.Shell.HotplugSniffer.service
2014-08-23 11:52:08 +00:00
%{_datadir} /dbus-1/services/org.gnome.Shell.PortalHelper.service
2010-09-13 12:11:14 +00:00
%{_datadir} /glib-2.0/schemas/org.gnome.shell.gschema.xml
2012-09-21 19:21:31 +00:00
%{_datadir} /gnome-control-center/keybindings/50-gnome-shell-system.xml
2009-10-08 01:03:21 +00:00
%{_datadir} /gnome-shell/
2017-08-31 07:44:00 +00:00
%{_mandir} /man?/gnome-shell.*
2016-09-08 21:23:06 +00:00
%dir %{_datadir} /xdg-desktop-portal
%dir %{_datadir} /xdg-desktop-portal/portals
%{_datadir} /xdg-desktop-portal/portals/gnome-shell.portal
2011-12-21 14:56:54 +00:00
%files devel
%defattr (-,root,root)
2015-03-19 14:37:07 +00:00
%{_bindir} /gnome-shell-extension-tool
%{_bindir} /gnome-shell-perf-tool
2017-08-31 07:44:00 +00:00
#dir %%{_datadir}/gtk-doc/html
#dir %%{_datadir}/gtk-doc/html/st
#dir %%{_datadir}/gtk-doc/html/shell
#{_datadir}/gtk-doc/html/st/
#{_datadir}/gtk-doc/html/shell/
2009-08-04 22:44:20 +00:00
2011-09-18 08:43:37 +00:00
%files browser-plugin
%defattr (-,root,root)
%doc browser-plugin/README
2017-08-31 07:44:00 +00:00
#%{_libdir}/browser-plugins/libgnome-shell-browser-plugin.*
%dir %{_libdir} /mozilla/plugins/
%dir %{_libdir} /mozilla
%{_libdir} /mozilla/plugins/libgnome-shell-browser-plugin.*
2011-09-18 08:43:37 +00:00
2015-03-19 14:37:07 +00:00
%files calendar
%defattr (-,root,root)
%{_datadir} /applications/evolution-calendar.desktop
%{_libexecdir} /gnome-shell/gnome-shell-calendar-server
%{_datadir} /dbus-1/services/org.gnome.Shell.CalendarServer.service
2009-09-03 22:55:13 +00:00
%files lang -f %{name}.lang
2009-08-04 22:44:20 +00:00
%changelog