2021-03-16 15:55:19 +00:00
|
|
|
%global tarball_version %%(echo %{version} | tr '~' '.')
|
|
|
|
|
2009-08-13 00:07:57 +00:00
|
|
|
Name: gnome-shell
|
2023-08-11 00:45:16 +00:00
|
|
|
Version: 45~beta.1
|
2023-04-25 08:16:47 +00:00
|
|
|
Release: %autorelease
|
2009-08-13 00:07:57 +00:00
|
|
|
Summary: Window management and application launching for GNOME
|
|
|
|
|
|
|
|
License: GPLv2+
|
2016-10-07 12:33:37 +00:00
|
|
|
URL: https://wiki.gnome.org/Projects/GnomeShell
|
2023-07-06 18:47:23 +00:00
|
|
|
Source0: https://download.gnome.org/sources/gnome-shell/45/%{name}-%{tarball_version}.tar.xz
|
2022-11-21 17:39:51 +00:00
|
|
|
|
2011-09-07 16:55:09 +00:00
|
|
|
# Replace Epiphany with Firefox in the default favourite apps list
|
2021-10-12 19:21:12 +00:00
|
|
|
Patch10001: gnome-shell-favourite-apps-firefox.patch
|
2011-05-10 21:44:38 +00:00
|
|
|
|
2021-05-13 15:49:09 +00:00
|
|
|
# Some users might have a broken PAM config, so we really need this
|
|
|
|
# downstream patch to stop trying on configuration errors.
|
2021-10-12 19:21:12 +00:00
|
|
|
Patch40001: 0001-gdm-Work-around-failing-fingerprint-auth.patch
|
|
|
|
|
2022-07-19 12:32:40 +00:00
|
|
|
%define eds_version 3.45.1
|
2023-03-06 18:03:38 +00:00
|
|
|
%define gnome_desktop_version 40
|
2018-05-18 10:42:26 +00:00
|
|
|
%define glib2_version 2.56.0
|
|
|
|
%define gobject_introspection_version 1.49.1
|
2022-08-11 08:29:37 +00:00
|
|
|
%define gjs_version 1.73.1
|
2021-01-15 00:43:33 +00:00
|
|
|
%define gtk4_version 4.0.0
|
2022-02-14 23:09:21 +00:00
|
|
|
%define adwaita_version 1.0.0
|
2023-08-11 00:45:16 +00:00
|
|
|
%define mutter_version 45~beta.1
|
2018-05-18 10:42:26 +00:00
|
|
|
%define polkit_version 0.100
|
2022-02-16 17:30:31 +00:00
|
|
|
%define gsettings_desktop_schemas_version 42~beta
|
2018-02-21 22:39:29 +00:00
|
|
|
%define ibus_version 1.5.2
|
2022-09-04 14:26:25 +00:00
|
|
|
%define gnome_bluetooth_version 1:42.3
|
2018-05-18 11:24:25 +00:00
|
|
|
%define gstreamer_version 1.4.5
|
2020-09-02 02:01:18 +00:00
|
|
|
%define pipewire_version 0.3.0
|
2020-09-10 11:17:41 +00:00
|
|
|
%define gnome_settings_daemon_version 3.37.1
|
2009-12-07 03:22:24 +00:00
|
|
|
|
2019-08-26 22:05:04 +00:00
|
|
|
BuildRequires: bash-completion
|
2019-03-25 11:12:54 +00:00
|
|
|
BuildRequires: gcc
|
2017-07-19 23:07:53 +00:00
|
|
|
BuildRequires: meson
|
2018-05-09 15:36:29 +00:00
|
|
|
BuildRequires: git
|
2022-01-14 15:35:33 +00:00
|
|
|
BuildRequires: pkgconfig(ibus-1.0) >= %{ibus_version}
|
2009-08-13 00:07:57 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
2022-01-14 15:35:33 +00:00
|
|
|
BuildRequires: pkgconfig(libedataserver-1.2) >= %{eds_version}
|
2022-07-19 16:36:47 +00:00
|
|
|
BuildRequires: pkgconfig(gcr-4)
|
2022-01-14 15:35:33 +00:00
|
|
|
BuildRequires: pkgconfig(gjs-1.0) >= %{gjs_version}
|
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
|
|
|
|
BuildRequires: pkgconfig(gnome-autoar-0)
|
2023-03-06 18:03:38 +00:00
|
|
|
BuildRequires: pkgconfig(gnome-desktop-4)
|
2022-01-14 15:35:33 +00:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) >= %{gobject_introspection_version}
|
2017-07-19 23:07:53 +00:00
|
|
|
BuildRequires: mesa-libGL-devel
|
2019-12-12 13:32:46 +00:00
|
|
|
BuildRequires: mesa-libEGL-devel
|
2022-01-14 15:35:33 +00:00
|
|
|
BuildRequires: pkgconfig(libnm)
|
|
|
|
BuildRequires: pkgconfig(polkit-agent-1) >= %{polkit_version}
|
|
|
|
BuildRequires: pkgconfig(libstartup-notification-1.0)
|
|
|
|
BuildRequires: pkgconfig(libsystemd)
|
2009-08-13 00:07:57 +00:00
|
|
|
# for screencast recorder functionality
|
2022-01-14 15:35:33 +00:00
|
|
|
BuildRequires: pkgconfig(gstreamer-base-1.0) >= %{gstreamer_version}
|
2020-09-09 18:46:33 +00:00
|
|
|
BuildRequires: pkgconfig(libpipewire-0.3) >= %{pipewire_version}
|
2022-01-14 15:35:33 +00:00
|
|
|
BuildRequires: pkgconfig(gtk4) >= %{gtk4_version}
|
2016-08-19 20:53:38 +00:00
|
|
|
BuildRequires: gettext >= 0.19.6
|
2019-02-22 09:11:44 +00:00
|
|
|
BuildRequires: python3
|
2011-08-31 21:16:08 +00:00
|
|
|
|
2011-03-24 01:56:43 +00:00
|
|
|
# for barriers
|
|
|
|
BuildRequires: libXfixes-devel >= 5.0
|
2009-08-13 00:07:57 +00:00
|
|
|
# used in unused BigThemeImage
|
|
|
|
BuildRequires: librsvg2-devel
|
|
|
|
BuildRequires: mutter-devel >= %{mutter_version}
|
2022-01-14 15:35:33 +00:00
|
|
|
BuildRequires: pkgconfig(libpulse)
|
2012-12-10 20:34:40 +00:00
|
|
|
%ifnarch s390 s390x ppc ppc64 ppc64p7
|
2012-08-27 15:01:44 +00:00
|
|
|
BuildRequires: gnome-bluetooth-libs-devel >= %{gnome_bluetooth_version}
|
2011-04-28 14:43:47 +00:00
|
|
|
%endif
|
2010-07-12 19:26:58 +00:00
|
|
|
# Bootstrap requirements
|
2017-07-19 23:07:53 +00:00
|
|
|
BuildRequires: gtk-doc
|
2012-11-13 20:53:59 +00:00
|
|
|
%ifnarch s390 s390x
|
2023-03-14 14:52:09 +00:00
|
|
|
Recommends: gnome-bluetooth%{?_isa} >= %{gnome_bluetooth_version}
|
2012-11-13 20:53:59 +00:00
|
|
|
%endif
|
2013-06-02 16:47:23 +00:00
|
|
|
Requires: gnome-desktop3%{?_isa} >= %{gnome_desktop_version}
|
2018-08-10 17:17:32 +00:00
|
|
|
%if 0%{?rhel} != 7
|
|
|
|
# Disabled on RHEL 7 to allow logging into KDE session by default
|
2021-03-11 11:44:59 +00:00
|
|
|
Recommends: gnome-session-xsession
|
2018-05-18 11:24:25 +00:00
|
|
|
%endif
|
2022-09-02 16:01:19 +00:00
|
|
|
Requires: gcr%{?_isa}
|
2011-09-16 16:24:52 +00:00
|
|
|
Requires: gobject-introspection%{?_isa} >= %{gobject_introspection_version}
|
2012-07-21 18:09:01 +00:00
|
|
|
Requires: gjs%{?_isa} >= %{gjs_version}
|
2021-01-15 00:43:33 +00:00
|
|
|
Requires: gtk4%{?_isa} >= %{gtk4_version}
|
2022-02-14 23:09:21 +00:00
|
|
|
Requires: libadwaita%{_isa} >= %{adwaita_version}
|
2023-03-09 04:10:01 +00:00
|
|
|
Requires: libnma-gtk4%{?_isa}
|
2009-08-13 00:07:57 +00:00
|
|
|
# needed for loading SVG's via gdk-pixbuf
|
2011-09-16 16:24:52 +00:00
|
|
|
Requires: librsvg2%{?_isa}
|
|
|
|
Requires: mutter%{?_isa} >= %{mutter_version}
|
|
|
|
Requires: upower%{?_isa}
|
2018-05-18 10:42:26 +00:00
|
|
|
Requires: polkit%{?_isa} >= %{polkit_version}
|
2023-03-06 18:03:38 +00:00
|
|
|
Requires: gnome-desktop4%{?_isa} >= %{gnome_desktop_version}
|
2018-05-18 10:42:26 +00:00
|
|
|
Requires: glib2%{?_isa} >= %{glib2_version}
|
2012-07-21 18:09:01 +00:00
|
|
|
Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_version}
|
2020-09-10 11:17:41 +00:00
|
|
|
Requires: gnome-settings-daemon%{?_isa} >= %{gnome_settings_daemon_version}
|
2018-05-18 11:24:25 +00:00
|
|
|
Requires: gstreamer1%{?_isa} >= %{gstreamer_version}
|
2020-09-09 18:46:33 +00:00
|
|
|
# needed for screen recorder
|
2021-02-22 10:20:58 +00:00
|
|
|
Requires: gstreamer1-plugins-good%{?_isa}
|
2020-09-09 18:46:33 +00:00
|
|
|
Requires: pipewire-gstreamer%{?_isa}
|
2021-02-22 10:20:58 +00:00
|
|
|
Requires: xdg-user-dirs-gtk
|
2011-07-27 01:49:55 +00:00
|
|
|
# needed for schemas
|
2011-09-16 16:24:52 +00:00
|
|
|
Requires: at-spi2-atk%{?_isa}
|
2011-09-07 10:51:55 +00:00
|
|
|
# needed for on-screen keyboard
|
2018-02-21 22:39:29 +00:00
|
|
|
Requires: ibus%{?_isa} >= %{ibus_version}
|
2021-02-12 18:26:39 +00:00
|
|
|
# needed for "show keyboard layout"
|
2023-08-08 11:35:17 +00:00
|
|
|
Requires: tecla
|
2012-02-10 04:56:59 +00:00
|
|
|
# needed for the user menu
|
2012-07-21 18:09:01 +00:00
|
|
|
Requires: accountsservice-libs%{?_isa}
|
|
|
|
Requires: gdm-libs%{?_isa}
|
2014-02-22 19:43:02 +00:00
|
|
|
# needed for settings items in menus
|
2022-02-16 17:30:31 +00:00
|
|
|
Requires: gnome-control-center
|
2014-11-27 15:34:14 +00:00
|
|
|
# needed by some utilities
|
|
|
|
Requires: python3%{_isa}
|
2016-10-21 16:48:40 +00:00
|
|
|
# needed for the dual-GPU launch menu
|
|
|
|
Requires: switcheroo-control
|
2017-03-10 16:25:48 +00:00
|
|
|
# needed for clocks/weather integration
|
2017-03-16 09:54:13 +00:00
|
|
|
Requires: geoclue2-libs%{?_isa}
|
2022-01-14 21:11:30 +00:00
|
|
|
Requires: libgweather4%{?_isa}
|
2018-03-06 03:09:05 +00:00
|
|
|
# needed for thunderbolt support
|
|
|
|
Requires: bolt%{?_isa}
|
2018-09-13 10:06:54 +00:00
|
|
|
# Needed for launching flatpak apps etc
|
2020-09-29 13:08:30 +00:00
|
|
|
# 1.8.0 is needed for source type support in the screencast portal.
|
|
|
|
Requires: xdg-desktop-portal-gtk >= 1.8.0
|
2023-02-22 12:55:55 +00:00
|
|
|
Requires: xdg-desktop-portal-gnome
|
2021-04-30 07:18:59 +00:00
|
|
|
# needed by the welcome dialog
|
|
|
|
Recommends: gnome-tour
|
2009-08-13 00:07:57 +00:00
|
|
|
|
2020-08-31 18:38:17 +00:00
|
|
|
Provides: desktop-notification-daemon = %{version}-%{release}
|
2020-08-26 12:12:15 +00:00
|
|
|
Provides: PolicyKit-authentication-agent = %{version}-%{release}
|
2021-06-11 18:55:10 +00:00
|
|
|
Provides: bundled(gvc)
|
|
|
|
Provides: bundled(libcroco) = 0.6.13
|
2020-08-26 12:12:15 +00:00
|
|
|
|
2018-09-10 12:25:45 +00:00
|
|
|
%if 0%{?rhel}
|
|
|
|
# In Fedora, fedora-obsolete-packages obsoletes caribou
|
|
|
|
Obsoletes: caribou < 0.4.21-10
|
|
|
|
Obsoletes: caribou-antler < 0.4.21-10
|
|
|
|
Obsoletes: caribou-devel < 0.4.21-10
|
|
|
|
Obsoletes: caribou-gtk2-module < 0.4.21-10
|
|
|
|
Obsoletes: caribou-gtk3-module < 0.4.21-10
|
2018-09-10 12:29:46 +00:00
|
|
|
Obsoletes: python-caribou < 0.4.21-10
|
2018-09-10 12:25:45 +00:00
|
|
|
Obsoletes: python2-caribou < 0.4.21-10
|
|
|
|
Obsoletes: python3-caribou < 0.4.21-10
|
|
|
|
%endif
|
2018-09-06 22:09:01 +00:00
|
|
|
|
2019-09-09 18:15:31 +00:00
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1740897
|
|
|
|
Conflicts: gnome-shell-extension-background-logo < 3.34.0
|
|
|
|
|
2009-08-13 00:07:57 +00:00
|
|
|
%description
|
|
|
|
GNOME Shell provides core user interface functions for the GNOME 3 desktop,
|
|
|
|
like switching to windows and launching applications. GNOME Shell takes
|
|
|
|
advantage of the capabilities of modern graphics hardware and introduces
|
|
|
|
innovative user interface concepts to provide a visually attractive and
|
|
|
|
easy to use experience.
|
|
|
|
|
|
|
|
%prep
|
2021-03-16 15:55:19 +00:00
|
|
|
%autosetup -S git -n %{name}-%{tarball_version}
|
2012-01-20 03:00:58 +00:00
|
|
|
|
2009-08-13 00:07:57 +00:00
|
|
|
%build
|
2020-03-30 22:46:16 +00:00
|
|
|
%meson -Dextensions_app=false
|
2017-08-24 15:11:53 +00:00
|
|
|
%meson_build
|
2009-08-13 00:07:57 +00:00
|
|
|
|
|
|
|
%install
|
2017-07-19 23:07:53 +00:00
|
|
|
%meson_install
|
2009-08-13 00:07:57 +00:00
|
|
|
|
2015-08-19 11:00:04 +00:00
|
|
|
# Create empty directories where other packages can drop extensions
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/gnome-shell/extensions
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/gnome-shell/search-providers
|
|
|
|
|
2015-08-19 11:03:43 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%check
|
2015-11-10 18:12:35 +00:00
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Shell.desktop
|
2023-02-14 17:11:34 +00:00
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Shell.Extensions.desktop
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Shell.PortalHelper.desktop
|
2009-08-13 00:07:57 +00:00
|
|
|
|
2009-08-29 01:33:11 +00:00
|
|
|
%files -f %{name}.lang
|
2015-03-17 19:24:24 +00:00
|
|
|
%license COPYING
|
2018-05-24 17:25:54 +00:00
|
|
|
%doc README.md
|
2021-09-14 13:28:41 +00:00
|
|
|
%{_bindir}/gnome-shell
|
2019-08-26 22:05:04 +00:00
|
|
|
%{_bindir}/gnome-extensions
|
2020-04-29 22:53:39 +00:00
|
|
|
%{_bindir}/gnome-shell-extension-prefs
|
2011-03-08 05:52:37 +00:00
|
|
|
%{_bindir}/gnome-shell-extension-tool
|
2023-08-08 11:35:17 +00:00
|
|
|
%{_bindir}/gnome-shell-test-tool
|
2010-07-13 13:57:29 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/*.xml
|
2018-08-01 02:24:30 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/00_org.gnome.shell.gschema.override
|
2020-04-29 23:46:06 +00:00
|
|
|
%{_datadir}/applications/org.gnome.Shell.Extensions.desktop
|
2015-11-10 18:12:35 +00:00
|
|
|
%{_datadir}/applications/org.gnome.Shell.desktop
|
2014-07-23 23:00:43 +00:00
|
|
|
%{_datadir}/applications/org.gnome.Shell.PortalHelper.desktop
|
2019-08-26 22:05:04 +00:00
|
|
|
%{_datadir}/bash-completion/completions/gnome-extensions
|
2021-08-18 00:08:15 +00:00
|
|
|
%{_datadir}/gnome-control-center/keybindings/50-gnome-shell-launchers.xml
|
2022-02-14 23:09:21 +00:00
|
|
|
%{_datadir}/gnome-control-center/keybindings/50-gnome-shell-screenshots.xml
|
2012-09-19 13:42:53 +00:00
|
|
|
%{_datadir}/gnome-control-center/keybindings/50-gnome-shell-system.xml
|
2009-08-13 00:07:57 +00:00
|
|
|
%{_datadir}/gnome-shell/
|
2021-01-15 00:43:33 +00:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.ScreenSaver.service
|
2011-03-08 05:52:37 +00:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
|
2020-03-30 22:46:16 +00:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Shell.Extensions.service
|
2011-08-02 15:10:49 +00:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
|
2020-03-30 22:46:16 +00:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Shell.Notifications.service
|
2014-07-23 23:00:43 +00:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service
|
2020-09-02 02:01:18 +00:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Shell.Screencast.service
|
2018-10-08 20:22:48 +00:00
|
|
|
%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Extensions.xml
|
2019-01-10 20:55:37 +00:00
|
|
|
%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Introspect.xml
|
2016-12-06 23:58:41 +00:00
|
|
|
%{_datadir}/dbus-1/interfaces/org.gnome.Shell.PadOsd.xml
|
2013-05-29 14:12:09 +00:00
|
|
|
%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
|
2013-01-15 12:38:32 +00:00
|
|
|
%{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
|
2012-02-26 16:15:42 +00:00
|
|
|
%{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
|
2012-12-20 21:47:39 +00:00
|
|
|
%{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
|
2020-04-29 23:46:06 +00:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Shell.Extensions.svg
|
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Shell.Extensions-symbolic.svg
|
2020-08-13 23:16:53 +00:00
|
|
|
%{_userunitdir}/org.gnome.Shell-disable-extensions.service
|
|
|
|
%{_userunitdir}/org.gnome.Shell.target
|
|
|
|
%{_userunitdir}/org.gnome.Shell@wayland.service
|
|
|
|
%{_userunitdir}/org.gnome.Shell@x11.service
|
2016-07-21 00:25:00 +00:00
|
|
|
# Co own directory instead of pulling in xdg-desktop-portal - we
|
|
|
|
# are providing a backend to the portal, not depending on it
|
|
|
|
%dir %{_datadir}/xdg-desktop-portal/portals/
|
|
|
|
%{_datadir}/xdg-desktop-portal/portals/gnome-shell.portal
|
2009-08-13 00:07:57 +00:00
|
|
|
%{_libdir}/gnome-shell/
|
2011-03-08 05:52:37 +00:00
|
|
|
%{_libexecdir}/gnome-shell-calendar-server
|
2011-03-24 03:32:15 +00:00
|
|
|
%{_libexecdir}/gnome-shell-perf-helper
|
2011-08-02 15:10:49 +00:00
|
|
|
%{_libexecdir}/gnome-shell-hotplug-sniffer
|
2014-07-23 23:00:43 +00:00
|
|
|
%{_libexecdir}/gnome-shell-portal-helper
|
2019-08-26 22:05:04 +00:00
|
|
|
%{_mandir}/man1/gnome-extensions.1*
|
|
|
|
%{_mandir}/man1/gnome-shell.1*
|
2010-07-13 16:59:01 +00:00
|
|
|
|
2009-08-13 00:07:57 +00:00
|
|
|
%changelog
|
2023-04-25 08:16:47 +00:00
|
|
|
%autochangelog
|