2 # /etc/X11/dm dir should belong to XFree? It is common for KDE and GNOME
3 # s=/dev/null=/home/services/xdm= in %%trigger for gracefull upgrade from xdm/kdm/gdm 2.2
4 # check /etc/pam.d/gdm-autologin
7 Summary: GNOME Display Manager
8 Summary(es): Administrador de Entrada del GNOME
9 Summary(ja): GNOME ¥Ç¥£¥¹¥×¥ì¥¤¥Þ¥Í¡¼¥¸¥ã
10 Summary(pl): gdm - zarz±dca ekranów GNOME
11 Summary(pt_BR): Gerenciador de Entrada do GNOME
12 Summary(ru): äÉÓÐÌÅÊÎÙÊ ÍÅÎÅÄÖÅÒ GNOME
13 Summary(uk): äÉÓÐÌÅÊÎÉÊ ÍÅÎÅÄÖÅÒ GNOME
19 Group: X11/Applications
20 Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.4/%{name}-%{version}.tar.bz2
21 # Source0-md5: 989ed213235818445a396a0f0e173bf1
24 Source3: %{name}-pld-logo.png
25 Patch0: %{name}-xdmcp.patch
26 Patch1: %{name}-conf.patch
27 URL: http://www.jirka.org/gdm.html
28 BuildRequires: autoconf
29 BuildRequires: automake
30 BuildRequires: gettext-devel
31 BuildRequires: gtk+2-devel >= 2.0.6
32 BuildRequires: intltool >= 0.22
33 BuildRequires: libart_lgpl-devel >= 2.3.14
34 BuildRequires: libglade2-devel >= 2.0.1
35 BuildRequires: libgnome-devel >= 2.0.6
36 BuildRequires: libgnomecanvas-devel >= 2.0.3
37 BuildRequires: libgnomeui-devel >= 2.3.3.1-2
38 BuildRequires: libgsf-devel >= 1.8.1-2
39 BuildRequires: librsvg-devel >= 2.0.1
40 BuildRequires: libtool
41 BuildRequires: libxml2-devel >= 2.4.24
42 BuildRequires: pam-devel
43 BuildRequires: perl-modules
44 Requires(pre): /bin/id
45 Requires(pre): /usr/sbin/groupadd
46 Requires(pre): /usr/sbin/useradd
47 Requires(postun): /usr/sbin/userdel
48 Requires(postun): /usr/sbin/groupdel
49 Requires(post,preun): /sbin/chkconfig
50 Requires(post,postun): /usr/bin/scrollkeeper-update
51 Requires: libgnome >= 2.1.0-3
54 Obsoletes: xdm kdm wdm
56 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
58 %define _sysconfdir /etc/X11
59 %define _localstatedir /var/lib
62 Gdm (the GNOME Display Manager) is a highly configurable
63 reimplementation of xdm, the X Display Manager. Gdm allows you to log
64 into your system with the X Window System running and supports running
65 several different X sessions on your local machine at the same time.
68 Administrador de Entrada del GNOME.
71 Gdm (the GNOME Display Manager) ¤Ï¡¢¹âÅÙ¤ËÀßÄê²Äǽ¤Ê xdm X Display
72 Manager ¤ÎºÆ¼ÂÁõÈǤǤ¹¡£ Gdm ¤ò»È¤¦¤È¡¢ X Window System
74 ¥·¥¹¥Æ¥à¤Ë¤¤¤í¤¤¤í¤Ê¥»¥Ã¥·¥ç¥ó¤òÁªÂò¤·¤Æ¥í¥°¥¤¥ó¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
76 ¤³¤Î¥Ð¡¼¥¸¥ç¥ó¤Î Gdm ¤Ç¤Ï¡¢³Æ¼ï¸À¸ì¤ä¡¢XIM ¤òÁªÂò¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£
79 Gdm jest wysokokonfigurowaln± reimplementacj± xdma. Gdm pozwala
80 logowaæ siê do systemu z poziomu X11 i wspiera jednoczesn± pracê kilku
81 ró¿nych sesji X na lokalnej maszynie.
84 Gerenciador de Entrada do GNOME.
87 GDM (GNOME Display Manager) - ÜÔÏ ÒÅÉÍÐÌÅÍÅÎÔÁÃÉÑ xdm (X Display
88 Manager). GDM ÐÏÚ×ÏÌÑÅÔ ×ÁÍ ×ÈÏÄÉÔØ × ÓÉÓÔÅÍÕ, ÎÁ ËÏÔÏÒÏÊ ÚÁÐÕÝÅÎÏ X
89 Window É ÐÏÄÄÅÒÖÉ×ÁÅÔ ÒÁÂÏÔÕ ÎÅÓËÏÌØÕÉÈ ÒÁÚÎÙÈ X ÓÅÁÎÓÏ× ÏÄÎÏ×ÒÅÍÅÎÎÏ.
92 GDM (GNOME Display Manager) - ÃÅ ÒŦÍÐÌÅÍÅÎÔÁÃ¦Ñ xdm (X Display
93 Manager). GDM ÄÏÚ×ÏÌѤ ×ÁÍ ×ÈÏÄÉÔÉ × ÓÉÓÔÅÍÕ, ÎÁ ÑË¦Ê ÚÁÐÕÝÅÎÏ X
94 Window ÔÁ ЦÄÔÒÉÍÕ¤ ÒÏÂÏÔÕ Ë¦ÌØËÏÈ Ò¦ÚÎÉÈ X ÓÅÁÎÓ¦× ÏÄÎÏÞÁÓÎÏ.
97 Summary: Xnest (ie embedded X) server for GDM
98 Summary(pl): Serwer Xnest dla GDM
99 Group: X11/Applications
100 Requires: %{name} = %{epoch}:%{version}
101 Requires: XFree86-Xnest
104 This package add support for Xnest server in gdm.
106 %description Xnest -l pl
107 Ten pakiet dodaje do gdm wsparcie dla Xnest.
110 Summary: Init script for GDM
111 Summary(pl): Skrypt init dla GDM-a
112 Group: X11/Applications
113 Requires: %{name} = %{epoch}:%{version}
119 %description init -l pl
120 Skrypt init dla GDM-a.
130 glib-gettextize --copy --force
135 --with-xinerama=yes \
137 --with-pam-prefix=/etc \
138 --with-tcp-wrappers=yes \
139 --enable-authentication-scheme=pam \
140 --disable-console-helper
145 rm -rf $RPM_BUILD_ROOT
146 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,security} \
147 $RPM_BUILD_ROOT/home/services/xdm
150 DESTDIR=$RPM_BUILD_ROOT \
153 install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/gdm
154 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/gdm
156 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
158 touch $RPM_BUILD_ROOT/etc/security/blacklist.gdm
160 %find_lang %{name} --all-name --with-gnome
162 # Remove useless files
163 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.{la,a}
166 rm -rf $RPM_BUILD_ROOT
169 /usr/sbin/groupadd -g 55 -r -f xdm
171 if [ -z "`id -u xdm 2>/dev/null`" ]; then
172 /usr/sbin/useradd -u 55 -r -d /home/services/xdm -s /bin/false -c 'X Display Manager' -g xdm xdm 1>&2
176 /usr/bin/scrollkeeper-update
179 /usr/bin/scrollkeeper-update
180 if [ "$1" = "0" ]; then
181 if [ -n "`id -u xdm 2>/dev/null`" ]; then
182 /usr/sbin/userdel xdm
184 /usr/sbin/groupdel xdm
188 /sbin/chkconfig --add gdm
189 if [ -f /var/lock/subsys/gdm ]; then
190 echo "Run \"/etc/rc.d/init.d/gdm restart\" to restart gdm." >&2
192 echo "Run \"/etc/rc.d/init.d/gdm start\" to start gdm." >&2
196 if [ "$1" = "0" ]; then
197 if [ -f /var/lock/subsys/gdm ]; then
198 /etc/rc.d/init.d/gdm stop >&2
200 /sbin/chkconfig --del gdm
203 %files -f %{name}.lang
204 %defattr(644,root,root,755)
205 %doc AUTHORS ChangeLog NEWS README TODO
206 %attr(755,root,root) %{_bindir}/gdm
207 %attr(755,root,root) %{_bindir}/gdm-binary
208 %attr(755,root,root) %{_bindir}/gdmchooser
209 %attr(755,root,root) %{_bindir}/gdmflexiserver
210 %attr(755,root,root) %{_bindir}/gdmgreeter
211 %attr(755,root,root) %{_bindir}/gdmlogin
212 %attr(755,root,root) %{_bindir}/gdmphotosetup
213 %attr(755,root,root) %{_bindir}/gdmsetup
214 %attr(755,root,root) %{_bindir}/gdmthemetester
215 %attr(755,root,root) %{_libdir}/gdmaskpass
216 %attr(755,root,root) %{_libdir}/gdmopen
217 %attr(755,root,root) %{_libdir}/gdmtranslate
218 %attr(755,root,root) %{_sbindir}/*
219 %dir %{_sysconfdir}/gdm
220 %dir %{_sysconfdir}/gdm/modules
221 %attr(755,root,root) %config %{_sysconfdir}/gdm/Init
222 %attr(755,root,root) %config %{_sysconfdir}/gdm/PreSession
223 %attr(755,root,root) %config %{_sysconfdir}/gdm/PostSession
224 %attr(755,root,root) %config %{_sysconfdir}/gdm/XKeepsCrashing
225 %attr(755,root,root) %config %{_sysconfdir}/gdm/Xsession
226 %config %{_sysconfdir}/gdm/factory-gdm.conf
227 %config %{_sysconfdir}/gdm/PostLogin/Default.sample
228 %config %{_sysconfdir}/gdm/modules/*
229 %{_sysconfdir}/dm/Sessions/*.desktop
231 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/gdm/gdm.conf
232 %config %{_sysconfdir}/gdm/locale.alias
233 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/gdm*
234 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.gdm
235 %attr(750,xdm,xdm) /var/lib/gdm
236 %attr(750,xdm,xdm) /home/services/xdm
238 %{_desktopdir}/gdmsetup.desktop
239 %{_desktopdir}/gdmflexiserver.desktop
240 %{_datadir}/gnome/capplets/*
243 %attr(755,root,root) %{_libdir}/gtk-2.0/modules/lib*.so
246 %defattr(644,root,root,755)
247 %attr(755,root,root) %{_bindir}/gdmXnestchooser
248 %{_desktopdir}/gdmflexiserver-xnest.desktop
251 %defattr(644,root,root,755)
252 %attr(754,root,root) /etc/rc.d/init.d/gdm