Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37837775
en ru br
ALT Linux repositórios
S:1.0-alt4
4.1:
+backports:1.0-alt3
4.0:
+backports:1.0-alt1.M40.1

Group :: Sistema/Fontes/True type
RPM: fonts-ttf-ms

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define fname ms
%define ttfdir %_datadir/fonts/ttf/%fname

Name: fonts-ttf-ms
Version: 1.0
Release: alt1.M40.1

Summary: Unicode True Type fonts from MS
License: free to use, but restricted (see EULA)
Group: System/Fonts/True type

Url: http://telia.dl.sourceforge.net/sourceforge/corefonts
Source0: ms_eula.htm
Source1: arial32.exe
Source2: arialb32.exe
Source3: times32.exe
Source4: courie32.exe
Source5: andale32.exe
Source6: comic32.exe
Source7: georgi32.exe
Source8: impact32.exe
Source9: trebuc32.exe
Source10: verdan32.exe
Source11: webdin32.exe
Source12: wd97vwr32.exe
Packager: Michael Shigorin <mike at altlinux.org>

BuildArch: noarch
PreReq: chkfontpath
PreReq: fontconfig > 2.3.2-alt3
PreReq: cabextract >= 0.6
BuildRequires: cabextract >= 0.6 freetype
Obsoletes: ms-ttf ms-fonts-ttf
Provides: ms-ttf ms-fonts-ttf

Summary (ru_RU.UTF-8): Unicode True Type шрифты от MS

%description
A set of Unicode True Type fonts from MS

%description -l ru_RU.UTF-8
Набор Unicode True Type шрифтов от MS

%build
cp %SOURCE0 .
cp %SOURCE1 .
cp %SOURCE2 .
cp %SOURCE3 .
cp %SOURCE4 .
cp %SOURCE5 .
cp %SOURCE6 .
cp %SOURCE7 .
cp %SOURCE8 .
cp %SOURCE9 .
cp %SOURCE10 .
cp %SOURCE11 .
cp %SOURCE12 .
for i in *32.exe ; do
%_bindir/cabextract -L $i >/dev/null 2>&1
done
%_bindir/cabextract -L viewer1.cab >/dev/null 2>&1
%_sbindir/ttmkfdir > fonts.dir

%install
install -d -m755 %buildroot%ttfdir
install -m644 *.exe  %buildroot%ttfdir
install -m644 *.ttf %buildroot%ttfdir
install -m644 *.dir %buildroot%ttfdir
touch %buildroot%ttfdir/fonts.cache-1

%post
cd %ttfdir
umask u=rwx,g=rx,o=rx
for i in *32.exe ; do
cabextract -L $i >/dev/null 2>&1
done
cabextract -L viewer1.cab >/dev/null 2>&1
rm -f *.inf *.exe *.dll *.txt
fc-cache %ttfdir ||:
%_sbindir/chkfontpath -q --add %ttfdir ||:

%postun
if [ "$1" = "0" ]; then
       %_sbindir/chkfontpath -q --remove %ttfdir ||:
fi

%files
%doc ms_eula.htm
%config (missingok) %ttfdir/*.exe
%ghost %verify (not mtime) %ttfdir/*.ttf
%ghost %ttfdir/fonts.cache-1
%ttfdir/*.dir
%dir %ttfdir

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009