Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37532503
en ru br
Репозитории ALT
S:0.3.12-alt1
5.1: 0.3.6-alt2
4.1: 0.3.5-alt1
4.0: 0.3.5-alt1
3.0: 0.3.3-alt1
www.altlinux.org/Changes

Группа :: Работа с файлами
Пакет: chrooted

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

# $Id: chrooted.spec,v 1.11 2005/06/18 13:22:56 ldv Exp $

Name: chrooted
Version: 0.3.3
Release: alt1

Summary: The chrooted environment helper
License: GPL
Group: File tools
BuildArch: noarch

%define _chrootdir %_sysconfdir/chroot.d

Source: %name-%version.tar.gz

Provides: %_chrootdir
Requires: coreutils, getopt, glibc-utils, grep, sed

BuildPreReq: help2man

%description
This package is required for chroot-aware packages.

%prep
%setup -q

%build
%__subst -p 's/ at VERSION at /%version/g' -- update_chrooted
help2man -N -s8 -i update_chrooted.8.inc ./update_chrooted >update_chrooted.8

%install
%__mkdir_p $RPM_BUILD_ROOT{/sbin,%_sbindir,%_man8dir,%_chrootdir}
%__install -pm755 update_chrooted $RPM_BUILD_ROOT/sbin/
%__ln_s ../../sbin/update_chrooted $RPM_BUILD_ROOT%_sbindir/
%__install -pm755 functions $RPM_BUILD_ROOT%_chrootdir/
%__install -p -m644 update_chrooted.8 $RPM_BUILD_ROOT%_man8dir/

# Generate shell functions provides list.

(
echo '# shell functions provides list'
for f in $RPM_BUILD_ROOT%_chrootdir/*; do
[ -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%_chrootdir/.provides.sh

%post
/sbin/update_chrooted lib conf

%files
/sbin/*
%_sbindir/*
%_man8dir/*
%config %_chrootdir

%changelog

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

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