2 # s=/dev/null=/home/services/xdm= in %%trigger for gracefull upgrade from xdm/kdm/gdm 2.2
3 # check /etc/pam.d/gdm-autologin
6 Summary: GNOME Display Manager
7 Summary(es): Administrador de Entrada del GNOME
8 Summary(ja): GNOME ¥Ç¥£¥¹¥×¥ì¥¤¥Þ¥Í¡¼¥¸¥ã
9 Summary(pl): gdm - zarz±dca ekranów GNOME
10 Summary(pt_BR): Gerenciador de Entrada do GNOME
11 Summary(ru): äÉÓÐÌÅÊÎÙÊ ÍÅÎÅÄÖÅÒ GNOME
12 Summary(uk): äÉÓÐÌÅÊÎÉÊ ÍÅÎÅÄÖÅÒ GNOME
18 Group: X11/Applications
19 Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.4/%{name}-%{version}.tar.bz2
22 Source3: %{name}-pld-logo.png
23 Patch0: %{name}-xdmcp.patch
24 Patch1: %{name}-conf.patch
25 BuildRequires: autoconf
26 BuildRequires: automake
27 BuildRequires: gettext-devel
28 BuildRequires: gtk+2-devel >= 2.0.6
29 BuildRequires: intltool >= 0.22
30 BuildRequires: libglade2-devel >= 2.0.1
31 BuildRequires: libgnomecanvas-devel >= 2.0.3
32 BuildRequires: libgnome-devel >= 2.0.6
33 BuildRequires: libgnomeui-devel >= 2.0.4
34 BuildRequires: librsvg-devel >= 2.0.1
35 BuildRequires: libtool
36 BuildRequires: libxml2-devel >= 2.4.24
37 BuildRequires: pam-devel
38 BuildRequires: perl-modules
39 BuildRequires: scrollkeeper >= 0.3.11
40 Requires: libgnome >= 2.1.0-3
42 Requires: /usr/X11R6/bin/sessreg
43 Requires(pre): /bin/id
44 Requires(pre): /usr/sbin/groupadd
45 Requires(pre): /usr/sbin/useradd
46 Requires(postun): /usr/sbin/userdel
47 Requires(postun): /usr/sbin/groupdel
48 Requires(post,postun):scrollkeeper
49 Requires(post,preun):/sbin/chkconfig
51 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52 Obsoletes: xdm kdm wdm
54 %define _localstatedir /var/lib
57 Gdm (the GNOME Display Manager) is a highly configurable
58 reimplementation of xdm, the X Display Manager. Gdm allows you to log
59 into your system with the X Window System running and supports running
60 several different X sessions on your local machine at the same time.
63 Administrador de Entrada del GNOME.
66 Gdm (the GNOME Display Manager) ¤Ï¡¢¹âÅÙ¤ËÀßÄê²Äǽ¤Ê xdm X Display
67 Manager ¤ÎºÆ¼ÂÁõÈǤǤ¹¡£ Gdm ¤ò»È¤¦¤È¡¢ X Window System
69 ¥·¥¹¥Æ¥à¤Ë¤¤¤í¤¤¤í¤Ê¥»¥Ã¥·¥ç¥ó¤òÁªÂò¤·¤Æ¥í¥°¥¤¥ó¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
71 ¤³¤Î¥Ð¡¼¥¸¥ç¥ó¤Î Gdm ¤Ç¤Ï¡¢³Æ¼ï¸À¸ì¤ä¡¢XIM ¤òÁªÂò¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£
74 Gdm jest wysokokonfigurowaln± reimplementacj± xdma. Gdm pozwala
75 logowaæ siê do systemu z poziomu X11 i wspiera jednoczesn± pracê kilku
76 ró¿nych sesji X na lokalnej maszynie.
79 Gerenciador de Entrada do GNOME.
82 GDM (GNOME Display Manager) - ÜÔÏ ÒÅÉÍÐÌÅÍÅÎÔÁÃÉÑ xdm (X Display
83 Manager). GDM ÐÏÚ×ÏÌÑÅÔ ×ÁÍ ×ÈÏÄÉÔØ × ÓÉÓÔÅÍÕ, ÎÁ ËÏÔÏÒÏÊ ÚÁÐÕÝÅÎÏ X
84 Window É ÐÏÄÄÅÒÖÉ×ÁÅÔ ÒÁÂÏÔÕ ÎÅÓËÏÌØÕÉÈ ÒÁÚÎÙÈ X ÓÅÁÎÓÏ× ÏÄÎÏ×ÒÅÍÅÎÎÏ.
87 GDM (GNOME Display Manager) - ÃÅ ÒŦÍÐÌÅÍÅÎÔÁÃ¦Ñ xdm (X Display
88 Manager). GDM ÄÏÚ×ÏÌѤ ×ÁÍ ×ÈÏÄÉÔÉ × ÓÉÓÔÅÍÕ, ÎÁ ÑË¦Ê ÚÁÐÕÝÅÎÏ X
89 Window ÔÁ ЦÄÔÒÉÍÕ¤ ÒÏÂÏÔÕ Ë¦ÌØËÏÈ Ò¦ÚÎÉÈ X ÓÅÁÎÓ¦× ÏÄÎÏÞÁÓÎÏ.
92 Summary: Xnest (ie embedded X) server for GDM
93 Summary(pl): Serwer Xnest dla GDM
94 Group: X11/Applications
95 Requires: %{name} = %{version}
96 Requires: XFree86-Xnest
99 This package add support for Xnest server in gdm.
101 %description Xnest -l pl
102 Ten pakiet dodaje do gdm wsparcie dla Xnest.
105 Summary: Init script for GDM
106 Summary(pl): Skrypt init dla GDM-a
107 Group: X11/Applications
108 Requires: %{name} = %{version}
113 %description init -l pl
114 Skrypt init dla GDM-a.
124 glib-gettextize --copy --force
129 --with-xinerama=yes \
131 --with-pam-prefix=/etc \
132 --with-tcp-wrappers=yes \
133 --enable-authentication-scheme=pam \
134 --disable-console-helper
139 rm -rf $RPM_BUILD_ROOT
140 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,security} \
141 $RPM_BUILD_ROOT/home/services/xdm
144 DESTDIR=$RPM_BUILD_ROOT \
146 Settingsdir=%{_applnkdir}/Settings/GNOME \
147 Systemdir=%{_applnkdir}/System
149 install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/gdm
150 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/gdm
152 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
154 touch $RPM_BUILD_ROOT/etc/security/blacklist.gdm
156 mv $RPM_BUILD_ROOT%{_applnkdir}/System/gdmsetup.desktop \
157 $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME/
159 %find_lang %{name} --all-name --with-gnome
162 rm -rf $RPM_BUILD_ROOT
165 /usr/sbin/groupadd -g 55 -r -f xdm
167 if [ -z "`id -u xdm 2>/dev/null`" ]; then
168 /usr/sbin/useradd -u 55 -r -d /home/services/xdm -s /bin/false -c 'X Display Manager' -g xdm xdm 1>&2
172 /usr/bin/scrollkeeper-update
175 if [ "$1" = "0" ]; then
176 if [ -n "`id -u xdm 2>/dev/null`" ]; then
177 /usr/sbin/userdel xdm
179 /usr/sbin/groupdel xdm
181 /usr/bin/scrollkeeper-update
184 /sbin/chkconfig --add gdm
185 if [ -f /var/lock/subsys/gdm ]; then
186 echo "Run \"/etc/rc.d/init.d/gdm restart\" to restart gdm." >&2
188 echo "Run \"/etc/rc.d/init.d/gdm start\" to start gdm." >&2
192 if [ "$1" = "0" ]; then
193 if [ -f /var/lock/subsys/gdm ]; then
194 /etc/rc.d/init.d/gdm stop >&2
196 /sbin/chkconfig --del gdm
199 %files -f %{name}.lang
200 %defattr(644,root,root,755)
201 %doc AUTHORS ChangeLog NEWS README TODO
202 %attr(755,root,root) %{_bindir}/gdm
203 %attr(755,root,root) %{_bindir}/gdm-binary
204 %attr(755,root,root) %{_bindir}/gdmchooser
205 %attr(755,root,root) %{_bindir}/gdmflexiserver
206 %attr(755,root,root) %{_bindir}/gdmgreeter
207 %attr(755,root,root) %{_bindir}/gdmlogin
208 %attr(755,root,root) %{_bindir}/gdmmktemp
209 %attr(755,root,root) %{_bindir}/gdmphotosetup
210 %attr(755,root,root) %{_bindir}/gdmsetup
211 %attr(755,root,root) %{_bindir}/gdmthemetester
212 %attr(755,root,root) %{_sbindir}/*
213 %dir %{_sysconfdir}/gdm
214 %attr(755,root,root) %config %{_sysconfdir}/gdm/Init
215 %attr(755,root,root) %config %{_sysconfdir}/gdm/PreSession
216 %attr(755,root,root) %config %{_sysconfdir}/gdm/Sessions
217 %attr(755,root,root) %config %{_sysconfdir}/gdm/PostSession
218 %attr(755,root,root) %config %{_sysconfdir}/gdm/gnomerc
219 %attr(755,root,root) %config %{_sysconfdir}/gdm/XKeepsCrashing
220 %config %{_sysconfdir}/gdm/factory-gdm.conf
221 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/gdm/gdm.conf
222 %config %{_sysconfdir}/gdm/locale.alias
223 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/gdm*
224 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.gdm
225 %attr(750,xdm,xdm) /var/lib/gdm
226 %attr(750,xdm,xdm) /home/services/xdm
228 %{_applnkdir}/Settings/GNOME/*
229 %{_applnkdir}/System/gdmflexiserver.desktop
233 %defattr(644,root,root,755)
234 %attr(755,root,root) %{_bindir}/gdmXnestchooser
235 %{_applnkdir}/System/gdmflexiserver-xnest.desktop
238 %defattr(644,root,root,755)
239 %attr(754,root,root) /etc/rc.d/init.d/gdm