Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1584967
 поиск   регистрация   авторизация 
 
Группа :: Система/Основа
Пакет: control

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

Name: control
Version: 0.7.4
Release: alt0.M24.1

Summary: A set of scripts to control installed system facilities
License: GPL
Group: System/Base
BuildArch: noarch
Packager: Dmitry V. Levin <ldv at altlinux.org>

Source: %name-%version.tar

Requires: %__subst

%define _controldir %_sysconfdir/control.d/facilities

%description
The scripts included in this package provide a common interface to
control system facilities provided by a number of other packages.
This is intended for use primarily by packages which are providing
a facility that can potentially be dangerous to system security,
to let you enable, disable, or configure the facility independently
from package installation.

%prep
%setup -q

%install
mkdir -p %buildroot{%_controldir,%_sbindir,%_man8dir}
install -p -m755 control{,-dump,-restore} %buildroot%_sbindir/
install -p -m755 functions %buildroot%_sysconfdir/control.d/
mkdir -p -m700 %buildroot/var/run/control
install -p -m644 control{,-dump,-restore}.8 %buildroot%_man8dir/
install -pD -m644 control.macros %buildroot%_sysconfdir/rpm/macros.d/control

# Generate shell functions provides list.

(
echo '# shell functions provides list'
for f in %buildroot%_sysconfdir/control.d/*; do
[ -f "$f" -a -x "$f" ] || continue
sed -ne 's/^\([A-Za-z][A-Za-z_0-9]*[[:space:]]*\)()$/\1/pg' "$f"
done |LC_COLLATE=C sort -u
) >%buildroot%_controldir/.provides.sh

%files
%config %_sysconfdir/rpm/macros.d/control
%_sbindir/control*
%config %_sysconfdir/control.d
/var/run/control
%_man8dir/*

%changelog

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005