## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global major_version %%(echo %{version} | cut -d '.' -f1 | cut -d '~' -f 1) %global tarball_version %%(echo %{version} | tr '~' '.') %define po_package gnome-session-%{major_version} Name: gnome-session Version: 49.1 Release: %autorelease Summary: GNOME session manager License: GPL-2.0-or-later URL: https://gitlab.gnome.org/GNOME/gnome-session Source: https://download.gnome.org/sources/gnome-session/%{major_version}/%{name}-%{tarball_version}.tar.xz BuildRequires: meson BuildRequires: gcc BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(gnome-desktop-4) BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xau) BuildRequires: pkgconfig(xcomposite) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xrender) BuildRequires: pkgconfig(xtrans) BuildRequires: pkgconfig(xtst) # this is so the configure checks find /usr/bin/halt etc. BuildRequires: usermode BuildRequires: gettext BuildRequires: xmlto BuildRequires: /usr/bin/xsltproc # an artificial requires to make sure we get dconf, for now Requires: dconf Requires: system-logos # Needed for gnome-settings-daemon Requires: control-center-filesystem Requires: gsettings-desktop-schemas >= 0.1.7 Requires: dbus # https://github.com/containers/composefs/pull/229#issuecomment-1838735764 %if 0%{?rhel} >= 10 ExcludeArch: %{ix86} %endif %description gnome-session manages a GNOME desktop or GDM login session. It starts up the other core GNOME components and handles logout and saving the session. %package wayland-session Summary: Desktop file for wayland based gnome session Requires: %{name}%{?_isa} = %{version}-%{release} Requires: xorg-x11-server-Xwayland%{?_isa} >= 1.20.99.1 Requires: gnome-shell Obsoletes: gnome-session-xsession < %{version}-%{release} %description wayland-session Desktop file to add GNOME on wayland to display manager session menu. %prep %autosetup -p1 -n %{name}-%{tarball_version} %build %meson %meson_build %install %meson_install rm %{buildroot}%{_datadir}/applications/gnome-mimeapps.list %find_lang %{po_package} %ldconfig_scriptlets %files wayland-session %{_datadir}/wayland-sessions/* %files -f %{po_package}.lang %doc NEWS %license COPYING %{_bindir}/gnome-session* %{_libexecdir}/gnome-session-ctl %{_libexecdir}/gnome-session-init-worker %{_libexecdir}/gnome-session-service %{_mandir}/man1/gnome-session*1.* %{_datadir}/gnome-session/ %dir %{_datadir}/xdg-desktop-portal %{_datadir}/xdg-desktop-portal/gnome-portals.conf %{_datadir}/doc/gnome-session/ %{_datadir}/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml %{_userunitdir}/gnome-session* %{_userunitdir}/app-flatpak-.scope.d/override.conf %{_userunitdir}/app-gnome-.scope.d/override.conf %changelog ## START: Generated by rpmautospec * Mon Oct 13 2025 Petr Schindler - 49.1-1 - Update to 49.1 * Tue Sep 16 2025 Michael Catanzaro - 49.0-1 - Update to 49.0 * Thu Sep 04 2025 Michael Catanzaro - 49~rc-1 - Update to 49.rc * Thu Aug 07 2025 nmontero - 49~beta-1 - Update to 49~beta * Wed Jul 23 2025 Fedora Release Engineering - 49~alpha.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Fri Jul 04 2025 Milan Crha - 49~alpha.1-1 - Update to 49.alpha.1 * Tue Jun 17 2025 Carlos Garnacho - 49~alpha.0-1 - Update to 49~alpha.0 * Mon Jun 02 2025 Adam Williamson - 48.0-4 - Drop two x11-disablement-related backports to fix wayland sessions * Fri May 30 2025 Neal Gompa - 48.0-3 - Disable X11 for Fedora 43+ and RHEL * Mon May 19 2025 Michel Lind - 48.0-2 - Disable X11 when building for EL10+ - Always install XWayland targets * Mon Apr 21 2025 nmontero - 48.0-1 - Update to 48.0 * Thu Jan 16 2025 Fedora Release Engineering - 47.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sun Sep 22 2024 David King - 47.0.1-1 - Update to 47.0.1 * Thu Jul 18 2024 Fedora Release Engineering - 46.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Mar 21 2024 David King - 46.0-1 - Update to 46.0 * Wed Mar 06 2024 David King - 46~rc-1 - Update to 46.rc * Thu Feb 22 2024 Neal Gompa - 46~alpha-2 - Mark the xsession subpackage as deprecated * Wed Jan 31 2024 Nieves Montero - 46~alpha-1 - Update to 46~alpha * Wed Jan 24 2024 Fedora Release Engineering - 45.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 45.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 18 2024 Troy Dawson - 45.0-6 - Make i686 exclusion for RHEL only * Mon Jan 15 2024 Troy Dawson - 45.0-5 - Re-enable i686 This is not a leaf package. Removing i686 affects too many other packages. * Tue Jan 09 2024 Troy Dawson - 45.0-4 - Exclude i686 ## END: Generated by rpmautospec