Репозитории ALT
S: | 2.4.47-alt3 |
5.1: | 2.4.34-alt1 |
4.1: | 2.4.29-alt1.M41.1 |
4.0: | 2.4.27-alt1.M40.1 |
3.0: | 2.4.22-alt1 |
Группа :: Система/XFree86
Пакет: xinitrc
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# $Id: xinitrc.spec,v 1.23 2004/06/12 10:33:05 ldv Exp $
Name: xinitrc
Version: 2.4.22
Release: alt1
Summary: The default startup scripts for the X Window System
License: GPL
Group: System/XFree86
Provides: %_sysconfdir/X11/xinit.d, %_sysconfdir/X11/wmsession.d
Requires(post,preun): chkconfig
Requires(post): %__subst, grep
Conflicts: kde-settings < 3.1.0-alt3, kdebase < 3.0.2-alt5, kde-config < 1.0-alt5
Conflicts: initscripts < 1:5.49.1-alt1
Source: %name-%version.tar.bz2
Requires: app-defaults >= 0:0.2
%description
The %name package contains system scripts used to start
X Window System session.
%prep
%setup -q
%build
%make_build -C po
make -C src rundm CFLAGS="$RPM_OPT_FLAGS"
%install
%__install -pD -m755 src/rundm $RPM_BUILD_ROOT%_sbindir/rundm
%__mkdir_p $RPM_BUILD_ROOT%_sysconfdir/X11/wmsession.d
%__cp -av install/* $RPM_BUILD_ROOT/
%make_install install -C po
%find_lang xrootwarn
%post
if [ $1 -eq 1 ]; then
/sbin/chkconfig --add dm
/sbin/chkconfig --add update_wms
fi
if %__grep -qs '^x:5:' /etc/inittab; then
/sbin/chkconfig --add dm
%__subst 's/^x:5:/#x:5:/' /etc/inittab
fi
%update_wms
%preun
if [ $1 -eq 0 ]; then
/sbin/chkconfig --del dm
/sbin/chkconfig --del update_wms
fi
%triggerpostun -- initscripts < 1:5.49.1-alt1
/sbin/chkconfig --add dm
/sbin/chkconfig --add update_wms
%triggerpostun -- xinitrc < 0:2.4.13-alt1
/sbin/chkconfig --add update_wms
%files -f xrootwarn.lang
%_sbindir/*
%_x11bindir/*
%_sysconfdir/X11/wmsession.d
%config %_initdir/*
%config %_sysconfdir/X11/Xsession
%config %_sysconfdir/X11/prefdm
%config(noreplace) %_sysconfdir/sysconfig/*
%config(noreplace) %_sysconfdir/X11/xinit*
%config(noreplace) %_sysconfdir/X11/xdm/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: xinitrc
Version: 2.4.22
Release: alt1
Summary: The default startup scripts for the X Window System
License: GPL
Group: System/XFree86
Provides: %_sysconfdir/X11/xinit.d, %_sysconfdir/X11/wmsession.d
Requires(post,preun): chkconfig
Requires(post): %__subst, grep
Conflicts: kde-settings < 3.1.0-alt3, kdebase < 3.0.2-alt5, kde-config < 1.0-alt5
Conflicts: initscripts < 1:5.49.1-alt1
Source: %name-%version.tar.bz2
Requires: app-defaults >= 0:0.2
%description
The %name package contains system scripts used to start
X Window System session.
%prep
%setup -q
%build
%make_build -C po
make -C src rundm CFLAGS="$RPM_OPT_FLAGS"
%install
%__install -pD -m755 src/rundm $RPM_BUILD_ROOT%_sbindir/rundm
%__mkdir_p $RPM_BUILD_ROOT%_sysconfdir/X11/wmsession.d
%__cp -av install/* $RPM_BUILD_ROOT/
%make_install install -C po
%find_lang xrootwarn
%post
if [ $1 -eq 1 ]; then
/sbin/chkconfig --add dm
/sbin/chkconfig --add update_wms
fi
if %__grep -qs '^x:5:' /etc/inittab; then
/sbin/chkconfig --add dm
%__subst 's/^x:5:/#x:5:/' /etc/inittab
fi
%update_wms
%preun
if [ $1 -eq 0 ]; then
/sbin/chkconfig --del dm
/sbin/chkconfig --del update_wms
fi
%triggerpostun -- initscripts < 1:5.49.1-alt1
/sbin/chkconfig --add dm
/sbin/chkconfig --add update_wms
%triggerpostun -- xinitrc < 0:2.4.13-alt1
/sbin/chkconfig --add update_wms
%files -f xrootwarn.lang
%_sbindir/*
%_x11bindir/*
%_sysconfdir/X11/wmsession.d
%config %_initdir/*
%config %_sysconfdir/X11/Xsession
%config %_sysconfdir/X11/prefdm
%config(noreplace) %_sysconfdir/sysconfig/*
%config(noreplace) %_sysconfdir/X11/xinit*
%config(noreplace) %_sysconfdir/X11/xdm/*
%changelog
…
Полный changelog можно просмотреть здесь