]> git.pld-linux.org Git - packages/gdm2.20.git/blobdiff - gdm2.20.spec
- perl -pi -e "s/^libtoolize --copy --force/\%\{__libtoolize\}/"
[packages/gdm2.20.git] / gdm2.20.spec
index 27b1b13f74b71d546ed89474ce6ac077a605f463..5bced524f09c6284379fad97a4742ab6547bb735 100644 (file)
@@ -4,19 +4,15 @@ Summary(pl):  gdm
 Summary(pt_BR):        Gerenciador de Entrada do GNOME
 Name:          gdm
 Version:       2.2.5.4
-Release:       2
+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
@@ -36,9 +32,9 @@ 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
 
@@ -51,39 +47,36 @@ 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
@@ -92,11 +85,11 @@ This package add support for Xnest server in gdm.
 
 %build
 rm -f missing
-libtoolize --copy --force
+%{__libtoolize}
 gettextize --copy --force
 aclocal -I %{_aclocaldir}/gnome
-autoconf
-automake -a -c
+%{__autoconf}
+%{__automake}
 %configure \
        --with-xinerama=yes \
        --with-xdmcp=yes \
@@ -113,11 +106,12 @@ install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,pam.d,security}
        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 \
@@ -142,14 +136,14 @@ fi
 if [ -f /var/lock/subsys/gdm ]; then
        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
@@ -186,14 +180,14 @@ 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(770,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)
This page took 0.051773 seconds and 4 git commands to generate.