2006-12-28 23:05:20 +00:00
#
2011-01-14 14:26:58 +00:00
# spec file for package gdm
2006-12-28 23:05:20 +00:00
#
2021-01-27 09:07:30 +00:00
# Copyright (c) 2021 SUSE LLC
2006-12-28 23:05:20 +00:00
#
2008-08-13 23:48:24 +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.
2019-04-15 08:33:25 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2006-12-28 23:05:20 +00:00
#
2012-02-20 22:12:07 +00:00
2012-11-11 21:48:10 +00:00
%define systemdsystemunitdir %(pkg-config --variable=systemdsystemunitdir systemd)
2011-09-07 03:49:36 +00:00
# FIXME: need to check what should be done to enable this (at least adapt the pam files). See bnc#699999
%define enable_split_authentication 0
2019-10-04 15:35:27 +00:00
2006-12-28 23:05:20 +00:00
Name : gdm
2021-01-27 11:05:05 +00:00
Version : 3.38.2
2011-12-21 04:35:05 +00:00
Release : 0
2010-12-21 11:07:40 +00:00
Summary : The GNOME Display Manager
2018-03-09 10:14:48 +00:00
License : GPL-2.0-or-later
2011-12-21 04:35:05 +00:00
Group : System/GUI/GNOME
2018-03-22 09:44:05 +00:00
URL : https://wiki.gnome.org/Projects/GDM
2019-10-04 15:35:27 +00:00
2020-10-26 08:10:58 +00:00
Source0 : https://download.gnome.org/sources/gdm/3.38/%{name} -%{version} .tar.xz
2006-12-28 23:05:20 +00:00
Source1 : gdm.pamd
Source2 : gdm-autologin.pamd
2012-09-12 09:18:56 +00:00
Source3 : gdm-launch-environment.pamd
2018-03-09 10:14:48 +00:00
Source4 : gdm-fingerprint.pamd
Source5 : gdm-smartcard.pamd
2012-10-17 20:23:09 +00:00
# gdmflexiserver wrapper, to enable other display managers to abuse the gdmflexiserver namespace (like lightdm)
2018-03-09 10:14:48 +00:00
Source6 : gdmflexiserver-wrapper
2011-09-07 03:49:36 +00:00
# /etc/xinit.d/xdm integration script
2018-03-09 10:14:48 +00:00
Source7 : X11-displaymanager-gdm
2019-04-15 08:33:25 +00:00
# Use tmpfiles to create directories under /var to support transactional updates
Source9 : gdm.tmpfiles
2019-06-07 11:16:29 +00:00
# Use reserveVT.conf to make autologin user session not to select tty1
Source10 : reserveVT.conf
2021-01-27 09:07:30 +00:00
# Use sysusers to create gdm system user
Source11 : gdm.sysusers
2019-06-07 11:16:29 +00:00
# WARNING: do not remove/significantly change patch0 without updating the relevant patch in accountsservice too
# PATCH-FIX-OPENSUSE gdm-sysconfig-settings.patch bnc432360 bsc#919723 hpj@novell.com -- Read autologin options from /etc/sysconfig/displaymanager; note that accountsservice has a similar patch (accountsservice-sysconfig.patch)
Patch0 : gdm-sysconfig-settings.patch
2008-09-24 13:25:23 +00:00
# PATCH-FIX-OPENSUSE gdm-suse-xsession.patch vuntz@novell.com -- Use the /etc/X11/xdm/* scripts
2019-06-07 11:16:29 +00:00
Patch2 : gdm-suse-xsession.patch
2009-09-28 16:08:57 +00:00
# PATCH-FIX-OPENSUSE gdm-default-wm.patch vuntz@novell.com -- Use sysconfig to know to which desktop to use by default
2019-06-07 11:16:29 +00:00
Patch3 : gdm-default-wm.patch
2013-01-18 20:04:32 +00:00
# PATCH-FIX-OPENSUSE gdm-xauthlocalhostname.patch bnc#538064 vuntz@novell.com -- Set XAUTHLOCALHOSTNAME to current hostname when we authenticate, for local logins, to avoid issues in the session in case the hostname changes later one. See comment 24 in the bug.
2019-06-07 11:16:29 +00:00
Patch4 : gdm-xauthlocalhostname.patch
# PATCH-FIX-OPENSUSE gdm-switch-to-tty1.patch bsc#1113700 xwang@suse.com -- switch to tty1 when stopping gdm service
Patch6 : gdm-switch-to-tty1.patch
2019-10-11 20:06:13 +00:00
# PATCH-FIX-OPENSUSE gdm-initial-setup-hardening.patch boo#1140851, glgo#GNOME/gnome-initial-setup#76 fezhang@suse.com -- Prevent gnome-initial-setup running if any regular user has perviously logged into the system
Patch9 : gdm-initial-setup-hardening.patch
2019-06-07 11:16:29 +00:00
# PATCH-FIX-OPENSUSE gdm-s390-not-require-g-s-d_wacom.patch bsc#1129412 yfjiang@suse.com -- Remove the runtime requirement of g-s-d Wacom plugin
Patch13 : gdm-s390-not-require-g-s-d_wacom.patch
2019-11-12 12:07:19 +00:00
# PATCH-FIX-UPSTREAM gdm-switch-user-tty7.patch bsc#1155408 glgo#GNOME#gdm#532 xwang@suse.com -- Switch to tty7 when switch user
Patch14 : gdm-switch-user-tty7.patch
2020-03-07 21:56:27 +00:00
# PATCH-FIX-UPSTREAM gdm-disable-wayland-on-mgag200-chipsets.patch bsc#1162888 glgo#GNOME/mutter#57 qkzhu@suse.com -- Disable Wayland on mgag200 chipsets
Patch15 : gdm-disable-wayland-on-mgag200-chipsets.patch
2020-09-16 09:58:56 +00:00
# PATCH-FIX-OPENSUSE gdm-UsrEtc.patch boo#1173049 boo#1173052 boo#1173053 -- needed changes for xdm/xinit/xmodmap move to /usr/etc/X11
Patch16 : gdm-UsrEtc.patch
2020-04-23 16:46:46 +00:00
2018-03-09 10:14:48 +00:00
### NOTE: Keep please SLE-only patches at bottom (starting on 1000).
# PATCH-FIX-SLE gdm-disable-gnome-initial-setup.patch bnc#1067976 qzhao@suse.com -- Disable gnome-initial-setup runs before gdm, g-i-s will only serve for CJK people to choose the input-method after login.
2019-06-07 11:16:29 +00:00
Patch1000 : gdm-disable-gnome-initial-setup.patch
2011-04-25 09:22:25 +00:00
BuildRequires : check-devel
2019-06-07 11:16:29 +00:00
# dconf and gnome-session-core are needed for directory ownership
2011-04-25 09:22:25 +00:00
BuildRequires : dconf
2017-11-01 12:07:47 +00:00
BuildRequires : fdupes
2018-03-09 10:14:48 +00:00
BuildRequires : gnome-common
2011-04-25 09:22:25 +00:00
BuildRequires : gnome-session-core
2020-10-26 08:10:58 +00:00
BuildRequires : meson >= 0.50.0
2011-04-25 09:22:25 +00:00
BuildRequires : pam-devel
2017-11-01 12:07:47 +00:00
BuildRequires : pkgconfig
2021-01-27 09:07:30 +00:00
BuildRequires : sysuser-shadow
BuildRequires : sysuser-tools
2011-04-25 09:22:25 +00:00
BuildRequires : tcpd-devel
2018-03-22 09:44:05 +00:00
BuildRequires : translation-update-upstream
2011-04-25 09:22:25 +00:00
BuildRequires : update-desktop-files
BuildRequires : xorg-x11-server
BuildRequires : xorg-x11-server-extra
2017-11-01 12:07:47 +00:00
BuildRequires : pkgconfig(accountsservice) >= 0.6.35
2020-10-26 08:10:58 +00:00
BuildRequires : pkgconfig(audit)
2017-11-01 12:07:47 +00:00
BuildRequires : pkgconfig(check)
BuildRequires : pkgconfig(gio-2.0) >= 2.36.0
BuildRequires : pkgconfig(gio-unix-2.0) >= 2.36.0
BuildRequires : pkgconfig(glib-2.0) >= 2.36.0
BuildRequires : pkgconfig(gobject-2.0) >= 2.36.0
BuildRequires : pkgconfig(gobject-introspection-1.0) >= 0.9.12
BuildRequires : pkgconfig(gthread-2.0)
BuildRequires : pkgconfig(gtk+-3.0) >= 2.91.1
BuildRequires : pkgconfig(iso-codes)
BuildRequires : pkgconfig(libcanberra-gtk3) >= 0.4
2020-04-23 16:46:46 +00:00
BuildRequires : pkgconfig(libkeyutils)
2015-09-04 11:32:32 +00:00
BuildRequires : pkgconfig(libsystemd)
2012-09-12 09:18:56 +00:00
BuildRequires : pkgconfig(ply-boot-client)
2012-02-20 22:12:07 +00:00
BuildRequires : pkgconfig(x11)
BuildRequires : pkgconfig(xau)
2017-11-01 12:07:47 +00:00
BuildRequires : pkgconfig(xcb)
BuildRequires : pkgconfig(xdmcp)
BuildRequires : pkgconfig(xi)
BuildRequires : pkgconfig(xinerama)
2012-02-20 22:12:07 +00:00
BuildRequires : pkgconfig(xrandr)
2020-05-06 16:21:38 +00:00
Requires : %{_bindir} /dbus-run-session
2017-11-01 16:31:18 +00:00
Requires : %{name} -branding = %{version}
2012-10-17 20:23:09 +00:00
Requires : gdmflexiserver
2010-05-27 22:29:17 +00:00
Requires : gnome-session-core
2011-09-07 03:49:36 +00:00
Requires : gnome-settings-daemon
2013-09-26 07:57:03 +00:00
Requires : gnome-shell
2018-03-20 12:10:21 +00:00
# xdm package ships systemd display-manager service and other common scripts
# between display managers (bsc#1084655)
Requires : xdm
2018-03-09 10:14:48 +00:00
Requires(post) : dconf
Requires(pre) : group(video)
2011-01-14 17:58:21 +00:00
Recommends: iso-codes
2018-03-09 10:14:48 +00:00
# accessibility
Recommends: orca
2011-04-25 09:22:25 +00:00
Provides : gdm2 = %{version}
Obsoletes : gdm2 < %{version}
Provides : gnome-applets-gdm = %{version}
Obsoletes : gnome-applets-gdm < %{version}
DocDir: %{_defaultdocdir}
2018-03-09 10:14:48 +00:00
%ifnarch s390 s390x
BuildRequires : pkgconfig(xorg-server)
%endif
2021-01-27 09:07:30 +00:00
%sysusers_requires
2006-12-28 23:05:20 +00:00
%description
2011-06-17 07:02:57 +00:00
The GNOME Display Manager is a system service that is responsible for
providing graphical log-ins and managing local and remote displays.
2012-09-12 09:18:56 +00:00
%package -n libgdm1
2011-09-07 03:49:36 +00:00
Summary : Client Library for Communicating with GDM Greeter Server
Group : System/Libraries
Recommends: gdm
2012-09-12 09:18:56 +00:00
%description -n libgdm1
2011-09-07 03:49:36 +00:00
The GNOME Display Manager is a system service that is responsible for
providing graphical log-ins and managing local and remote displays.
2012-09-12 09:18:56 +00:00
%package -n typelib-1_0-Gdm-1_0
2018-01-11 19:50:55 +00:00
Summary : Introspection bindings for gdm
2011-06-17 07:02:57 +00:00
Group : System/Libraries
2012-09-12 09:18:56 +00:00
%description -n typelib-1_0-Gdm-1_0
2011-06-17 07:02:57 +00:00
The GNOME Display Manager is a system service that is responsible for
providing graphical log-ins and managing local and remote displays.
2011-12-21 04:35:05 +00:00
This package provides the GObject Introspection bindings for
communicating with the GDM greeter server.
2011-09-07 03:49:36 +00:00
%package devel
Summary : Libraries for GDM -- Development Files
2011-06-17 07:02:57 +00:00
Group : Development/Libraries/GNOME
2012-09-12 09:18:56 +00:00
Requires : libgdm1 = %{version}
Requires : typelib-1_0-Gdm-1_0 = %{version}
2011-06-17 07:02:57 +00:00
2011-09-07 03:49:36 +00:00
%description devel
2011-06-17 07:02:57 +00:00
The GNOME Display Manager is a system service that is responsible for
providing graphical log-ins and managing local and remote displays.
2006-12-28 23:05:20 +00:00
2008-04-16 16:33:05 +00:00
%package branding-upstream
2011-07-06 17:05:29 +00:00
Summary : The GNOME Display Manager -- Upstream default configuration
2008-04-16 16:33:05 +00:00
Group : System/GUI/GNOME
2011-07-06 17:05:29 +00:00
Requires : %{name} = %{version}
2009-12-04 22:47:18 +00:00
Supplements: packageand(%{name} :branding-upstream)
2018-03-09 10:14:48 +00:00
Conflicts : %{name} -branding
Provides : %{name} -branding = %{version}
2011-07-06 17:05:29 +00:00
BuildArch : noarch
2011-07-07 09:16:38 +00:00
#BRAND: Provide one file:
#BRAND: /etc/gdm/custom.conf
#BRAND: Default configuration of gdm
2008-04-16 16:33:05 +00:00
%description branding-upstream
2011-06-17 07:02:57 +00:00
The GNOME Display Manager is a system service that is responsible for
providing graphical log-ins and managing local and remote displays.
2008-04-16 16:33:05 +00:00
2011-07-06 17:05:29 +00:00
This package provides the upstream default configuration for gdm.
2019-06-07 11:16:29 +00:00
%package systemd
Summary : systemd gdm.service file
Group : System/GUI/GNOME
Requires : gdm
BuildArch : noarch
%description systemd
GDM's systemd service file.
By default openSUSE uses xdm which enables the DM based on sysconfig.
This package is only needed if the system administrator wishes to use
'systemctl' instead of openSUSE's default ' update-alternatives' method.
2012-10-17 20:23:09 +00:00
%package -n gdmflexiserver
2018-01-11 19:50:55 +00:00
Summary : Compatibility Wrapper for Display Managers
2012-10-17 20:23:09 +00:00
Group : System/GUI/GNOME
Suggests : gdm
BuildArch : noarch
%description -n gdmflexiserver
2018-03-09 10:14:48 +00:00
The GDMFlexiServer tool interacts with the display manager to
2012-10-17 20:23:09 +00:00
enable fast user switching. This package contains a wrapper that
2018-03-09 10:14:48 +00:00
selects the correct Gdmflexiserver implementation, based on the
2012-10-17 20:23:09 +00:00
running display manager.
2007-08-09 16:59:15 +00:00
%lang_package
2018-03-09 10:14:48 +00:00
2006-12-28 23:05:20 +00:00
%prep
2007-08-10 15:05:57 +00:00
%setup -q
2019-06-07 11:16:29 +00:00
%patch0 -p1
%patch2 -p1
2018-01-23 13:56:01 +00:00
%patch3 -p1
2019-06-07 11:16:29 +00:00
%patch4 -p1
%patch6 -p1
2019-10-11 20:06:13 +00:00
%patch9 -p1
2019-06-07 11:16:29 +00:00
%ifarch s390 s390x
%patch13 -p1
%endif
2019-11-12 12:07:19 +00:00
%patch14 -p1
2020-03-07 21:56:27 +00:00
%patch15 -p1
2020-09-16 09:58:56 +00:00
%patch16 -p1
2019-06-07 11:16:29 +00:00
2020-04-27 17:40:27 +00:00
# SLE and Leap only patches start at 1000
%if 0%{?sle_version}
2019-06-07 11:16:29 +00:00
%patch1000 -p1
2017-07-24 10:31:12 +00:00
%endif
2006-12-28 23:05:20 +00:00
%build
2020-10-26 08:10:58 +00:00
%meson \
2018-05-29 12:19:17 +00:00
--libexecdir=%{_libexecdir} /gdm \
2020-10-26 08:10:58 +00:00
-Dat-spi-registryd-dir=%{_libexecdir} /at-spi \
-Dgdm-xsession=true \
-Dgnome-settings-daemon-dir=%{_libexecdir} /gnome-settings-daemon-3.0 \
-Dinitial-vt=7 \
-Dipv6=true \
-Dpam-mod-dir=/%{_lib}/security \
-Dplymouth=enabled \
-Drun-dir=/run/gdm \
2011-09-07 03:49:36 +00:00
%if %{enable_split_authentication}
2020-10-26 08:10:58 +00:00
-Dsplit-authentication=true \
2011-09-07 03:49:36 +00:00
%else
2020-10-26 08:10:58 +00:00
-Dsplit-authentication=false \
2011-09-07 03:49:36 +00:00
%endif
2020-10-26 08:10:58 +00:00
-Dudev-dir=%{_udevrulesdir} \
-Dwayland-support=true \
%nil
%meson_build
2021-01-27 09:07:30 +00:00
%sysusers_generate_pre %{SOURCE11} gdm
2006-12-28 23:05:20 +00:00
%install
2020-10-26 08:10:58 +00:00
%meson_install
2011-09-07 12:34:54 +00:00
## Install PAM files.
2018-03-09 10:14:48 +00:00
mkdir -p %{buildroot} %{_sysconfdir} /pam.d
2011-09-07 12:34:54 +00:00
# Generic pam config
2018-03-09 10:14:48 +00:00
cp %{SOURCE1} %{buildroot} %{_sysconfdir} /pam.d/gdm
2011-09-07 12:34:54 +00:00
# Pam config for autologin
2018-03-09 10:14:48 +00:00
cp %{SOURCE2} %{buildroot} %{_sysconfdir} /pam.d/gdm-autologin
2011-09-07 12:34:54 +00:00
# Pam config for the greeter session
2018-03-09 10:14:48 +00:00
cp %{SOURCE3} %{buildroot} %{_sysconfdir} /pam.d/gdm-launch-environment
2015-02-10 16:06:43 +00:00
%if %{enable_split_authentication}
2012-09-12 09:18:56 +00:00
# Pam config for fingerprint authentication
2018-03-09 10:14:48 +00:00
cp %{SOURCE4} %{buildroot} %{_sysconfdir} /pam.d/gdm-fingerprint
2012-09-12 09:18:56 +00:00
# Pam config for smartcard authentication
2018-03-09 10:14:48 +00:00
cp %{SOURCE5} %{buildroot} %{_sysconfdir} /pam.d/gdm-smartcard
2015-02-10 16:06:43 +00:00
%endif
2011-09-07 12:34:54 +00:00
# The default gdm pam configuration is the one to be used as pam-password too
%if %{enable_split_authentication}
2018-03-09 10:14:48 +00:00
rm %{buildroot} %{_sysconfdir} /pam.d/gdm-password
2011-09-07 12:34:54 +00:00
echo " W e a r e n o t r e a d y f o r t h i s , w e n e e d t o k n o w w h a t t o p u t i n g d m - f i n g e r p r i n t a n d g d m - s m a r t c a r d p a m c o n f i g f i l e s . "
false
%endif
2018-03-09 10:14:48 +00:00
ln -s gdm %{buildroot} %{_sysconfdir} /pam.d/gdm-password
2011-09-07 12:34:54 +00:00
## Install other files
2006-12-28 23:05:20 +00:00
# Install PostLogin script.
2017-11-01 12:07:47 +00:00
mv %{buildroot} %{_sysconfdir} /gdm/PostLogin/Default.sample %{buildroot} %{_sysconfdir} /gdm/PostLogin/Default
2012-10-17 20:23:09 +00:00
# Move gdmflexiserver to libexecdir and replace it with the compatibility wrapper
2017-11-01 12:07:47 +00:00
mv %{buildroot} %{_bindir} /gdmflexiserver %{buildroot} %{_libexecdir} /gdm/gdmflexiserver
2018-03-09 10:14:48 +00:00
install -m 755 %{SOURCE6} %{buildroot} %{_bindir} /gdmflexiserver
2020-07-10 10:09:25 +00:00
sed -e 's-@LIBEXECDIR@-%{_libexecdir}-g' -i %{buildroot} %{_bindir} /gdmflexiserver
2012-10-17 20:23:09 +00:00
#Install /etc/xinit.d/xdm integration script
2020-07-10 10:09:25 +00:00
install -D -m 644 %{SOURCE7} %{buildroot} %{_prefix} /lib/X11/displaymanagers/gdm
2017-10-13 07:14:42 +00:00
mkdir -p %{buildroot} %{_sysconfdir} /alternatives
touch %{buildroot} %{_sysconfdir} /alternatives/default-displaymanager
2020-07-10 10:09:25 +00:00
ln -s %{_sysconfdir} /alternatives/default-displaymanager %{buildroot} %{_prefix} /lib/X11/displaymanagers/default-displaymanager
2011-09-07 03:49:36 +00:00
# Install other files
2017-11-01 12:07:47 +00:00
mkdir -p %{buildroot} /run/gdm
mkdir -p %{buildroot} %{_bindir}
ln -s ../sbin/gdm %{buildroot} %{_bindir} /gdm
2019-04-15 08:33:25 +00:00
2020-10-26 08:10:58 +00:00
mkdir -p %{buildroot} %{_tmpfilesdir}
install -m 644 %{SOURCE9} %{buildroot} %{_tmpfilesdir} /gdm.conf
2019-04-15 08:33:25 +00:00
2020-07-10 10:09:25 +00:00
mkdir -p %{buildroot} %{_prefix} /lib/systemd/logind.conf.d
install -m 644 %{SOURCE10} %{buildroot} %{_prefix} /lib/systemd/logind.conf.d/reserveVT.conf
2019-06-07 11:16:29 +00:00
2021-01-27 09:07:30 +00:00
mkdir -p %{buildroot} %{_sysusersdir}
install -m 644 %{SOURCE11} %{buildroot} %{_sysusersdir} /gdm.conf
2011-09-07 03:49:36 +00:00
%find_lang %{name} %{?no_lang_C}
2017-11-01 12:07:47 +00:00
%fdupes -s %{buildroot} %{_datadir} /help
2007-08-05 09:40:20 +00:00
2020-04-17 22:42:19 +00:00
%check
2020-10-26 08:10:58 +00:00
%meson_test
2020-04-17 22:42:19 +00:00
2021-01-27 09:07:30 +00:00
%pre -f gdm.pre
2006-12-28 23:05:20 +00:00
2011-02-13 21:06:10 +00:00
%post
2019-04-15 08:33:25 +00:00
%tmpfiles_create gdm.conf
2020-07-10 10:09:25 +00:00
%{_sbindir} /update-alternatives --install %{_prefix} /lib/X11/displaymanagers/default-displaymanager \
default-displaymanager %{_prefix} /lib/X11/displaymanagers/gdm 25
2011-02-13 21:06:10 +00:00
2012-03-21 15:00:19 +00:00
%posttrans
2012-01-17 13:47:10 +00:00
# Create dconf database for gdm, to lockdown the gdm session
dconf update
2007-01-23 20:25:59 +00:00
2006-12-28 23:05:20 +00:00
%postun
2020-07-10 10:09:25 +00:00
[ -f %{_prefix} /lib/X11/displaymanagers/gdm ] || %{_sbindir} /update-alternatives \
--remove default-displaymanager %{_prefix} /lib/X11/displaymanagers/gdm
2006-12-28 23:05:20 +00:00
2012-09-12 09:18:56 +00:00
%post -n libgdm1 -p /sbin/ldconfig
%postun -n libgdm1 -p /sbin/ldconfig
2011-09-07 03:49:36 +00:00
2012-03-21 15:00:19 +00:00
%files
2018-03-09 10:14:48 +00:00
%license COPYING
2019-06-07 11:16:29 +00:00
%doc AUTHORS NEWS README.md
2012-09-12 09:18:56 +00:00
%doc %{_datadir} /help/C/%{name} /
2007-01-12 15:12:54 +00:00
%dir %config %{_sysconfdir} /gdm
%config %{_sysconfdir} /gdm/[IPXl]*
2010-08-09 21:51:59 +00:00
%{_sbindir} /gdm
2011-09-07 01:01:35 +00:00
%{_bindir} /gdm
%{_bindir} /gdm-screenshot
2014-04-03 20:37:03 +00:00
%dir %{_datadir} /dconf
%dir %{_datadir} /dconf/profile
%{_datadir} /dconf/profile/gdm
2010-09-23 22:26:45 +00:00
%{_datadir} /gdm/
2017-08-31 07:44:32 +00:00
%{_datadir} /gnome-session/sessions/gnome-login.session
2011-09-21 16:12:05 +00:00
%{_datadir} /glib-2.0/schemas/org.gnome.login-screen.gschema.xml
2016-09-08 21:23:45 +00:00
/%{_lib}/security/pam_gdm.so
2010-05-27 23:30:31 +00:00
%dir %{_libexecdir} /gdm
%{_libexecdir} /gdm/gdm-*
2012-10-17 20:23:09 +00:00
%{_libexecdir} /gdm/gdmflexiserver
2019-04-15 08:33:25 +00:00
%ghost %attr (750,gdm,gdm) %dir %{_localstatedir} /lib/gdm
%ghost %attr (711,root,gdm) %dir %{_localstatedir} /log/gdm
%ghost %dir %{_localstatedir} /cache/gdm
2017-07-18 09:03:59 +00:00
%ghost %attr (711,root,gdm) %dir /run/gdm
2018-03-09 10:14:48 +00:00
%config %{_sysconfdir} /pam.d/gdm
%config %{_sysconfdir} /pam.d/gdm-autologin
2015-02-10 16:06:43 +00:00
%if %{enable_split_authentication}
2018-03-09 10:14:48 +00:00
%config %{_sysconfdir} /pam.d/gdm-fingerprint
%config %{_sysconfdir} /pam.d/gdm-smartcard
2015-02-10 16:06:43 +00:00
%endif
2018-03-09 10:14:48 +00:00
%config %{_sysconfdir} /pam.d/gdm-password
%config %{_sysconfdir} /pam.d/gdm-launch-environment
2008-08-15 21:19:18 +00:00
%config %{_sysconfdir} /dbus-1/system.d/gdm.conf
2011-09-07 03:49:36 +00:00
# /etc/xinit.d/xdm integration
2020-07-10 10:09:25 +00:00
%dir %{_prefix} /lib/X11/displaymanagers
%{_prefix} /lib/X11/displaymanagers/default-displaymanager
%{_prefix} /lib/X11/displaymanagers/gdm
2017-10-13 07:14:42 +00:00
%ghost %{_sysconfdir} /alternatives/default-displaymanager
2018-01-23 13:56:01 +00:00
%{_udevrulesdir} /61-gdm.rules
2020-10-26 08:10:58 +00:00
%{_tmpfilesdir} /gdm.conf
2021-01-27 09:07:30 +00:00
%{_sysusersdir} /gdm.conf
2020-07-10 10:09:25 +00:00
%dir %{_prefix} /lib/systemd/logind.conf.d
%{_prefix} /lib/systemd/logind.conf.d/reserveVT.conf
2020-10-26 08:10:58 +00:00
%dir %{_userunitdir} /gnome-session@gnome-login.target.d
%{_userunitdir} /gnome-session@gnome-login.target.d/session.conf
2011-09-07 03:49:36 +00:00
2012-09-12 09:18:56 +00:00
%files -n libgdm1
%{_libdir} /libgdm.so.*
2011-12-12 15:55:49 +00:00
2012-09-12 09:18:56 +00:00
%files -n typelib-1_0-Gdm-1_0
%{_libdir} /girepository-1.0/Gdm-1.0.typelib
2008-03-21 03:03:15 +00:00
2011-09-07 03:49:36 +00:00
%files devel
2011-06-17 07:02:57 +00:00
%{_includedir} /gdm/
2012-09-12 09:18:56 +00:00
%{_libdir} /libgdm.so
%{_libdir} /pkgconfig/gdm.pc
2017-11-01 12:07:47 +00:00
%{_libdir} /pkgconfig/gdm-pam-extensions.pc
2012-09-12 09:18:56 +00:00
%{_datadir} /gir-1.0/Gdm-1.0.gir
2011-06-17 07:02:57 +00:00
2008-04-16 16:33:05 +00:00
%files branding-upstream
2008-08-13 23:48:24 +00:00
%config (noreplace) %{_sysconfdir} /gdm/custom.conf
2019-06-07 11:16:29 +00:00
%files systemd
%{systemdsystemunitdir} /gdm.service
2012-10-17 20:23:09 +00:00
%files -n gdmflexiserver
%{_bindir} /gdmflexiserver
2008-08-13 23:48:24 +00:00
%files lang -f %{name}.lang
2008-04-16 16:33:05 +00:00
2007-02-27 07:45:46 +00:00
%changelog