Репозиторий Sisyphus
Последнее обновление: 16 октября 2019 | Пакетов: 17499 | Посещений: 15270945
en ru br
Репозитории ALT
S:2.0.16-alt1
5.1: 2.0.12-alt1
4.1: 2.0.11-alt2
4.0: 2.0.11-alt1
3.0: 2.0.10-alt1.3
www.altlinux.org/Changes

Группа :: Система/Интернационализация
Пакет: etcskel

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

Name: etcskel
Version: 2.0.11
Release: alt2

%def_enable langify

Summary: %distribution default files for user's home directories
License: GPL
Group: System/Internationalization
Packager: Dmitry V. Levin <ldv at altlinux.org>
BuildArch: noarch

%define old_list uk uk-koi8u uk-cp1251 de ru-koi8r ru-cp1251 be be-cp1251
%define old_provides %(for i in %old_list;do echo -n "%name-$i = %version ";done)
%define old_obsoletes %(for i in %old_list;do echo -n "%name-$i ";done)

Requires: shadow-utils >= 1:4.0.0-alt6
Provides: %old_provides
Obsoletes: %old_obsoletes
Conflicts: rpm-build < 0:4.0.4-alt1, enscript < 1.6.3-alt1

# Get the source from our cvs repository.

Source: %name-%version.tar

%description
The etcskel package is part of the basic %distribution system.
These files are then placed in every user's home directory
when new accounts are created.

%prep
%setup -q

#create empty directories we cannot include to git

%__install -d common/.config
%__install -d common/.local/share
%__install -d common/.cache

%build
make

%install
make install

:>%name.locales
for f in %buildroot/etc/skel.*; do
n=${f##*/}
s=${n#skel.}
s=${s%% at *}
s=${s%%.*}
s=${s%%_*}
%if_enabled langify
l="%%lang($s) "
%else
l=
%endif #enabled langify
echo "$l%%config(noreplace) %_sysconfdir/$n" >>%name.locales
done

%files -f %name.locales
%config(noreplace) %_sysconfdir/skel

%changelog

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

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