Sisyphus repository
Last update: 17 december 2018 | SRPMs: 18645 | Visits: 12721406
en ru br
ALT Linux repos
S:0.2-alt4

Group :: Publishing
RPM: tex-common

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: tex-common
Version: 0.2
Release: alt4
Packager: Grigory Batalov <bga at altlinux.ru>

Summary: TeX distribution common files
License: GPL
Group: Publishing
Url: http://git.altlinux.org/people/bga/packages/tex-common.git

BuildArch: noarch

Source0: texhash.trigger

%define lsr %_sysconfdir/texmf %_datadir/texmf %_datadir/texmf/doc %_cachedir/texmf
%define own %lsr %_sysconfdir/tex-fonts.d %_sysconfdir/texmf/fmt.d %_sysconfdir/texmf/language.d %_sysconfdir/texmf/updmap.d
Provides: %(for i in %own; do echo -n "$i "; done)

%description
This package contains files common for all TeX distributions

%install
mkdir -p %buildroot%_rpmlibdir
echo '# %name dirlist for %_rpmlibdir/files.req' \
>%buildroot%_rpmlibdir/%name-files.req.list
for i in %own; do
mkdir -p %buildroot$i
printf '%%s\t%%s\n' "$i" %name \
>>%buildroot%_rpmlibdir/%name-files.req.list
echo "%%dir $i"
done >files
for i in %lsr; do
mkdir -p %buildroot$i
touch "%buildroot$i/ls-R"
echo "%%ghost $i/ls-R"
done >>files

install -m755 %SOURCE0 %buildroot/%_rpmlibdir/texlive-1-texhash.filetrigger

%triggerin -- tetex-core, texlive-base-bin
texhash=%_bindir/texhash
[ -x "$texhash" ] && "$texhash" ||:

%files -f files
%_rpmlibdir/%name-files.req.list
%_rpmlibdir/*.filetrigger

%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