SPECS: xorg-font-font-ibm-type1.spec - 0.99.1 (X11R7.0-RC3) - use ...
qboosh
qboosh at pld-linux.org
Mon Dec 5 16:28:15 CET 2005
Author: qboosh Date: Mon Dec 5 15:28:15 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 0.99.1 (X11R7.0-RC3)
- use system fonts infrastructure
---- Files affected:
SPECS:
xorg-font-font-ibm-type1.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/xorg-font-font-ibm-type1.spec
diff -u SPECS/xorg-font-font-ibm-type1.spec:1.4 SPECS/xorg-font-font-ibm-type1.spec:1.5
--- SPECS/xorg-font-font-ibm-type1.spec:1.4 Sat Oct 22 19:59:03 2005
+++ SPECS/xorg-font-font-ibm-type1.spec Mon Dec 5 16:28:04 2005
@@ -2,21 +2,23 @@
Summary: ibm-type1 font
Summary(pl): Font ibm-type1
Name: xorg-font-font-ibm-type1
-Version: 0.99.0
-Release: 0.01
+Version: 0.99.1
+Release: 0.1
License: MIT
Group: Fonts
-Source0: http://xorg.freedesktop.org/X11R7.0-RC0/font/font-ibm-type1-%{version}.tar.bz2
-# Source0-md5: c8232bd729fde5a3245e249acbfba444
+Source0: http://xorg.freedesktop.org/releases/X11R7.0-RC3/font/font-ibm-type1-%{version}.tar.bz2
+# Source0-md5: 8c881ca1f01909222e5cbe4abe2aeea2
URL: http://xorg.freedesktop.org/
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.57
BuildRequires: automake
+BuildRequires: fontconfig
BuildRequires: pkgconfig >= 1:0.19
-BuildRequires: xorg-app-bdftopcf
+BuildRequires: t1utils
BuildRequires: xorg-app-mkfontdir
BuildRequires: xorg-app-mkfontscale
-BuildRequires: xorg-font-font-util
BuildRequires: xorg-util-util-macros
+Requires(post,postun): fontpostinst
+Requires: %{_fontsdir}/Type1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -32,7 +34,8 @@
%{__aclocal}
%{__autoconf}
%{__automake}
-%configure
+%configure \
+ --with-fontdir=%{_fontsdir}/Type1
%{__make}
@@ -42,12 +45,32 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+# separate *.afm, convert *.pfa to .pfb
+cd $RPM_BUILD_ROOT%{_fontsdir}/Type1
+install -d afm
+mv -f *.afm afm
+for f in *.pfa ; do
+ t1binary $f `basename $f .pfa`.pfb
+ rm -f $f
+done
+sed -e '1d;s/\.pfa /.pfb /' fonts.scale > fonts.scale.ibm
+rm -f fonts.scale fonts.dir fonts.cache-1
+
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+fontpostinst Type1
+
+%postun
+fontpostinst Type1
+
%files
%defattr(644,root,root,755)
-%{_libdir}/X11/fonts/Type1/*
+%doc COPYING ChangeLog
+%{_fontsdir}/Type1/*.pfb
+%{_fontsdir}/Type1/afm/*.afm
+%{_fontsdir}/Type1/fonts.scale.ibm
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -55,6 +78,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2005/12/05 15:28:04 qboosh
+- 0.99.1 (X11R7.0-RC3)
+- use system fonts infrastructure
+
Revision 1.4 2005/10/22 17:59:03 qboosh
- pkgconfig epoch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/xorg-font-font-ibm-type1.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list