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
#
2017-02-22 20:40:02 +00:00
# Copyright (c) 2017 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
2016-02-19 14:57:34 +00:00
# Allow to disable wayland components
%bcond_without wayland
2012-11-11 21:48:10 +00:00
%define systemdsystemunitdir %(pkg-config --variable=systemdsystemunitdir systemd)
2016-02-19 14:57:34 +00:00
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
2008-03-21 03:03:15 +00:00
2006-12-28 23:05:20 +00:00
Name : gdm
2017-10-05 12:25:20 +00:00
Version : 3.26.1
2011-12-21 04:35:05 +00:00
Release : 0
2010-12-21 11:07:40 +00:00
Summary : The GNOME Display Manager
2011-12-21 04:35:05 +00:00
License : GPL-2.0+
Group : System/GUI/GNOME
2011-07-06 17:05:29 +00:00
Url : http://projects.gnome.org/gdm/
2017-09-12 20:02:34 +00:00
Source : http://download.gnome.org/sources/gdm/3.26/%{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
Source6 : gdm-fingerprint.pamd
Source7 : 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)
Source4 : gdmflexiserver-wrapper
2011-09-07 03:49:36 +00:00
# /etc/xinit.d/xdm integration script
Source5 : 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
2016-03-23 13:09:40 +00:00
# PATCH-FEATURE-OPENSUSE gdm-workaround-boo971852.patch zaitor@opensuse.org -- Work around boo971852 - xsessions is just not going to happen for a gdm user - Those users ALL have gnome-shell installed (which is mandatory for gdm to operate) - openSUSE only
Patch0 : gdm-workaround-boo971852.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
2011-07-22 13:05:39 +00:00
# WARNING: do not remove/significantly change patch8 without updating the relevant patch in accountsservice too
2017-07-18 10:39: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)
2010-01-18 14:27:14 +00:00
Patch8 : gdm-sysconfig-settings.patch
2012-09-12 09:18:56 +00:00
# PATCH-NEEDS-REBASE PATCH-FEATURE-OPENSUSE gdm-passwordless-login.patch vuntz@opensuse.org -- Support DISPLAYMANAGER_PASSWORD_LESS_LOGIN sysconfig option
2010-10-15 14:46:24 +00:00
Patch9 : gdm-passwordless-login.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
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
2017-07-24 10:31:12 +00:00
# PATCH-FIX-SLE gdm-default-wm-sle12.patch bnc#881659 cxiong@suse.com -- set default/fallback session type to SLE Classic
Patch49 : gdm-default-wm-sle12.patch
2017-09-28 12:09:02 +00:00
# PATCH-FIX-SLE gdm-ignore-SLE-CLASSIC-MODE.patch bsc#1060630 xwang@suse.com -- ignore env SLE_CLASSIC_MODE variable when switching from sle-classic session to gnome-classic session
Patch51 : gdm-ignore-SLE-CLASSIC-MODE.patch
2011-04-25 09:22:25 +00:00
BuildRequires : check-devel
# needed for directory ownership
BuildRequires : dconf
2012-09-12 09:18:56 +00:00
BuildRequires : gnome-common
2011-04-25 09:22:25 +00:00
# needed for directory ownership
BuildRequires : gnome-session-core
2011-09-07 03:49:36 +00:00
BuildRequires : gobject-introspection-devel >= 0.9.12
2011-04-25 09:22:25 +00:00
BuildRequires : iso-codes-devel
2016-09-08 21:23:45 +00:00
BuildRequires : keyutils-devel
2012-02-20 22:12:07 +00:00
BuildRequires : libXdmcp-devel
BuildRequires : libXi-devel
BuildRequires : libXinerama-devel
2011-04-25 09:22:25 +00:00
BuildRequires : pam-devel
BuildRequires : pwdutils
BuildRequires : tcpd-devel
2017-08-31 07:44:32 +00:00
%if !0%{?is_opensuse}
2011-04-25 09:22:25 +00:00
BuildRequires : translation-update-upstream
2017-08-31 07:44:32 +00:00
%endif
2011-04-25 09:22:25 +00:00
BuildRequires : update-desktop-files
BuildRequires : xorg-x11-server
BuildRequires : xorg-x11-server-extra
BuildRequires : pkgconfig(accountsservice)
2015-12-29 11:50:16 +00:00
BuildRequires : pkgconfig(gtk+-3.0)
BuildRequires : pkgconfig(libcanberra-gtk3)
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-07-24 15:46:09 +00:00
%ifnarch s390 s390x
2016-02-19 14:57:34 +00:00
BuildRequires : pkgconfig(xorg-server)
2017-07-24 15:46:09 +00:00
%endif
2012-02-20 22:12:07 +00:00
BuildRequires : pkgconfig(xrandr)
2017-03-11 19:52:46 +00:00
Requires(pre) : group(video)
2011-07-06 17:05:29 +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
2012-01-17 13:47:10 +00:00
Requires(post) : dconf
2013-09-26 07:57:03 +00:00
# accessibility
2011-09-07 03:49:36 +00:00
Recommends: orca
2009-04-01 16:23:12 +00:00
# For groupadd, useradd, usermod
PreReq : pwdutils
2011-02-13 21:06:10 +00:00
Recommends: %{name} -lang
2011-01-14 17:58:21 +00:00
Recommends: iso-codes
2011-04-25 09:22:25 +00:00
Provides : gdm2 = %{version}
Obsoletes : gdm2 < %{version}
Provides : gnome-applets-gdm = %{version}
Obsoletes : gnome-applets-gdm < %{version}
2012-09-12 09:18:56 +00:00
# gdmflexiserver is dropped since 3.5.90
Obsoletes : gdmflexiserver < %{version}
2011-04-25 09:22:25 +00:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
DocDir: %{_defaultdocdir}
2012-03-22 06:09:55 +00:00
%glib2_gsettings_schema_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
2011-12-21 04:35:05 +00:00
Summary : Client Library for Communicating with GDM Greeter Server -- Introspection bindings
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}
2008-04-16 16:33:05 +00:00
Provides : %{name} -branding = %{version}
2008-10-06 15:44:28 +00:00
Conflicts : otherproviders(%{name} -branding)
2009-12-04 22:47:18 +00:00
Supplements: packageand(%{name} :branding-upstream)
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
Summary : Gdmflexiserver Compatibility Wrapper for Display Managers
Group : System/GUI/GNOME
Suggests : gdm
BuildArch : noarch
%description -n gdmflexiserver
The gdmflexiserver tool interacts with the display manager to
enable fast user switching. This package contains a wrapper that
selects the correct gdmflexiserver implementatoin, based on the
running display manager.
2007-08-09 16:59:15 +00:00
%lang_package
2006-12-28 23:05:20 +00:00
%prep
2007-08-10 15:05:57 +00:00
%setup -q
2014-04-03 20:37:03 +00:00
cp %{S:8} .
2017-08-31 07:44:32 +00:00
%if !0%{?is_opensuse}
2009-03-26 23:46:39 +00:00
translation-update-upstream
2017-08-31 07:44:32 +00:00
%endif
2016-03-23 13:09:40 +00:00
%if 0%{?is_opensuse}
2016-05-25 20:55:46 +00:00
# Disabled for now, see boo#981372 and boo#971852
#patch0 -p1
2016-03-23 13:09:40 +00:00
%endif
2008-09-24 13:25:23 +00:00
%patch7 -p1
2010-01-18 14:27:14 +00:00
%patch8 -p1
2010-10-15 14:46:24 +00:00
%patch9 -p1
2009-09-28 16:08:57 +00:00
%patch34 -p1
2016-09-08 21:23:45 +00:00
%patch35 -p1
2014-07-01 11:03:04 +00:00
%patch41 -p1
2016-08-19 07:50:17 +00:00
%patch42 -p1
2017-07-24 10:31:12 +00:00
%if !0%{?is_opensuse}
%patch49 -p1
2017-09-28 12:09:02 +00:00
%patch51 -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
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
%if %{with wayland}
--enable-wayland-support \
2012-05-24 07:44:55 +00:00
%else
2016-02-19 14:57:34 +00:00
--disable-wayland-support \
2014-05-29 12:13:53 +00:00
%endif
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
2011-04-25 09:10:54 +00:00
%__make %{?jobs:-j%jobs} V=1
2006-12-28 23:05:20 +00:00
%install
2011-06-17 07:02:57 +00:00
%make_install
2017-02-22 20:40:02 +00:00
find %{buildroot} -name '*.la' -type f -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.
2006-12-28 23:05:20 +00:00
mkdir -p $RPM_BUILD_ROOT /etc/pam.d
2011-09-07 12:34:54 +00:00
# Generic pam config
2011-09-07 03:49:36 +00:00
cp %{SOURCE1} $RPM_BUILD_ROOT /etc/pam.d/gdm
2011-09-07 12:34:54 +00:00
# Pam config for autologin
2011-09-07 03:49:36 +00:00
cp %{SOURCE2} $RPM_BUILD_ROOT /etc/pam.d/gdm-autologin
2011-09-07 12:34:54 +00:00
# Pam config for the greeter session
2012-09-12 09:18:56 +00:00
cp %{SOURCE3} $RPM_BUILD_ROOT /etc/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
cp %{SOURCE6} $RPM_BUILD_ROOT /etc/pam.d/gdm-fingerprint
# Pam config for smartcard authentication
cp %{SOURCE7} $RPM_BUILD_ROOT /etc/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}
rm $RPM_BUILD_ROOT /etc/pam.d/gdm-password
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
ln -s gdm $RPM_BUILD_ROOT /etc/pam.d/gdm-password
## Install other files
2006-12-28 23:05:20 +00:00
# Install PostLogin script.
2007-01-12 15:12:54 +00:00
mv $RPM_BUILD_ROOT %{_sysconfdir} /gdm/PostLogin/Default.sample $RPM_BUILD_ROOT %{_sysconfdir} /gdm/PostLogin/Default
2012-10-17 20:23:09 +00:00
# Move gdmflexiserver to libexecdir and replace it with the compatibility wrapper
mv $RPM_BUILD_ROOT %{_bindir} /gdmflexiserver $RPM_BUILD_ROOT %{_libexecdir} /gdm/gdmflexiserver
install -m 755 %{SOURCE4} $RPM_BUILD_ROOT %{_bindir} /gdmflexiserver
#Install /etc/xinit.d/xdm integration script
2011-09-21 16:12:05 +00:00
install -D -m 644 %{SOURCE5} %{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
mkdir -p $RPM_BUILD_ROOT %{_localstatedir} /log/gdm
2013-01-28 20:33:21 +00:00
mkdir -p $RPM_BUILD_ROOT /run/gdm
2008-08-13 23:48:24 +00:00
mkdir -p $RPM_BUILD_ROOT %{_bindir}
2007-01-12 15:12:54 +00:00
ln -s ../sbin/gdm $RPM_BUILD_ROOT %{_bindir} /gdm
2011-09-07 03:49:36 +00:00
%find_lang %{name} %{?no_lang_C}
2007-08-05 09:40:20 +00:00
2006-12-28 23:05:20 +00:00
%clean
2007-08-05 09:40:20 +00:00
rm -rf $RPM_BUILD_ROOT
2006-12-28 23:05:20 +00:00
2012-03-21 15:00:19 +00:00
%pre
2006-12-28 23:05:20 +00:00
/usr/sbin/groupadd -r gdm 2> /dev/null || :
2012-11-11 21:48:10 +00:00
/usr/sbin/useradd -r -g gdm -G video -s /bin/false \
2006-12-28 23:05:20 +00:00
-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 /var/lib/gdm gdm 2> /dev/null || :
2011-11-08 08:50:56 +00:00
/usr/sbin/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
grep -q pam_permit.so /etc/pam.d/gdm
if test $? -eq 0; then
# We'll just use the file from the new package
mv /etc/pam.d/gdm /etc/pam.d/gdm.rpmold
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
2011-09-07 03:49:36 +00:00
2012-09-12 09:18:56 +00:00
%postun -n libgdm1 -p /sbin/ldconfig
2011-09-07 03:49:36 +00:00
2012-03-21 15:00:19 +00:00
%files
2006-12-28 23:05:20 +00:00
%defattr (-,root,root)
2008-11-04 16:37:03 +00:00
%doc AUTHORS COPYING 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
2011-09-07 03:49:36 +00:00
%config /etc/pam.d/gdm
%config /etc/pam.d/gdm-autologin
2015-02-10 16:06:43 +00:00
%if %{enable_split_authentication}
2012-01-17 13:47:10 +00:00
%config /etc/pam.d/gdm-fingerprint
%config /etc/pam.d/gdm-smartcard
2015-02-10 16:06:43 +00:00
%endif
%config /etc/pam.d/gdm-password
2012-09-12 09:18:56 +00:00
%config /etc/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
2011-09-07 03:49:36 +00:00
2012-09-12 09:18:56 +00:00
%files -n libgdm1
2011-09-07 03:49:36 +00:00
%defattr (-,root,root)
2012-09-12 09:18:56 +00:00
%{_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
2011-12-12 15:55:49 +00:00
%defattr (-,root,root)
2012-09-12 09:18:56 +00:00
%{_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
%defattr (-,root,root)
%{_includedir} /gdm/
2012-09-12 09:18:56 +00:00
%{_libdir} /libgdm.so
%{_libdir} /pkgconfig/gdm.pc
%{_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
%defattr (-,root,root)
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
%defattr (-,root,root)
%{_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