Summary(pt_BR): Gerenciador de Entrada do GNOME
Name: gdm
Version: 2.2.5.4
-Release: 1
+Release: 7
Epoch: 1
License: LGPL/GPL
Group: X11/Applications
-Group(de): X11/Applikationen
-Group(es): X11/Aplicaciones
-Group(pl): X11/Aplikacje
-Group(pt_BR): X11/Aplicações
-Group(pt): X11/Aplicações
Source0: ftp://ftp.gnome.org/pub/GNOME/stable/sources/%{name}/%{name}-%{version}.tar.bz2
Source1: %{name}.pamd
Source2: %{name}.init
Source3: %{name}.conf
+Source4: %{name}-pld-logo.png
Patch0: %{name}-xdmcp.patch
Patch1: %{name}-am_fixes.patch
+Patch2: %{name}-permissions.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: esound-devel
BuildRequires: libxml-devel
BuildRequires: perl-modules
BuildRequires: scrollkeeper
+BuildRequires: intltool >= 0.14
Requires: gnome-libs >= 1.0.0
Requires: which
Requires: /usr/X11R6/bin/sessreg
-Prereq: scrollkeeper
-Prereq: shadow
-Prereq: /sbin/chkconfig
+PreReq: scrollkeeper
+PreReq: shadow
+PreReq: /sbin/chkconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Obsoletes: xdm kdm wdm
%define _sysconfdir /etc/X11
%define _omf_dest_dir %(scrollkeeper-config --omfdir)
-%description
-gdm manages local and remote displays and provides the user with a
-graphical login window.
+%description
+Gdm (the GNOME Display Manager) is a highly configurable
+reimplementation of xdm, the X Display Manager. Gdm allows you to log
+into your system with the X Window System running and supports running
+several different X sessions on your local machine at the same time.
%description -l es
Administrador de Entrada del GNOME.
%description -l pl
-gdm zarz±dza lokalnymi i zdalnymi X serwerami i udostêpnia
-u¿ytkownikowi graficzne okienko logowania.
+Gdm jest wysokokonfigurowaln± reimplementacj± xdma. Gdm pozwala
+logowaæ siê do systemu z poziomu X11 i wspiera jednoczesn± pracê kilku
+ró¿nych Xsesji na lokalnej maszynie.
%description -l pt_BR
Gerenciador de Entrada do GNOME.
%package Xnest
Summary: Xnest (ie embedded X) server for GDM
+Summary(pl): Serwer Xnest dla GDM
Group: X11/Applications
-Group(de): X11/Applikationen
-Group(es): X11/Aplicaciones
-Group(pl): X11/Aplikacje
-Group(pt_BR): X11/Aplicações
-Group(pt): X11/Aplicações
Requires: %{name} = %{version}
Requires: XFree86-Xnest
%description Xnest
-Gdm (the GNOME Display Manager) is a highly configurable
-reimplementation of xdm, the X Display Manager. Gdm allows you to log
-into your system with the X Window System running and supports running
-several different X sessions on your local machine at the same time.
-
This package add support for Xnest server in gdm.
+%description Xnest -l pl
+Ten pakiet dodaje do gdm wsparcie dla Xnest.
+
%prep
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
rm -f missing
gettextize --copy --force
aclocal -I %{_aclocaldir}/gnome
autoconf
-automake -a -c
+automake -a -c -f
%configure \
--with-xinerama=yes \
--with-xdmcp=yes \
DESTDIR=$RPM_BUILD_ROOT \
Settingsdir=%{_applnkdir}/Settings/GNOME \
Systemdir=%{_applnkdir}/System \
- omf_dest_dir=%{_omf_dest_dir}/omf/%{name}
+ omf_dest_dir=%{_omf_dest_dir}/%{name}
install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/gdm
install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/gdm
install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/gdm.conf
+install %{SOURCE4} $RPM_BUILD_ROOT/usr/X11R6/share/pixmaps
touch $RPM_BUILD_ROOT/etc/security/blacklist.gdm
mv $RPM_BUILD_ROOT%{_applnkdir}/System/gdmconfig.desktop \
%post
/sbin/chkconfig --add gdm
if [ -f /var/lock/subsys/gdm ]; then
- /etc/rc.d/init.d/gdm restart >&2
+ echo "Run \"/etc/rc.d/init.d/gdm restart\" to restart gdm." >&2
else
- echo "Run \"/etc/rc.d/init.d/gdm start\" to start gdm." >&2
+ echo "Run \"/etc/rc.d/init.d/gdm start\" to start gdm." >&2
fi
/usr/bin/scrollkeeper-update
%preun
if [ "$1" = "0" ]; then
if [ -f /var/lock/subsys/gdm ]; then
- /etc/rc.d/init.d/gdm stop >&2
+ /etc/rc.d/init.d/gdm stop >&2
fi
/sbin/chkconfig --del gdm
fi
%attr(755,root,root) %dir %{_sysconfdir}/gdm
%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/gdm
%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.gdm
-%attr(750,root,xdm) /var/lib/gdm
+%attr(770,root,xdm) /var/lib/gdm
%attr(754,root,root) /etc/rc.d/init.d/gdm
%{_pixmapsdir}/*
# these lines to devel subpackage?
%{_applnkdir}/Settings/GNOME/*
%{_applnkdir}/System/gdmflexiserver.desktop
%{_datadir}/gdm
-%{_omf_dest_dir}/omf/%{name}
+%{_omf_dest_dir}/%{name}
%files Xnest
%defattr(644,root,root,755)