Репозитории ALT

S: | 0.8.0-alt1 |
5.1: | 0.7.4-alt1 |
4.1: | 0.7.4-alt1 |
4.0: | 0.7.4-alt1 |
+updates: | 0.7.4-alt1 |
3.0: | 0.7.0-alt1 |
Группа :: Система/Основа
Пакет: control
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# $Id: control.spec,v 1.19 2005/05/27 10:37:41 ldv Exp $
Name: control
Version: 0.7.0
Release: alt1
Summary: A set of scripts to control installed system facilities
License: GPL
Group: System/Base
BuildArch: noarch
Source: %name-%version.tar.bz2
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 $RPM_BUILD_ROOT{%_controldir,%_sbindir,%_man8dir}
%__install -p -m755 control{,-dump,-restore} $RPM_BUILD_ROOT%_sbindir/
%__install -p -m755 functions $RPM_BUILD_ROOT%_sysconfdir/control.d/
%__mkdir_p -m700 $RPM_BUILD_ROOT/var/run/control
%__install -p -m644 control{,-dump,-restore}.8 $RPM_BUILD_ROOT%_man8dir/
%__install -pD -m644 control.macros $RPM_BUILD_ROOT%_sysconfdir/rpm/macros.d/control
# Generate shell functions provides list.
(
echo '# shell functions provides list'
for f in $RPM_BUILD_ROOT%_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
) >$RPM_BUILD_ROOT%_controldir/.provides.sh
%files
%config %_sysconfdir/rpm/macros.d/control
%_sbindir/control*
%config %_sysconfdir/control.d
/var/run/control
%_man8dir/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: control
Version: 0.7.0
Release: alt1
Summary: A set of scripts to control installed system facilities
License: GPL
Group: System/Base
BuildArch: noarch
Source: %name-%version.tar.bz2
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 $RPM_BUILD_ROOT{%_controldir,%_sbindir,%_man8dir}
%__install -p -m755 control{,-dump,-restore} $RPM_BUILD_ROOT%_sbindir/
%__install -p -m755 functions $RPM_BUILD_ROOT%_sysconfdir/control.d/
%__mkdir_p -m700 $RPM_BUILD_ROOT/var/run/control
%__install -p -m644 control{,-dump,-restore}.8 $RPM_BUILD_ROOT%_man8dir/
%__install -pD -m644 control.macros $RPM_BUILD_ROOT%_sysconfdir/rpm/macros.d/control
# Generate shell functions provides list.
(
echo '# shell functions provides list'
for f in $RPM_BUILD_ROOT%_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
) >$RPM_BUILD_ROOT%_controldir/.provides.sh
%files
%config %_sysconfdir/rpm/macros.d/control
%_sbindir/control*
%config %_sysconfdir/control.d
/var/run/control
%_man8dir/*
%changelog
…
Полный changelog можно просмотреть здесь