Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37537045
en ru br
Репозитории ALT
S:1.28-alt22
5.1: 1.28-alt9
4.1: 1.28-alt8.M41.1
4.0: 1.28-alt3
3.0: 1.28-alt2
www.altlinux.org/Changes

Группа :: Графические оболочки/Window Maker
Пакет: wdm

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define wdm_config wdm-config-1.20

Name: wdm
Version: 1.28
Release: alt8.M41.1

Packager: Alexey Voinov <voins at altlinux.ru>

Summary: WINGs Display Manager
License: GPL
Group: Graphical desktop/Window Maker
Url: http://voins.program.ru/wdm

Source0: %name-%version-%release.tar.bz2
Source1: %wdm_config.tar.bz2
Source2: wdm-alt-logo.png

Requires: %_bindir/xvt

# Automatically added by buildreq on Mon Mar 30 2009

BuildRequires: libWINGs-devel libXau-devel libXdmcp-devel libXmu-devel libaudit-devel libdbus-devel libpam-devel

# those BR's were optimized out on p5, but not on M41.

# let us list them explicitly, to help backporting and not to depend on flukes.
BuildRequires: libtiff-devel libXpm-devel libtiff-devel libpng-devel zlib-devel libjpeg-devel libungif-devel libXft-devel libXrender-devel fontconfig-devel libfreetype-devel libX11-devel libXinerama-devel libXext-devel


%description
Wdm combines the functions of a graphical display manager identifying
and authenticating a user on a system with some of the functions of a
session manager in selecting and starting a window manager. Optionally,
wdm can shutdown (reboot or halt) the system.

%prep
%setup -q -a 1 -n %name-%version-%release


%build
%autoreconf
export XRDB_PATH=%_bindir/xrdb
export XCONSOLE=%_bindir/xconsole
export SHUTDOWN=/sbin/shutdown
export FAILSAFE_PATH=%_bindir/xvt
export DEF_SERVER=%_bindir/X
export SYSTEM_SHELL=/bin/sh
export SHELL_BASH=/bin/bash
%configure \
--enable-pam \
--enable-aafont \
--enable-consolekit \
--with-libaudit \
--with-wdmdir=%_sysconfdir/X11/wdm \
--with-nlsdir=%_datadir/locale \
--with-gfxdir=%_datadir/pixmaps/wdm \
--with-fakehome=%_localstatedir/wdm
make

%install
%makeinstall_std

rm -rf %buildroot%_sysconfdir/X11/wdm/X*
rm -rf %buildroot%_sysconfdir/X11/wdm/wdm*
rm -rf %buildroot%_sysconfdir/X11/wdm/GiveConsole
rm -rf %buildroot%_sysconfdir/X11/wdm/TakeConsole

install -pD -m600 %wdm_config/wdm.pamd %buildroot%_sysconfdir/pam.d/wdm
install -pD -m755 %wdm_config/wdm.wms %buildroot%_sysconfdir/X11/wms-methods.d/wdm
install -pD -m644 %wdm_config/Xaccess %buildroot%_sysconfdir/X11/wdm/Xaccess
install -pD -m644 %wdm_config/Xresources %buildroot%_sysconfdir/X11/wdm/Xresources
install -pD -m644 %wdm_config/Xservers %buildroot%_sysconfdir/X11/wdm/Xservers
install -pD -m755 %wdm_config/Xsession %buildroot%_sysconfdir/X11/wdm/Xsession
install -pD -m755 %wdm_config/Xsetup_0 %buildroot%_sysconfdir/X11/wdm/Xsetup_0
install -pD -m600 %wdm_config/wdm-config %buildroot%_sysconfdir/X11/wdm/wdm-config
install -pD -m600 %wdm_config/wdmLogin-config %buildroot%_sysconfdir/X11/wdm/wdmLogin-config
install -pD -m755 %wdm_config/GiveConsole %buildroot%_sysconfdir/X11/wdm/GiveConsole
install -pD -m755 %wdm_config/TakeConsole %buildroot%_sysconfdir/X11/wdm/TakeConsole
install -pD -m644 %_sourcedir/wdm-alt-logo.png %buildroot%_datadir/pixmaps/wdm/wdm-alt-logo.png


rm -rf %buildroot%_sysconfdir/X11/wdm/authdir
mkdir -p %buildroot%_localstatedir/wdm
ln -s -f ../../..%_localstatedir/wdm %buildroot%_sysconfdir/X11/wdm/authdir

mkdir -p %buildroot%_sysconfdir/logrotate.d
cat << EOF > %buildroot%_sysconfdir/logrotate.d/wdm
%_logdir/wdm-error.log {
notifempty
missingok
nocompress
}
EOF

%find_lang %name

%pre
[ -d %_sysconfdir/X11/wdm/authdir -a -L %_sysconfdir/X11/wdm/authdir ] ||
 rm -rf -- %_sysconfdir/X11/wdm/authdir

%files -f %name.lang
%_bindir/wdm
%_bindir/wdmLogin
%_man1dir/*
%_sysconfdir/logrotate.d/wdm
%_sysconfdir/X11/wms-methods.d/wdm
%dir %_sysconfdir/X11/wdm
%config %_sysconfdir/pam.d/wdm
%config(noreplace) %_sysconfdir/X11/wdm/wdm-config
%config(noreplace) %_sysconfdir/X11/wdm/wdmLogin-config
%_sysconfdir/X11/wdm/authdir
%_datadir/pixmaps/wdm
%_sysconfdir/X11/wdm/GiveConsole
%_sysconfdir/X11/wdm/TakeConsole
%config %_sysconfdir/X11/wdm/Xaccess
%config %_sysconfdir/X11/wdm/Xresources
%config %_sysconfdir/X11/wdm/Xservers
%config %_sysconfdir/X11/wdm/Xsession
%config %_sysconfdir/X11/wdm/Xsetup_0
%dir %_localstatedir/wdm
%doc AUTHORS ChangeLog INSTALL NEWS README README.pam TODO

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin