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
20 # Source0-md5: 83190cb663db4168a19032a9adf205fc
23 Source3: %{name}-pld-logo.png
24 Patch0: %{name}-xdmcp.patch
25 Patch1: %{name}-conf.patch
26 BuildRequires: autoconf
27 BuildRequires: automake
28 BuildRequires: gettext-devel
29 BuildRequires: gtk+2-devel >= 2.0.6
30 BuildRequires: intltool >= 0.22
31 BuildRequires: libglade2-devel >= 2.0.1
32 BuildRequires: libgnomecanvas-devel >= 2.0.3
33 BuildRequires: libgnome-devel >= 2.0.6
34 BuildRequires: libgnomeui-devel >= 2.0.4
35 BuildRequires: librsvg-devel >= 2.0.1
36 BuildRequires: libtool
37 BuildRequires: libxml2-devel >= 2.4.24
38 BuildRequires: pam-devel
39 BuildRequires: perl-modules
40 BuildRequires: scrollkeeper >= 0.3.11
41 Requires: libgnome >= 2.1.0-3
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,postun):scrollkeeper
50 Requires(post,preun):/sbin/chkconfig
52 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53 Obsoletes: xdm kdm wdm
55 %define _sysconfdir /etc/X11
56 %define _localstatedir /var/lib
59 Gdm (the GNOME Display Manager) is a highly configurable
60 reimplementation of xdm, the X Display Manager. Gdm allows you to log
61 into your system with the X Window System running and supports running
62 several different X sessions on your local machine at the same time.
65 Administrador de Entrada del GNOME.
68 Gdm (the GNOME Display Manager) ¤Ï¡¢¹âÅÙ¤ËÀßÄê²Äǽ¤Ê xdm X Display
69 Manager ¤ÎºÆ¼ÂÁõÈǤǤ¹¡£ Gdm ¤ò»È¤¦¤È¡¢ X Window System
71 ¥·¥¹¥Æ¥à¤Ë¤¤¤í¤¤¤í¤Ê¥»¥Ã¥·¥ç¥ó¤òÁªÂò¤·¤Æ¥í¥°¥¤¥ó¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
73 ¤³¤Î¥Ð¡¼¥¸¥ç¥ó¤Î Gdm ¤Ç¤Ï¡¢³Æ¼ï¸À¸ì¤ä¡¢XIM ¤òÁªÂò¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£
76 Gdm jest wysokokonfigurowaln± reimplementacj± xdma. Gdm pozwala
77 logowaæ siê do systemu z poziomu X11 i wspiera jednoczesn± pracê kilku
78 ró¿nych sesji X na lokalnej maszynie.
81 Gerenciador de Entrada do GNOME.
84 GDM (GNOME Display Manager) - ÜÔÏ ÒÅÉÍÐÌÅÍÅÎÔÁÃÉÑ xdm (X Display
85 Manager). GDM ÐÏÚ×ÏÌÑÅÔ ×ÁÍ ×ÈÏÄÉÔØ × ÓÉÓÔÅÍÕ, ÎÁ ËÏÔÏÒÏÊ ÚÁÐÕÝÅÎÏ X
86 Window É ÐÏÄÄÅÒÖÉ×ÁÅÔ ÒÁÂÏÔÕ ÎÅÓËÏÌØÕÉÈ ÒÁÚÎÙÈ X ÓÅÁÎÓÏ× ÏÄÎÏ×ÒÅÍÅÎÎÏ.
89 GDM (GNOME Display Manager) - ÃÅ ÒŦÍÐÌÅÍÅÎÔÁÃ¦Ñ xdm (X Display
90 Manager). GDM ÄÏÚ×ÏÌѤ ×ÁÍ ×ÈÏÄÉÔÉ × ÓÉÓÔÅÍÕ, ÎÁ ÑË¦Ê ÚÁÐÕÝÅÎÏ X
91 Window ÔÁ ЦÄÔÒÉÍÕ¤ ÒÏÂÏÔÕ Ë¦ÌØËÏÈ Ò¦ÚÎÉÈ X ÓÅÁÎÓ¦× ÏÄÎÏÞÁÓÎÏ.
94 Summary: Xnest (ie embedded X) server for GDM
95 Summary(pl): Serwer Xnest dla GDM
96 Group: X11/Applications
97 Requires: %{name} = %{version}
98 Requires: XFree86-Xnest
101 This package add support for Xnest server in gdm.
103 %description Xnest -l pl
104 Ten pakiet dodaje do gdm wsparcie dla Xnest.
107 Summary: Init script for GDM
108 Summary(pl): Skrypt init dla GDM-a
109 Group: X11/Applications
110 Requires: %{name} = %{version}
116 %description init -l pl
117 Skrypt init dla GDM-a.
127 glib-gettextize --copy --force
132 --with-xinerama=yes \
134 --with-pam-prefix=/etc \
135 --with-tcp-wrappers=yes \
136 --enable-authentication-scheme=pam \
137 --disable-console-helper
142 rm -rf $RPM_BUILD_ROOT
143 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,security} \
144 $RPM_BUILD_ROOT/home/services/xdm
147 DESTDIR=$RPM_BUILD_ROOT \
150 install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/gdm
151 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/gdm
153 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
155 touch $RPM_BUILD_ROOT/etc/security/blacklist.gdm
157 %find_lang %{name} --all-name --with-gnome
160 rm -rf $RPM_BUILD_ROOT
163 /usr/sbin/groupadd -g 55 -r -f xdm
165 if [ -z "`id -u xdm 2>/dev/null`" ]; then
166 /usr/sbin/useradd -u 55 -r -d /home/services/xdm -s /bin/false -c 'X Display Manager' -g xdm xdm 1>&2
170 /usr/bin/scrollkeeper-update
173 /usr/bin/scrollkeeper-update
174 if [ "$1" = "0" ]; then
175 if [ -n "`id -u xdm 2>/dev/null`" ]; then
176 /usr/sbin/userdel xdm
178 /usr/sbin/groupdel xdm
182 /sbin/chkconfig --add gdm
183 if [ -f /var/lock/subsys/gdm ]; then
184 echo "Run \"/etc/rc.d/init.d/gdm restart\" to restart gdm." >&2
186 echo "Run \"/etc/rc.d/init.d/gdm start\" to start gdm." >&2
190 if [ "$1" = "0" ]; then
191 if [ -f /var/lock/subsys/gdm ]; then
192 /etc/rc.d/init.d/gdm stop >&2
194 /sbin/chkconfig --del gdm
197 %files -f %{name}.lang
198 %defattr(644,root,root,755)
199 %doc AUTHORS ChangeLog NEWS README TODO
200 %attr(755,root,root) %{_bindir}/gdm
201 %attr(755,root,root) %{_bindir}/gdm-binary
202 %attr(755,root,root) %{_bindir}/gdmchooser
203 %attr(755,root,root) %{_bindir}/gdmflexiserver
204 %attr(755,root,root) %{_bindir}/gdmgreeter
205 %attr(755,root,root) %{_bindir}/gdmlogin
206 #%attr(755,root,root) %{_bindir}/gdmmktemp
207 %attr(755,root,root) %{_bindir}/gdmphotosetup
208 %attr(755,root,root) %{_bindir}/gdmsetup
209 %attr(755,root,root) %{_bindir}/gdmthemetester
210 %attr(755,root,root) %{_libdir}/gdmaskpass
211 %attr(755,root,root) %{_libdir}/gdmopen
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 %attr(755,root,root) %config %{_sysconfdir}/gdm/Xsession
221 %config %{_sysconfdir}/gdm/factory-gdm.conf
222 %config %{_sysconfdir}/gdm/PostLogin/Default.sample
223 %config %{_sysconfdir}/gdm/modules
224 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/gdm/gdm.conf
225 %config %{_sysconfdir}/gdm/locale.alias
226 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/gdm*
227 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.gdm
228 %attr(750,xdm,xdm) /var/lib/gdm
229 %attr(750,xdm,xdm) /home/services/xdm
231 %{_datadir}/applications/gdmsetup.desktop
232 %{_datadir}/applications/gdmflexiserver.desktop
233 %{_datadir}/gnome/capplets/*
235 %attr(755,root,root) %{_libdir}/gtk-2.0/modules/lib*.so
238 %defattr(644,root,root,755)
239 %attr(755,root,root) %{_bindir}/gdmXnestchooser
240 %{_datadir}/applications/gdmflexiserver-xnest.desktop
243 %defattr(644,root,root,755)
244 %attr(754,root,root) /etc/rc.d/init.d/gdm