Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37042562
en ru br
Репозитории ALT
S:2.3.18-alt1
5.1: 2.3.6-alt1
4.1: 2.3.3-alt1
4.0: 2.3.2-alt1
3.0: 2.3.1-alt1
www.altlinux.org/Changes

Группа :: Система/Основа
Пакет: filesystem

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

Name: filesystem
Version: 2.3.1
Release: alt1

Summary: The basic directory layout for a GNU/Linux system
License: Public Domain
Group: System/Base

Source0: %name-dir.list
Source1: %name-link.list
Source2: %name-dir64.list

PreReq: setup

Provides: /var/empty, /var/lock/serial
Provides: /media, /proc, /srv, /sys

%description
This package is one of the basic packages that is installed on a
%distribution system.  Filesystem contains the basic directory layout
for a FHS-compatible GNU/Linux operating system, including the correct
permissions for the directories.

%prep
%setup -qcT

%build
install -p -m644 %_sourcedir/%name-dir.list list
%ifarch x86_64 ppc64
cat %_sourcedir/%name-dir64.list >>list
%endif
echo '%%defattr(-,root,root,-)' >>list
cut -d' ' -f1 <%_sourcedir/%name-link.list >>list

%install
mkdir %buildroot
cd %buildroot

cat %_sourcedir/%name-dir.list |while read attr dir name extra; do
mkdir ".$name"
done

%ifarch x86_64 ppc64
cat %_sourcedir/%name-dir64.list |while read attr dir name extra; do
mkdir ".$name"
done
%endif

cat %_sourcedir/%name-link.list |while read source target; do
%__ln_s "$target" ".$source"
done

%files -f list

%changelog

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

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