Репозитории 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.18
%define _libexecdir %_libdir/%name
Name: gdm
License: LGPL/GPL
URL: ftp://ftp.gnome.org/
Version: %ver_major.4
Release: alt1
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Source1: gnomedesktop.png
# ALT patches
Patch1: %name-2.18.0-alt-config.patch
Patch2: %name-2.17.8-alt-xsession.patch
Patch3: %name-2.4.4.0-alt-pam.patch
Patch4: %name-2.17.8-alt-alias.patch
Patch5: %name-2.8.0.5-alt-grep.patch
Patch6: %name-2.18.0-alt-menu.patch
# RH patches
Patch7: %name-2.8.0.2-merge-resources.patch
BuildPreReq: desktop-file-utils intltool gnome-common gnome-doc-utils
# Automatically added by buildreq on Wed May 30 2007
BuildRequires: gcc-c++ gnome-doc-utils imake libdbus-glib-devel libdmx-devel libgnomecanvas-devel libpam-devel libpopt-devel librsvg-devel libwrap-devel libXi-devel libXinerama-devel libXt-devel packages-info-i18n-common perl-XML-Parser python-modules-compiler python-modules-encodings xorg-cf-files xorg-x11-server xsltproc zenity
Summary: The GNOME Display Manager
Group: Graphical desktop/GNOME
Requires: coreutils consolehelper zenity xinitrc
%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
%patch5 -p1
%patch6 -p1
%patch7 -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 \
--sysconfdir=%_sysconfdir/X11 \
--enable-console-helper \
--enable-authentication-scheme=pam \
--with-pam-prefix=%_sysconfdir \
--disable-scrollkeeper \
--enable-secureremote=yes \
--disable-static \
--disable-dependency-tracking
%make_build
%install
%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
%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
%_desktopdir/*
%_datadir/%name
%_pixmapsdir/*
%_datadir/icons/*/*/*/*.png
%_datadir/xsessions
%dir %_sysconfdir/X11/sessions
%config(noreplace) %_sysconfdir/X11/%name
%config(noreplace) %_sysconfdir/pam.d/*
%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
Name: gdm
License: LGPL/GPL
URL: ftp://ftp.gnome.org/
Version: %ver_major.4
Release: alt1
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Source1: gnomedesktop.png
# ALT patches
Patch1: %name-2.18.0-alt-config.patch
Patch2: %name-2.17.8-alt-xsession.patch
Patch3: %name-2.4.4.0-alt-pam.patch
Patch4: %name-2.17.8-alt-alias.patch
Patch5: %name-2.8.0.5-alt-grep.patch
Patch6: %name-2.18.0-alt-menu.patch
# RH patches
Patch7: %name-2.8.0.2-merge-resources.patch
BuildPreReq: desktop-file-utils intltool gnome-common gnome-doc-utils
# Automatically added by buildreq on Wed May 30 2007
BuildRequires: gcc-c++ gnome-doc-utils imake libdbus-glib-devel libdmx-devel libgnomecanvas-devel libpam-devel libpopt-devel librsvg-devel libwrap-devel libXi-devel libXinerama-devel libXt-devel packages-info-i18n-common perl-XML-Parser python-modules-compiler python-modules-encodings xorg-cf-files xorg-x11-server xsltproc zenity
Summary: The GNOME Display Manager
Group: Graphical desktop/GNOME
Requires: coreutils consolehelper zenity xinitrc
%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
%patch5 -p1
%patch6 -p1
%patch7 -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 \
--sysconfdir=%_sysconfdir/X11 \
--enable-console-helper \
--enable-authentication-scheme=pam \
--with-pam-prefix=%_sysconfdir \
--disable-scrollkeeper \
--enable-secureremote=yes \
--disable-static \
--disable-dependency-tracking
%make_build
%install
%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
%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
%_desktopdir/*
%_datadir/%name
%_pixmapsdir/*
%_datadir/icons/*/*/*/*.png
%_datadir/xsessions
%dir %_sysconfdir/X11/sessions
%config(noreplace) %_sysconfdir/X11/%name
%config(noreplace) %_sysconfdir/pam.d/*
%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 можно просмотреть здесь