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(fr): X11/Applications
14 Group(pl): X11/Aplikacje
15 Group(pt_BR): X11/Aplicações
16 Group(pt): X11/Aplicações
17 Source0: ftp://ftp.gnome.org/pub/GNOME/stable/sources/%{name}/%{name}-%{version}.tar.bz2
21 Patch0: %{name}-xdmcp.patch
22 Patch1: %{name}-am_fixes.patch
23 Patch2: %{name}-permissions.patch
24 BuildRequires: autoconf
25 BuildRequires: automake
26 BuildRequires: esound-devel
27 BuildRequires: gdk-pixbuf-devel
28 BuildRequires: gettext-devel
29 BuildRequires: gnome-libs-devel
30 BuildRequires: gtk+-devel
31 BuildRequires: libglade-devel
32 BuildRequires: libtool
33 BuildRequires: libxml-devel
34 BuildRequires: perl-modules
35 BuildRequires: scrollkeeper
36 BuildRequires: intltool >= 0.14
37 Requires: gnome-libs >= 1.0.0
39 Requires: /usr/X11R6/bin/sessreg
42 PreReq: /sbin/chkconfig
43 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44 Obsoletes: xdm kdm wdm
46 %define _prefix /usr/X11R6
47 %define _bindir %{_prefix}/bin
48 %define _datadir %{_prefix}/share
49 %define _sbindir %{_prefix}/sbin
50 %define _mandir %{_prefix}/man
51 %define _localstatedir /var/lib
52 %define _sysconfdir /etc/X11
53 %define _omf_dest_dir %(scrollkeeper-config --omfdir)
56 Gdm (the GNOME Display Manager) is a highly configurable
57 reimplementation of xdm, the X Display Manager. Gdm allows you to log
58 into your system with the X Window System running and supports running
59 several different X sessions on your local machine at the same time.
62 Administrador de Entrada del GNOME.
65 Gdm jest wysokokonfigurowaln± reimplementacj± xdma. Gdm pozwala
66 logowaæ siê do systemu z poziomu X11 i wspiera jednoczesn± pracê kilku
67 ró¿nych Xsesji na lokalnej maszynie.
70 Gerenciador de Entrada do GNOME.
73 Summary: Xnest (ie embedded X) server for GDM
74 Summary(pl): Serwer Xnest dla GDM
75 Group: X11/Applications
76 Group(de): X11/Applikationen
77 Group(es): X11/Aplicaciones
78 Group(fr): X11/Applications
79 Group(pl): X11/Aplikacje
80 Group(pt_BR): X11/Aplicações
81 Group(pt): X11/Aplicações
82 Requires: %{name} = %{version}
83 Requires: XFree86-Xnest
86 This package add support for Xnest server in gdm.
88 %description Xnest -l pl
89 Ten pakiet dodaje do gdm wsparcie dla Xnest.
99 libtoolize --copy --force
100 gettextize --copy --force
101 aclocal -I %{_aclocaldir}/gnome
105 --with-xinerama=yes \
107 --with-tcp-wrappers=yes \
108 --disable-console-helper
113 rm -rf $RPM_BUILD_ROOT
114 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,security}
117 DESTDIR=$RPM_BUILD_ROOT \
118 Settingsdir=%{_applnkdir}/Settings/GNOME \
119 Systemdir=%{_applnkdir}/System \
120 omf_dest_dir=%{_omf_dest_dir}/omf/%{name}
122 install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/gdm
123 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/gdm
124 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/gdm.conf
125 touch $RPM_BUILD_ROOT/etc/security/blacklist.gdm
127 mv $RPM_BUILD_ROOT%{_applnkdir}/System/gdmconfig.desktop \
128 $RPM_BUILD_ROOT%{_applnkdir}/Settings/GNOME/
130 gzip -9nf AUTHORS ChangeLog NEWS README TODO
132 %find_lang %{name} --all-name --with-gnome
135 rm -rf $RPM_BUILD_ROOT
138 /usr/sbin/groupadd -g 55 -r -f xdm
140 if [ -z "`id -u xdm 2>/dev/null`" ]; then
141 /usr/sbin/useradd -u 55 -r -d /dev/null -s /bin/false -c 'X Display Manager' -g xdm xdm 1>&2
145 /sbin/chkconfig --add gdm
146 if [ -f /var/lock/subsys/gdm ]; then
147 echo "Run \"/etc/rc.d/init.d/gdm restart\" to restart gdm." >&2
149 echo "Run \"/etc/rc.d/init.d/gdm start\" to start gdm." >&2
151 /usr/bin/scrollkeeper-update
154 if [ "$1" = "0" ]; then
155 if [ -f /var/lock/subsys/gdm ]; then
156 /etc/rc.d/init.d/gdm stop >&2
158 /sbin/chkconfig --del gdm
162 if [ "$1" = "0" ]; then
163 if [ -n "`id -u xdm 2>/dev/null`" ]; then
164 /usr/sbin/userdel xdm
166 /usr/sbin/groupdel xdm
168 /usr/bin/scrollkeeper-update
170 %files -f %{name}.lang
171 %defattr(644,root,root,755)
173 %attr(755,root,root) %{_bindir}/gdm
174 %attr(755,root,root) %{_bindir}/gdmchooser
175 %attr(755,root,root) %{_bindir}/gdmconfig
176 %attr(755,root,root) %{_bindir}/gdmflexiserver
177 %attr(755,root,root) %{_bindir}/gdmlogin
178 %attr(755,root,root) %{_bindir}/gdmmktemp
179 %attr(755,root,root) %{_bindir}/gdmphotosetup
180 %attr(755,root,root) %{_sbindir}/*
181 %attr(755,root,root) %config %{_sysconfdir}/gdm/Init
182 %attr(755,root,root) %config %{_sysconfdir}/gdm/PreSession
183 %attr(755,root,root) %config %{_sysconfdir}/gdm/Sessions
184 %attr(755,root,root) %config %{_sysconfdir}/gdm/PostSession
185 %attr(755,root,root) %config %{_sysconfdir}/gdm/gnomerc
186 %attr(755,root,root) %config %{_sysconfdir}/gdm/XKeepsCrashing
187 %config %{_sysconfdir}/gdm/factory-gdm.conf
188 %config %{_sysconfdir}/gdm/gdm.conf
189 %config %{_sysconfdir}/gdm/locale.alias
190 %attr(755,root,root) %dir %{_sysconfdir}/gdm
191 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/gdm
192 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.gdm
193 %attr(770,root,xdm) /var/lib/gdm
194 %attr(754,root,root) /etc/rc.d/init.d/gdm
196 # these lines to devel subpackage?
197 %{_applnkdir}/Settings/GNOME/*
198 %{_applnkdir}/System/gdmflexiserver.desktop
200 %{_omf_dest_dir}/omf/%{name}
203 %defattr(644,root,root,755)
204 %attr(755,root,root) %{_bindir}/gdmXnestchooser
205 %{_applnkdir}/System/gdmflexiserver-xnest.desktop