Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37890519
en ru br
Репозитории ALT

Группа :: Система/Шрифты/True type
Пакет: ms-fonts-ttf

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

%define ttfdir %_datadir/fonts/default/TrueType-ms

Name: ms-fonts-ttf
Version: 1.0
Release: alt13

Summary: Unicode True Type fonts from MS
Summary (ru_RU.UTF-8): Unicode True Type я┬я─п╦я└я┌я▀ п╬я┌ п°п╦п╨я─п╬я│п╬я└я┌
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

BuildArchitectures: noarch
PreReq: cabextract >= 0.6 chkfontpath fontconfig
BuildRequires: cabextract >= 0.6 freetype
Obsoletes: ms-ttf
Provides: ms-ttf

%description
A set of Unicode True Type fonts from MS

%description -l ru_RU.UTF-8
п²п╟п╠п╬я─ Unicode True Type я┬я─п╦я└я┌п╬п╡ п╬я┌ п°п╦п╨я─п╬я│п╬я└я┌.

%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 .
for i in *32.exe ; do
 %_bindir/cabextract -L $i >/dev/null 2>&1
done
%_sbindir/ttmkfdir > fonts.dir

%install
%__install -d $RPM_BUILD_ROOT%ttfdir
%__cp *.exe  $RPM_BUILD_ROOT%ttfdir
%__cp *.ttf $RPM_BUILD_ROOT%ttfdir
%__cp *.dir $RPM_BUILD_ROOT%ttfdir
touch $RPM_BUILD_ROOT%ttfdir/fonts.cache-1

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

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

%triggerpostun -- %name < 1.0-alt11
%_sbindir/chkfontpath -q --add %ttfdir ||:

%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

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

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