Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37403719
en ru br
ALT Linux repos
S:0.19980806-alt1.1
5.0: 0.19980806-alt1.1
4.1: 0.19980806-alt1.1
4.0: 0.19980806-alt1

Group :: System/Fonts/Type1
RPM: fonts-type1-phonetic

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define type1dir %_datadir/fonts/type1/phonetic
%define vdate 19980806
Name: fonts-type1-phonetic
Version: 0.%vdate
Release: alt1.1

Summary: Phonetic fonts for X Window System
Summary(ru_RU.UTF-8): Фонетические шрифты для X Window System
License: distributable
Group: System/Fonts/Type1
URL: http://www.ctan.org/tex-archive/fonts/tipa/

Packager: Igor Vlasenko <viy at altlinux.ru>

Source0: tipa-type1-%vdate.tar.bz2
Source1: silipa-1.enc
Source2: fonts.dir
# TODO: for migration to 1.3
Source3: gen-fonts-alias-alt.pl

BuildArch: noarch
PreReq: fontconfig >= 2.4.2

Provides: xfonts-phonetic
Obsoletes: xfonts-phonetic
Provides: phonetic-fonts-type1
Obsoletes: phonetic-fonts-type1

%description
Collection of phonetic Type1 fonts for X Window System from TeX Live
CD distribution.
This package contains type 1 version of the Phonetic fonts of the TIPA
(Tokyo International Phonetic Alphabet) for the X Window system.  It
contains the pfb and afm files.  The installed X font has the silipa
encoding (see http://www.sil.org/computing/fonts/encore-ipa.html).

%description -l ru_RU.UTF-8
Набор фонетических шрифтов в формате Type1 для X Window System из
дистрибутива TeX Live CD.

%prep
%setup -q -n tipa-type1-%vdate
mkdir rpmdoc
cp README rpmdoc

%install
mkdir -p $RPM_BUILD_ROOT%type1dir
install -p -m644 *.pfb afm/*.afm %SOURCE1 %SOURCE2 $RPM_BUILD_ROOT%type1dir
cat > $RPM_BUILD_ROOT%type1dir/encodings.dir <<EOF
1
silipa-1 %type1dir/silipa-1.enc
EOF

ln -s fonts.dir %buildroot%type1dir/fonts.scale

mkdir -p %buildroot%_sysconfdir/X11/fontpath.d
ln -s ../../..%type1dir %buildroot%_sysconfdir/X11/fontpath.d/type1-phonetic:pri=40

%post
%_bindir/fc-cache %type1dir ||:

%triggerun -- %name <= 0.19980806-alt1
if [ -x %_sbindir/chkfontpath -a -f %_sysconfdir/X11/fs/config ]; then
%_sbindir/chkfontpath -q -r %type1dir ||:
fi

%postun
if [ "$1" = "0" ]; then
       %_bindir/fc-cache --system-only ||:
fi

%files
%_sysconfdir/X11/fontpath.d/*
%type1dir
%doc rpmdoc/*

%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