SPECS: LiTE.spec - recode Misc-Fixed.pfa to .pfb, install it in Ty...
qboosh
qboosh at pld-linux.org
Sun Oct 23 20:34:34 CEST 2005
Author: qboosh Date: Sun Oct 23 18:34:34 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- recode Misc-Fixed.pfa to .pfb, install it in Type1 dir
---- Files affected:
SPECS:
LiTE.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/LiTE.spec
diff -u SPECS/LiTE.spec:1.1 SPECS/LiTE.spec:1.2
--- SPECS/LiTE.spec:1.1 Sun Oct 23 19:47:17 2005
+++ SPECS/LiTE.spec Sun Oct 23 20:34:26 2005
@@ -14,6 +14,7 @@
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig
+BuildRequires: t1utils
Requires(post,postun): /sbin/ldconfig
Requires: %{_fontsdir}/TTF
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -72,16 +73,32 @@
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 <<EOF
+Misc-Fixed.pfb -misc-fixed-medium-r-normal--0-0-0-0-m-0-ascii-0
+Misc-Fixed.pfb -misc-fixed-medium-r-normal--0-0-0-0-m-0-iso10646-1
+Misc-Fixed.pfb -misc-fixed-medium-r-normal--0-0-0-0-m-0-iso8859-1
+EOF
+rm -f $RPM_BUILD_ROOT%{_fontsdir}/TTF/Misc-Fixed.pfa
+
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
-[ ! -x /usr/bin/fontpostinst ] || fontpostinst TTF
+if [ -x /usr/bin/fontpostinst ]; then
+ fontpostinst TTF
+ fontpostinst Type1
+fi
%postun
/sbin/ldconfig
-[ ! -x /usr/bin/fontpostinst ] || fontpostinst TTF
+if [ -x /usr/bin/fontpostinst ]; then
+ fontpostinst TTF
+ fontpostinst Type1
+fi
%files
%defattr(644,root,root,755)
@@ -91,6 +108,8 @@
%attr(755,root,root) %{_libdir}/liblite.so.*.*.*
%{_datadir}/LiTE
%{_fontsdir}/TTF/*.ttf
+%{_fontsdir}/Type1/*.pfb
+%{_fontsdir}/Type1/fonts.scale.LiTE
%files devel
%defattr(644,root,root,755)
@@ -110,5 +129,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2005/10/23 18:34:26 qboosh
+- recode Misc-Fixed.pfa to .pfb, install it in Type1 dir
+
Revision 1.1 2005/10/23 17:47:17 qboosh
- new
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/LiTE.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list