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
#
2018-01-11 15:36:25 +00:00
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
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.
2006-12-28 23:05:20 +00:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
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
2006-12-28 23:05:20 +00:00
Name : gdm
2018-04-16 09:22:16 +00:00
Version : 3.28.1
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
2018-03-13 14:36:52 +00:00
Source : http://download.gnome.org/sources/gdm/3.28/%{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
2013-09-24 20:03:59 +00:00
# GDM does not boostrap using gnome-autogen.sh, but has it's own bootstrap script
Source8 : autogen.sh
2018-04-24 11:05:20 +00:00
# PATCH-FIX-UPSTREAM gdm-disable-wayland-on-unsupported-chipsets.patch bgo#789081 bgo#794106 boo#1059356 boo#1083609 boo#1088539 fezhang@suse.com -- Disable Wayland on unsupported chipsets
2018-04-13 06:49:32 +00:00
Patch1 : gdm-disable-wayland-on-unsupported-chipsets.patch
2018-01-23 14:02:46 +00:00
# WARNING: do not remove/significantly change patch3 without updating the relevant patch in accountsservice too
2018-01-23 13:56:01 +00:00
# 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)
Patch3 : 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
Patch7 : 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
2009-09-28 14:41:28 +00:00
Patch34 : 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.
2009-09-28 14:41:28 +00:00
Patch35 : gdm-xauthlocalhostname.patch
2017-10-20 14:36:35 +00:00
# PATCH-FIX-OPENSUSE gdm-ignore-duplicate-session.patch xwang@suse.com -- gdm sessions entries duplicate
Patch36 : gdm-ignore-duplicate-session.patch
2014-07-01 11:03:04 +00:00
# PATCH-FIX-UPSTREAM gdm-plymouth-vt1.patch bnc#881676 fcrozat@suse.com -- switch to VT1 when quitting if gdm was starting with plymouth running
Patch41 : gdm-plymouth-vt1.patch
2016-08-19 07:51:17 +00:00
# PATCH-FIX-UPSTREAM gdm-fails-to-restart-gnome-shell.patch bsc#981976 bgo#769969 tyang@suse.com -- Gdm should stop after a few times fails
2016-08-19 07:50:17 +00:00
Patch42 : gdm-fails-to-restart-gnome-shell.patch
2018-02-08 12:04:42 +00:00
# PATCH-FIX-UPSTREAM gdm-add-runtime-option-to-disable-starting-X-server-as-u.patch bnc#1075805 bgo#793255 msrb@suse.com -- Add runtime option to start X under root instead of regular user. Necessary if no DRI drivers are present.
2018-03-09 10:14:48 +00:00
Patch43 : gdm-add-runtime-option-to-disable-starting-X-server-as-u.patch
### 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.
Patch1002 : gdm-disable-gnome-initial-setup.patch
2011-04-25 09:22:25 +00:00
BuildRequires : check-devel
# needed for directory ownership
BuildRequires : dconf
# needed for directory ownership
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
2016-09-08 21:23:45 +00:00
BuildRequires : keyutils-devel
2011-04-25 09:22:25 +00:00
BuildRequires : pam-devel
2017-11-01 12:07:47 +00:00
BuildRequires : pkgconfig
2011-04-25 09:22:25 +00:00
BuildRequires : pwdutils
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
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
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)
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
# FIXME: use proper Requires(pre/post/preun/...)
2009-04-01 16:23:12 +00:00
# For groupadd, useradd, usermod
PreReq : pwdutils
2018-03-09 10:14:48 +00:00
Requires(post) : dconf
Requires(pre) : group(video)
2011-02-13 21:06:10 +00:00
Recommends: %{name} -lang
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
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.
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
2018-03-09 10:14:48 +00:00
cp %{SOURCE8} .
2018-03-14 10:00:11 +00:00
%patch1 -p1
2018-01-23 13:56:01 +00:00
%patch3 -p1
2008-09-24 13:25:23 +00:00
%patch7 -p1
2009-09-28 16:08:57 +00:00
%patch34 -p1
2016-09-08 21:23:45 +00:00
%patch35 -p1
2017-10-20 14:36:35 +00:00
%patch36 -p1
2014-07-01 11:03:04 +00:00
%patch41 -p1
2016-08-19 07:50:17 +00:00
%patch42 -p1
2018-01-11 15:36:25 +00:00
%patch43 -p1
2018-03-09 10:14:48 +00:00
# SLE-only patches start at 1000
2017-07-24 10:31:12 +00:00
%if !0%{?is_opensuse}
2018-03-09 10:14:48 +00:00
%patch1002 -p1
2017-07-24 10:31:12 +00:00
%endif
2006-12-28 23:05:20 +00:00
%build
2014-04-03 20:37:03 +00:00
NOCONFIGURE=1 sh autogen.sh
2018-01-23 13:56:01 +00:00
autoreconf -fiv
2007-01-12 15:12:54 +00:00
%configure \
2011-06-17 07:02:57 +00:00
--disable-static \
2011-04-25 09:10:54 +00:00
--libexecdir=%{_prefix} /lib/gdm \
--localstatedir=%{_localstatedir} \
--with-at-spi-registryd-directory=%{_libexecdir} /at-spi \
2011-09-07 12:34:54 +00:00
--with-check-accelerated-directory=%{_libexecdir} \
2014-04-03 20:37:03 +00:00
--with-gnome-settings-daemon-directory=%{_libexecdir} /gnome-settings-daemon-3.0 \
2017-02-22 20:40:02 +00:00
--with-pam-mod-dir=/%{_lib}/security \
2011-04-25 09:10:54 +00:00
--enable-ipv6 \
2015-09-04 11:32:32 +00:00
--enable-gdm-xsession \
2012-09-12 09:18:56 +00:00
--with-plymouth \
2016-02-19 14:57:34 +00:00
--enable-wayland-support \
2017-07-18 13:44:43 +00:00
%if 0%{?is_opensuse}
2016-02-19 14:57:34 +00:00
--enable-systemd-journal \
2017-07-18 13:44:43 +00:00
%else
--disable-systemd-journal \
%endif
2011-09-07 03:49:36 +00:00
%if %{enable_split_authentication}
--enable-split-authentication \
%else
--disable-split-authentication \
%endif
2013-03-13 22:59:19 +00:00
--with-initial-vt=7 \
--with-run-dir=/run/gdm
2018-03-09 10:14:48 +00:00
%make_build V=1
2006-12-28 23:05:20 +00:00
%install
2011-06-17 07:02:57 +00:00
%make_install
2018-03-09 10:14:48 +00:00
find %{buildroot} -type f -name " * . l a " -delete -print
2012-11-18 15:36:15 +00:00
# Do not ship the systemd.service file: openSUSE uses xdm, which enables the DM based on sysconfig.
rm %{buildroot} %{systemdsystemunitdir} /gdm.service
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
2012-10-17 20:23:09 +00:00
#Install /etc/xinit.d/xdm integration script
2018-03-09 10:14:48 +00:00
install -D -m 644 %{SOURCE7} %{buildroot} %{_libexecdir} /X11/displaymanagers/gdm
2017-10-13 07:14:42 +00:00
mkdir -p %{buildroot} %{_sysconfdir} /alternatives
touch %{buildroot} %{_sysconfdir} /alternatives/default-displaymanager
ln -s %{_sysconfdir} /alternatives/default-displaymanager %{buildroot} %{_libexecdir} /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} %{_localstatedir} /log/gdm
mkdir -p %{buildroot} /run/gdm
mkdir -p %{buildroot} %{_bindir}
ln -s ../sbin/gdm %{buildroot} %{_bindir} /gdm
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
2012-03-21 15:00:19 +00:00
%pre
2018-03-09 10:14:48 +00:00
%{_sbindir} /groupadd -r gdm 2> /dev/null || :
%{_sbindir} /useradd -r -g gdm -G video -s /bin/false \
-c " G n o m e D i s p l a y M a n a g e r d a e m o n " -d %{_localstatedir} /lib/gdm gdm 2> /dev/null || :
%{_sbindir} /usermod -g gdm -G video -s /bin/false gdm 2> /dev/null
2007-09-06 19:50:10 +00:00
# Fix incorrect interpretation of DISPLAYMANAGER_PASSWORD_LESS_LOGIN (#307566).
# Last done in SLED10&10.1, first fixed in 10.3.
# Can be removed after SLES12:
2009-08-07 14:57:45 +00:00
if test -f sbin/conf.d/SuSEconfig.gdm && grep -q gdm-autologin sbin/conf.d/SuSEconfig.gdm ; then
2007-09-06 19:50:10 +00:00
if grep -q '^DISPLAYMANAGER_PASSWORD_LESS_LOGIN="no"' etc/sysconfig/displaymanager ; then
sed 's/^\(auth[[:space:]][[:space:]]*\)include[[:space:]]\([[:space:]]*\)common-auth/\1required\2pam_permit.so/' <etc/pam.d/gdm-autologin >etc/pam.d/gdm-autologin.new
if cmp -s etc/pam.d/gdm-autologin etc/pam.d/gdm-autologin.new ; then
rm etc/pam.d/gdm-autologin.new
else
mv etc/pam.d/gdm-autologin.new etc/pam.d/gdm-autologin
fi
fi
fi
2010-10-15 14:46:24 +00:00
# Fix how DISPLAYMANAGER_PASSWORD_LESS_LOGIN is used. Before 11.4,
# /etc/pam.d/gdm was changed to use pam_permit. We don't want this anymore.
if test -f /sbin/conf.d/SuSEconfig.gdm; then
2018-03-09 10:14:48 +00:00
grep -q pam_permit.so %{_sysconfdir} /pam.d/gdm
2010-10-15 14:46:24 +00:00
if test $? -eq 0; then
# We'll just use the file from the new package
2018-03-09 10:14:48 +00:00
mv %{_sysconfdir} /pam.d/gdm %{_sysconfdir} /pam.d/gdm.rpmold
2010-10-15 14:46:24 +00:00
fi
fi
2006-12-28 23:05:20 +00:00
2011-02-13 21:06:10 +00:00
%post
2017-10-13 07:14:42 +00:00
%{_sbindir} /update-alternatives --install %{_libexecdir} /X11/displaymanagers/default-displaymanager \
default-displaymanager %{_libexecdir} /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
2017-10-13 07:14:42 +00:00
[ -f %{_libexecdir} /X11/displaymanagers/gdm ] || %{_sbindir} /update-alternatives \
--remove default-displaymanager %{_libexecdir} /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
%doc AUTHORS ChangeLog NEWS README
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
2011-04-25 09:22:25 +00:00
%{_datadir} /icons/*/*/*/*.*
%{_datadir} /pixmaps/*.png
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
2007-01-12 15:12:54 +00:00
%attr (750,gdm,gdm) %dir %{_localstatedir} /lib/gdm
2017-07-18 09:03:59 +00:00
%attr (711,root,gdm) %dir %{_localstatedir} /log/gdm
2009-10-05 23:59:05 +00:00
%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
2011-09-21 16:12:05 +00:00
%dir %{_libexecdir} /X11/displaymanagers
2017-10-13 07:14:42 +00:00
%{_libexecdir} /X11/displaymanagers/default-displaymanager
2011-09-21 16:12:05 +00:00
%{_libexecdir} /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
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
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