Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37413008
en ru br
ALT Linux repos
S:2.0.17-alt1
5.0: 2.0.11-alt2
4.1: 2.0.11-alt2
4.0: 2.0.11-alt1
3.0: 2.0.10-alt1.3

Group :: System/Internationalization
RPM: etcskel

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: etcskel
Version: 2.0.11
Release: alt1

%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

%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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin