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.5/%{name}-%{version}.tar.bz2
21 # Source0-md5: d3f117e42cc1ebe052a656d42373611a
24 Source3: %{name}-pld-logo.png
25 Patch0: %{name}-xdmcp.patch
26 Patch1: %{name}-conf.patch
27 Patch2: %{name}-xsession.patch
28 Patch3: %{name}-logdir.patch
29 URL: http://www.jirka.org/gdm.html
30 BuildRequires: autoconf
31 BuildRequires: automake
32 BuildRequires: gettext-devel
33 BuildRequires: gtk+2-devel >= 2.3.1
34 BuildRequires: intltool >= 0.30
35 BuildRequires: libglade2-devel >= 2.5.0
36 BuildRequires: libgnome-devel >= 2.5.0
37 BuildRequires: libgnomecanvas-devel >= 2.5.0
38 BuildRequires: libgnomeui-devel >= 2.5.0
39 BuildRequires: libgsf-devel >= 1.8.2
40 BuildRequires: librsvg-devel >= 2.5.0
41 BuildRequires: libselinux-devel
42 BuildRequires: libtool
43 BuildRequires: libxml2-devel >= 2.5.11
44 BuildRequires: pam-devel
45 BuildRequires: perl-modules
46 BuildRequires: scrollkeeper
47 Requires(pre): /bin/id
48 Requires(pre): /usr/sbin/groupadd
49 Requires(pre): /usr/sbin/useradd
50 Requires(postun): /usr/sbin/userdel
51 Requires(postun): /usr/sbin/groupdel
52 Requires(post,preun): /sbin/chkconfig
53 Requires(post,postun): /usr/bin/scrollkeeper-update
54 Requires: libgnome >= 2.5.0
57 Requires: pam >= 0.77.3-7
58 Obsoletes: xdm kdm wdm
60 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62 %define _sysconfdir /etc/X11
63 %define _localstatedir /var/lib
66 Gdm (the GNOME Display Manager) is a highly configurable
67 reimplementation of xdm, the X Display Manager. Gdm allows you to log
68 into your system with the X Window System running and supports running
69 several different X sessions on your local machine at the same time.
72 Administrador de Entrada del GNOME.
75 Gdm (the GNOME Display Manager) ¤Ï¡¢¹âÅÙ¤ËÀßÄê²Äǽ¤Ê xdm X Display
76 Manager ¤ÎºÆ¼ÂÁõÈǤǤ¹¡£ Gdm ¤ò»È¤¦¤È¡¢ X Window System
78 ¥·¥¹¥Æ¥à¤Ë¤¤¤í¤¤¤í¤Ê¥»¥Ã¥·¥ç¥ó¤òÁªÂò¤·¤Æ¥í¥°¥¤¥ó¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
80 ¤³¤Î¥Ð¡¼¥¸¥ç¥ó¤Î Gdm ¤Ç¤Ï¡¢³Æ¼ï¸À¸ì¤ä¡¢XIM ¤òÁªÂò¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£
83 Gdm jest wysokokonfigurowaln± reimplementacj± xdma. Gdm pozwala
84 logowaæ siê do systemu z poziomu X11 i wspiera jednoczesn± pracê kilku
85 ró¿nych sesji X na lokalnej maszynie.
88 Gerenciador de Entrada do GNOME.
91 GDM (GNOME Display Manager) - ÜÔÏ ÒÅÉÍÐÌÅÍÅÎÔÁÃÉÑ xdm (X Display
92 Manager). GDM ÐÏÚ×ÏÌÑÅÔ ×ÁÍ ×ÈÏÄÉÔØ × ÓÉÓÔÅÍÕ, ÎÁ ËÏÔÏÒÏÊ ÚÁÐÕÝÅÎÏ X
93 Window É ÐÏÄÄÅÒÖÉ×ÁÅÔ ÒÁÂÏÔÕ ÎÅÓËÏÌØÕÉÈ ÒÁÚÎÙÈ X ÓÅÁÎÓÏ× ÏÄÎÏ×ÒÅÍÅÎÎÏ.
96 GDM (GNOME Display Manager) - ÃÅ ÒŦÍÐÌÅÍÅÎÔÁÃ¦Ñ xdm (X Display
97 Manager). GDM ÄÏÚ×ÏÌѤ ×ÁÍ ×ÈÏÄÉÔÉ × ÓÉÓÔÅÍÕ, ÎÁ ÑË¦Ê ÚÁÐÕÝÅÎÏ X
98 Window ÔÁ ЦÄÔÒÉÍÕ¤ ÒÏÂÏÔÕ Ë¦ÌØËÏÈ Ò¦ÚÎÉÈ X ÓÅÁÎÓ¦× ÏÄÎÏÞÁÓÎÏ.
101 Summary: Xnest (ie embedded X) server for GDM
102 Summary(pl): Serwer Xnest dla GDM
103 Group: X11/Applications
104 Requires: %{name} = %{epoch}:%{version}
105 Requires: XFree86-Xnest
108 This package add support for Xnest server in gdm.
110 %description Xnest -l pl
111 Ten pakiet dodaje do gdm wsparcie dla Xnest.
114 Summary: Init script for GDM
115 Summary(pl): Skrypt init dla GDM-a
116 Group: X11/Applications
117 Requires: %{name} = %{epoch}:%{version}
123 %description init -l pl
124 Skrypt init dla GDM-a.
136 glib-gettextize --copy --force
137 intltoolize --copy --force
142 --with-xinerama=yes \
144 --with-pam-prefix=/etc \
145 --with-tcp-wrappers=yes \
146 --enable-authentication-scheme=pam \
147 --disable-console-helper \
153 rm -rf $RPM_BUILD_ROOT
154 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,security} \
155 $RPM_BUILD_ROOT/home/services/xdm
158 DESTDIR=$RPM_BUILD_ROOT \
161 mv $RPM_BUILD_ROOT%{_datadir}/gdm/BuiltInSessions/default.desktop $RPM_BUILD_ROOT%{_datadir}/xsessions
163 install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/gdm
164 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/gdm
166 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
168 touch $RPM_BUILD_ROOT/etc/security/blacklist.gdm
170 %find_lang %{name} --all-name --with-gnome
172 # Remove useless files
173 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.{la,a}
175 # moved to gnome-session
176 rm -f $RPM_BUILD_ROOT%{_datadir}/xsessions/gnome.desktop
179 rm -rf $RPM_BUILD_ROOT
182 if [ -n "`getgid xdm`" ]; then
183 if [ "`getgid xdm`" != "55" ]; then
184 echo "Error: group xdm doesn't have gid=55. Correct this before installing %{name}." 1>&2
188 /usr/sbin/groupadd -g 55 -r -f xdm
192 if [ -z "`id -u xdm 2>/dev/null`" ]; then
193 /usr/sbin/useradd -u 55 -r -d /home/services/xdm -s /bin/false -c 'X Display Manager' -g xdm xdm 1>&2
197 /usr/bin/scrollkeeper-update
200 /usr/bin/scrollkeeper-update
201 if [ "$1" = "0" ]; then
202 if [ -n "`id -u xdm 2>/dev/null`" ]; then
203 /usr/sbin/userdel xdm
205 /usr/sbin/groupdel xdm
209 /sbin/chkconfig --add gdm
210 if [ -f /var/lock/subsys/gdm ]; then
211 echo "Run \"/etc/rc.d/init.d/gdm restart\" to restart gdm." >&2
213 echo "Run \"/etc/rc.d/init.d/gdm start\" to start gdm." >&2
217 if [ "$1" = "0" ]; then
218 if [ -f /var/lock/subsys/gdm ]; then
219 /etc/rc.d/init.d/gdm stop >&2
221 /sbin/chkconfig --del gdm
224 %files -f %{name}.lang
225 %defattr(644,root,root,755)
226 %doc AUTHORS ChangeLog NEWS README TODO
227 %attr(755,root,root) %{_bindir}/gdm
228 %attr(755,root,root) %{_bindir}/gdm-binary
229 %attr(755,root,root) %{_bindir}/gdmchooser
230 %attr(755,root,root) %{_bindir}/gdmflexiserver
231 %attr(755,root,root) %{_bindir}/gdmgreeter
232 %attr(755,root,root) %{_bindir}/gdmlogin
233 %attr(755,root,root) %{_bindir}/gdmphotosetup
234 %attr(755,root,root) %{_bindir}/gdmsetup
235 %attr(755,root,root) %{_bindir}/gdmthemetester
236 %attr(755,root,root) %{_libdir}/gdmaskpass
237 %attr(755,root,root) %{_libdir}/gdmopen
238 %attr(755,root,root) %{_libdir}/gdmtranslate
239 %attr(755,root,root) %{_sbindir}/*
240 %dir %{_sysconfdir}/gdm
241 %dir %{_sysconfdir}/gdm/modules
242 %attr(755,root,root) %config %{_sysconfdir}/gdm/Init
243 %attr(755,root,root) %config %{_sysconfdir}/gdm/PreSession
244 %attr(755,root,root) %config %{_sysconfdir}/gdm/PostSession
245 %attr(755,root,root) %config %{_sysconfdir}/gdm/XKeepsCrashing
246 %attr(755,root,root) %config %{_sysconfdir}/gdm/Xsession
247 %config %{_sysconfdir}/gdm/factory-gdm.conf
248 %config %{_sysconfdir}/gdm/PostLogin/Default.sample
249 %config %{_sysconfdir}/gdm/modules/*
251 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/gdm/gdm.conf
252 %config %{_sysconfdir}/gdm/locale.alias
253 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/gdm*
254 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.gdm
255 %attr(750,xdm,xdm) /var/lib/gdm
256 %attr(750,xdm,xdm) /home/services/xdm
258 %{_desktopdir}/gdmsetup.desktop
259 %{_desktopdir}/gdmflexiserver.desktop
260 %{_datadir}/gnome/capplets/*
262 #%%{_datadir}/xsessions - moved to gnome-session
263 %{_datadir}/xsessions/default.desktop
265 %attr(755,root,root) %{_libdir}/gtk-2.0/modules/lib*.so
269 %defattr(644,root,root,755)
270 %attr(755,root,root) %{_bindir}/gdmXnestchooser
271 %{_desktopdir}/gdmflexiserver-xnest.desktop
274 %defattr(644,root,root,755)
275 %attr(754,root,root) /etc/rc.d/init.d/gdm