]> git.pld-linux.org Git - packages/gdm.git/blobdiff - gdm.spec
- include fprintd too of course :)
[packages/gdm.git] / gdm.spec
index 063337fcca7e4649c5094b533b3f9b2cc9b23097..ecbae606d173a478a488840a5d58c3591ef5e7b0 100644 (file)
--- a/gdm.spec
+++ b/gdm.spec
@@ -1,7 +1,8 @@
 #
 # TODO:
 # - s=/dev/null=/home/services/xdm= in %%trigger for graceful upgrade from xdm/kdm/gdm 2.2
-# - check /etc/pam.d/gdm-autologin
+# - check all /etc/pam.d/gdm-* to be pldized:
+#   gdm[1] gdm-autologin[4] gdm-fingerprint[11] gdm-password[1] gdm-smartcard gdm-welcome
 #
 # Conditional build:
 %bcond_without selinux # without selinux
@@ -15,13 +16,13 @@ Summary(pt_BR.UTF-8):       Gerenciador de Entrada do GNOME
 Summary(ru.UTF-8):     Дисплейный менеджер GNOME
 Summary(uk.UTF-8):     Дисплейний менеджер GNOME
 Name:          gdm
-Version:       3.4.0.1
-Release:       2
+Version:       3.4.1
+Release:       3
 Epoch:         2
 License:       GPL/LGPL
 Group:         X11/Applications
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/gdm/3.4/%{name}-%{version}.tar.xz
-# Source0-md5: 7dedcccb5fee6f63224f5674920ef4af
+# Source0-md5: fda0470340f9c0bc2f8daccb280af520
 Source1:       %{name}.pamd
 Source2:       %{name}.init
 Source3:       %{name}-pld-logo.png
@@ -30,6 +31,7 @@ Source5:      %{name}-custom.desktop
 Source6:       %{name}-default.desktop
 Source7:       %{name}.upstart
 Source9:       %{name}.tmpfiles
+Source10:      %{name}-fingerprint.pamd
 Patch0:                %{name}-xdmcp.patch
 Patch1:                %{name}-polkit.patch
 Patch2:                %{name}-xsession.patch
@@ -85,7 +87,6 @@ Requires(pre):        /usr/sbin/useradd
 Requires(posttrans):   dconf
 Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
 Requires:      /usr/bin/X
-Requires:      ConsoleKit-x11 >= 0.4.1
 Requires:      accountsservice >= 0.6.12
 Requires:      dbus-x11
 Requires:      gdm-wm >= 3.2.1
@@ -94,11 +95,11 @@ Requires:   gnome-settings-daemon >= 3.0.0
 Requires:      hicolor-icon-theme
 Requires:      pam >= 0.99.7.1
 Requires:      polkit-gnome >= 0.93
-Requires:      systemd-units >= 37-0.10
 Requires:      which
 Requires:      xinitrc-ng >= 1.0
 Requires:      xorg-app-sessreg
 Requires:      xorg-app-xmodmap
+Suggests:      ConsoleKit-x11 >= 0.4.1
 Suggests:      pam-pam_gnome_keyring
 Suggests:      zenity
 Provides:      XDM
@@ -189,9 +190,11 @@ Summary:   Init script for GDM
 Summary(pl.UTF-8):     Skrypt init dla GDM-a
 Group:         X11/Applications
 Requires(post,preun):  /sbin/chkconfig
+Requires(post,preun,postun):   systemd-units >= 38
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      open
 Requires:      rc-scripts >= 0.4.3.0
+Requires:      systemd-units >= 38
 
 %description init
 Init script for GDM.
@@ -259,6 +262,7 @@ install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,security,init} \
 
 cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/gdm
 cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/gdm-password
+cp -p %{SOURCE10} $RPM_BUILD_ROOT/etc/pam.d/gdm-fingerprint
 cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/gdm-autologin
 install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/gdm
 cp -p %{SOURCE7} $RPM_BUILD_ROOT/etc/init/%{name}.conf
@@ -291,12 +295,9 @@ umask 022
 %post
 %glib_compile_schemas
 %update_icon_cache hicolor
-%systemd_reload
 
 %postun
 %update_icon_cache hicolor
-%systemd_reload
-
 if [ "$1" = "0" ]; then
        %glib_compile_schemas
        %userremove xdm
@@ -312,6 +313,10 @@ fi
 /sbin/chkconfig --add gdm
 # -n skips restarting as it would otherise terminate all sessions opened from gdm!
 %service -n gdm restart
+%systemd_reload
+
+%postun init
+%systemd_reload
 
 %preun init
 if [ "$1" = "0" ]; then
This page took 0.100264 seconds and 4 git commands to generate.