Репозитории ALT
S: | 45.0.1-alt2 |
5.1: | 2.26.1-alt5.M51.2 |
4.1: | 2.20.7-alt1.M41.1 |
4.0: | 2.18.4-alt1 |
3.0: | 2.6.0.9-alt1 |
Другие репозитории
Upstream: | 2.20.4 |
Группа :: Графические оболочки/GNOME
Пакет: gdm
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define ver_major 2.20
%define _libexecdir %_libdir/%name
%define authentication_scheme pam
%def_disable static
%def_enable ipv6
%def_with xinerama
%def_with xdmcp
%def_with tcp_wrappers
%def_without selinux
%def_with consolekit
%def_with libaudit
%def_disable polkit
Name: gdm
Version: %ver_major.7
Release: alt1.M41.1
Summary: The GNOME Display Manager
License: GPLv2+
URL: ftp://ftp.gnome.org/
Group: Graphical desktop/GNOME
Requires: coreutils consolehelper zenity xinitrc
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Source1: gnomedesktop.png
Source2: 90-grant-audio-devices-to-gdm.fdi
# ALT patches
Patch1: %name-2.20.7-alt-config.patch
Patch2: %name-2.20.6-alt-xsession.patch
Patch3: %name-2.20.4-alt-alias.patch
Patch4: %name-2.20.0-alt-grep.patch
# RH patches
Patch19: %name-2.19.3-move-default-message.patch
Patch20: %name-2.19.5-reset-pam.patch
Patch28: %name-2.17.1-desensitize-entry.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=411501
Patch33: %name-2.19.6-pass-ats-to-session.patch
# http://bugzilla.redhat.com/show_bug.cgi?id=246399
Patch43: %name-2.20.1-keymouselistener-segfault.patch
BuildPreReq: desktop-file-utils intltool gnome-common gnome-doc-utils
# Automatically added by buildreq on Tue Sep 18 2007
BuildRequires: docbook-dtds gcc-c++ glibc-devel gnome-doc-utils-xslt imake libSM-devel libXi-devel libXinerama-devel libdbus-glib-devel libdmx-devel libgnomecanvas-devel libpam-devel libpopt-devel librsvg-devel libwrap-devel perl-XML-Parser xorg-cf-files xorg-x11-server xsltproc zenity
%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.
%package help
Summary: User documentation for Gdm
Group: Graphical desktop/GNOME
Conflicts: %name < %version-%release
%description help
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 contains user documentation for Gdm.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch19 -p1
%patch20 -p1
%patch28 -p1
%patch33 -p1
%patch43 -p1
# This hack forces configure to use libwrap.
%__subst 's,libwrap.a,libwrap.so,' configure
%build
export ac_cv_path_CONSOLE_HELPER=%_bindir/consolehelper
%configure \
--with-sysconfsubdir=X11/gdm \
--enable-console-helper \
--enable-authentication-scheme=%authentication_scheme \
--with-pam-prefix=%_sysconfdir \
%{?_with_consolekit:--with-console-kit=yes} \
%{subst_with selinux} \
%{?_with_libaudit:--with-libaudit=yes} \
--enable-secureremote=yes \
--disable-scrollkeeper \
%{subst_enable static} \
--disable-dependency-tracking
%make_build
%install
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gdm/autostart/LoginWindow
%make DESTDIR=%buildroot logdir=/var/log/gdm install
mkdir -p %buildroot%_sysconfdir/X11/sessions
install -m644 %SOURCE1 %buildroot%_datadir/pixmaps/gdm-screen.png
ln -s consolehelper %buildroot%_bindir/gdmsetup
# grant access to alsa and oss devices for the gdm user
mkdir -p %buildroot%_datadir/hal/fdi/policy/20thirdparty
cp %SOURCE2 %buildroot%_datadir/hal/fdi/policy/20thirdparty
%find_lang %name
%find_lang --output=%name-help.lang --without-mo --with-gnome %name
%post
%update_wms
%postun
%clean_wms
%post help
%update_scrollkeeper
%postun help
%clean_scrollkeeper
%files -f %name.lang
%_bindir/*
%_sbindir/*
%_libexecdir/*
%_libdir/gtk-2.0/modules/lib*.so
%_datadir/%name
%_pixmapsdir/*
%_datadir/icons/*/*/*/*.*
# gnome.desktop xsession moved to gnome-session
#%_datadir/xsessions
%_datadir/xsessions/ssh.desktop
%_datadir/hal/fdi/policy/20thirdparty/90-grant-audio-devices-to-gdm.fdi
%dir %_sysconfdir/X11/sessions
%config %_sysconfdir/pam.d/*
%config(noreplace) %_sysconfdir/X11/%name
%config(noreplace) %_sysconfdir/security/console.apps/*
%_man1dir/*
%doc AUTHORS ChangeLog NEWS README TODO
%dir %_var/log/gdm
%attr(750, gdm, gdm) %dir %_localstatedir/gdm
%files help -f %name-help.lang
%exclude %_libdir/gtk-2.0/modules/lib*.la
%changelog
…
Полный changelog можно просмотреть здесь
%define _libexecdir %_libdir/%name
%define authentication_scheme pam
%def_disable static
%def_enable ipv6
%def_with xinerama
%def_with xdmcp
%def_with tcp_wrappers
%def_without selinux
%def_with consolekit
%def_with libaudit
%def_disable polkit
Name: gdm
Version: %ver_major.7
Release: alt1.M41.1
Summary: The GNOME Display Manager
License: GPLv2+
URL: ftp://ftp.gnome.org/
Group: Graphical desktop/GNOME
Requires: coreutils consolehelper zenity xinitrc
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Source1: gnomedesktop.png
Source2: 90-grant-audio-devices-to-gdm.fdi
# ALT patches
Patch1: %name-2.20.7-alt-config.patch
Patch2: %name-2.20.6-alt-xsession.patch
Patch3: %name-2.20.4-alt-alias.patch
Patch4: %name-2.20.0-alt-grep.patch
# RH patches
Patch19: %name-2.19.3-move-default-message.patch
Patch20: %name-2.19.5-reset-pam.patch
Patch28: %name-2.17.1-desensitize-entry.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=411501
Patch33: %name-2.19.6-pass-ats-to-session.patch
# http://bugzilla.redhat.com/show_bug.cgi?id=246399
Patch43: %name-2.20.1-keymouselistener-segfault.patch
BuildPreReq: desktop-file-utils intltool gnome-common gnome-doc-utils
# Automatically added by buildreq on Tue Sep 18 2007
BuildRequires: docbook-dtds gcc-c++ glibc-devel gnome-doc-utils-xslt imake libSM-devel libXi-devel libXinerama-devel libdbus-glib-devel libdmx-devel libgnomecanvas-devel libpam-devel libpopt-devel librsvg-devel libwrap-devel perl-XML-Parser xorg-cf-files xorg-x11-server xsltproc zenity
%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.
%package help
Summary: User documentation for Gdm
Group: Graphical desktop/GNOME
Conflicts: %name < %version-%release
%description help
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 contains user documentation for Gdm.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch19 -p1
%patch20 -p1
%patch28 -p1
%patch33 -p1
%patch43 -p1
# This hack forces configure to use libwrap.
%__subst 's,libwrap.a,libwrap.so,' configure
%build
export ac_cv_path_CONSOLE_HELPER=%_bindir/consolehelper
%configure \
--with-sysconfsubdir=X11/gdm \
--enable-console-helper \
--enable-authentication-scheme=%authentication_scheme \
--with-pam-prefix=%_sysconfdir \
%{?_with_consolekit:--with-console-kit=yes} \
%{subst_with selinux} \
%{?_with_libaudit:--with-libaudit=yes} \
--enable-secureremote=yes \
--disable-scrollkeeper \
%{subst_enable static} \
--disable-dependency-tracking
%make_build
%install
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gdm/autostart/LoginWindow
%make DESTDIR=%buildroot logdir=/var/log/gdm install
mkdir -p %buildroot%_sysconfdir/X11/sessions
install -m644 %SOURCE1 %buildroot%_datadir/pixmaps/gdm-screen.png
ln -s consolehelper %buildroot%_bindir/gdmsetup
# grant access to alsa and oss devices for the gdm user
mkdir -p %buildroot%_datadir/hal/fdi/policy/20thirdparty
cp %SOURCE2 %buildroot%_datadir/hal/fdi/policy/20thirdparty
%find_lang %name
%find_lang --output=%name-help.lang --without-mo --with-gnome %name
%post
%update_wms
%postun
%clean_wms
%post help
%update_scrollkeeper
%postun help
%clean_scrollkeeper
%files -f %name.lang
%_bindir/*
%_sbindir/*
%_libexecdir/*
%_libdir/gtk-2.0/modules/lib*.so
%_datadir/%name
%_pixmapsdir/*
%_datadir/icons/*/*/*/*.*
# gnome.desktop xsession moved to gnome-session
#%_datadir/xsessions
%_datadir/xsessions/ssh.desktop
%_datadir/hal/fdi/policy/20thirdparty/90-grant-audio-devices-to-gdm.fdi
%dir %_sysconfdir/X11/sessions
%config %_sysconfdir/pam.d/*
%config(noreplace) %_sysconfdir/X11/%name
%config(noreplace) %_sysconfdir/security/console.apps/*
%_man1dir/*
%doc AUTHORS ChangeLog NEWS README TODO
%dir %_var/log/gdm
%attr(750, gdm, gdm) %dir %_localstatedir/gdm
%files help -f %name-help.lang
%exclude %_libdir/gtk-2.0/modules/lib*.la
%changelog
…
Полный changelog можно просмотреть здесь