1 Summary: GNOME Display Manager
2 Summary(es): Administrador de Entrada del GNOME
4 Summary(pt_BR): Gerenciador de Entrada do GNOME
10 Group: X11/Applications
11 Group(de): X11/Applikationen
12 Group(es): X11/Aplicaciones
13 Group(pl): X11/Aplikacje
14 Group(pt_BR): X11/Aplicações
15 Group(pt): X11/Aplicações
16 Source0: ftp://ftp.gnome.org/pub/GNOME/stable/sources/%{name}/%{name}-%{version}.tar.bz2
20 Patch0: %{name}-xdmcp.patch
21 Patch1: %{name}-am_fixes.patch
22 BuildRequires: autoconf
23 BuildRequires: automake
24 BuildRequires: esound-devel
25 BuildRequires: gdk-pixbuf-devel
26 BuildRequires: gettext-devel
27 BuildRequires: gnome-libs-devel
28 BuildRequires: gtk+-devel
29 BuildRequires: libglade-devel
30 BuildRequires: libtool
31 BuildRequires: libxml-devel
32 BuildRequires: perl-modules
33 BuildRequires: scrollkeeper
34 Requires: gnome-libs >= 1.0.0
36 Requires: /usr/X11R6/bin/sessreg
39 Prereq: /sbin/chkconfig
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 Obsoletes: xdm kdm wdm
43 %define _prefix /usr/X11R6
44 %define _bindir %{_prefix}/bin
45 %define _datadir %{_prefix}/share
46 %define _sbindir %{_prefix}/sbin
47 %define _mandir %{_prefix}/man
48 %define _localstatedir /var/lib
49 %define _sysconfdir /etc/X11
50 %define _omf_dest_dir %(scrollkeeper-config --omfdir)
53 gdm manages local and remote displays and provides the user with a
54 graphical login window.
57 Administrador de Entrada del GNOME.
60 gdm zarz±dza lokalnymi i zdalnymi X serwerami i udostêpnia
61 u¿ytkownikowi graficzne okienko logowania.
64 Gerenciador de Entrada do GNOME.
67 Summary: Xnest (ie embedded X) server for GDM
68 Group: X11/Applications
69 Group(de): X11/Applikationen
70 Group(es): X11/Aplicaciones
71 Group(pl): X11/Aplikacje
72 Group(pt_BR): X11/Aplicações
73 Group(pt): X11/Aplicações
74 Requires: %{name} = %{version}
75 Requires: XFree86-Xnest
78 Gdm (the GNOME Display Manager) is a highly configurable
79 reimplementation of xdm, the X Display Manager. Gdm allows you to log
80 into your system with the X Window System running and supports running
81 several different X sessions on your local machine at the same time.
83 This package add support for Xnest server in gdm.
92 libtoolize --copy --force
93 gettextize --copy --force
94 aclocal -I %{_aclocaldir}/gnome
100 --with-tcp-wrappers=yes \
101 --enable-console-helper
106 rm -rf $RPM_BUILD_ROOT
107 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,security}
110 DESTDIR=$RPM_BUILD_ROOT \
111 Settingsdir=%{_applnkdir}/Settings/GNOME \
112 Systemdir=%{_applnkdir}/System \
113 omf_dest_dir=%{_omf_dest_dir}/omf/%{name}
115 install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/gdm
116 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/gdm
117 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/gdm.conf
118 touch $RPM_BUILD_ROOT/etc/security/blacklist.gdm
120 mv $RPM_BUILD_ROOT%{_applnkdir}/System/gdmconfig.desktop \
121 $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME/
123 gzip -9nf AUTHORS ChangeLog NEWS README TODO
125 %find_lang %{name} --all-name --with-gnome
128 rm -rf $RPM_BUILD_ROOT
131 /usr/sbin/groupadd -g 55 -r -f xdm
133 if [ -z "`id -u xdm 2>/dev/null`" ]; then
134 /usr/sbin/useradd -u 55 -r -d /dev/null -s /bin/false -c 'X Display Manager' -g xdm xdm 1>&2
138 /sbin/chkconfig --add gdm
139 if [ -f /var/lock/subsys/gdm ]; then
140 /etc/rc.d/init.d/gdm restart >&2
142 echo "Run \"/etc/rc.d/init.d/gdm start\" to start gdm." >&2
144 /usr/bin/scrollkeeper-update
147 if [ "$1" = "0" ]; then
148 if [ -f /var/lock/subsys/gdm ]; then
149 /etc/rc.d/init.d/gdm stop >&2
151 /sbin/chkconfig --del gdm
155 if [ "$1" = "0" ]; then
156 if [ -n "`id -u xdm 2>/dev/null`" ]; then
157 /usr/sbin/userdel xdm
159 /usr/sbin/groupdel xdm
161 /usr/bin/scrollkeeper-update
163 %files -f %{name}.lang
164 %defattr(644,root,root,755)
166 %attr(755,root,root) %{_bindir}/gdm
167 %attr(755,root,root) %{_bindir}/gdmchooser
168 %attr(755,root,root) %{_bindir}/gdmconfig
169 %attr(755,root,root) %{_bindir}/gdmflexiserver
170 %attr(755,root,root) %{_bindir}/gdmlogin
171 %attr(755,root,root) %{_bindir}/gdmmktemp
172 %attr(755,root,root) %{_bindir}/gdmphotosetup
173 %attr(755,root,root) %{_sbindir}/*
174 %attr(755,root,root) %config %{_sysconfdir}/gdm/Init
175 %attr(755,root,root) %config %{_sysconfdir}/gdm/PreSession
176 %attr(755,root,root) %config %{_sysconfdir}/gdm/Sessions
177 %attr(755,root,root) %config %{_sysconfdir}/gdm/PostSession
178 %attr(755,root,root) %config %{_sysconfdir}/gdm/gnomerc
179 %attr(755,root,root) %config %{_sysconfdir}/gdm/XKeepsCrashing
180 %config %{_sysconfdir}/gdm/factory-gdm.conf
181 %config %{_sysconfdir}/gdm/gdm.conf
182 %config %{_sysconfdir}/gdm/locale.alias
183 %attr(755,root,root) %dir %{_sysconfdir}/gdm
184 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/gdm
185 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.gdm
186 %attr(750,root,xdm) /var/lib/gdm
187 %attr(754,root,root) /etc/rc.d/init.d/gdm
189 # these lines to devel subpackage?
190 %{_applnkdir}/Settings/GNOME/*
191 %{_applnkdir}/System/gdmflexiserver.desktop
193 %{_omf_dest_dir}/omf/%{name}
196 %defattr(644,root,root,755)
197 %attr(755,root,root) %{_bindir}/gdmXnestchooser
198 %{_applnkdir}/System/gdmflexiserver-xnest.desktop