From b02463198bcc29a3ee47def55ca9a6e41fae9d9b Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 23 Oct 2005 18:34:26 +0000 Subject: [PATCH] - recode Misc-Fixed.pfa to .pfb, install it in Type1 dir Changed files: LiTE.spec -> 1.2 --- LiTE.spec | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/LiTE.spec b/LiTE.spec index 5a86eef..9537ae4 100644 --- a/LiTE.spec +++ b/LiTE.spec @@ -13,6 +13,7 @@ BuildRequires: autoconf >= 2.52 BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig +BuildRequires: t1utils Requires(post,postun): /sbin/ldconfig Requires: %{_fontsdir}/TTF BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -71,16 +72,32 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +install -d $RPM_BUILD_ROOT%{_fontsdir}/Type1 +t1binary $RPM_BUILD_ROOT%{_fontsdir}/TTF/Misc-Fixed.pfa \ + $RPM_BUILD_ROOT%{_fontsdir}/Type1/Misc-Fixed.pfb +cat > $RPM_BUILD_ROOT%{_fontsdir}/Type1/fonts.scale.LiTE <