- provide fonts.scale
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 14 Nov 2007 09:18:28 +0000 (09:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fonts-Type1-urw.spec -> 1.3

fonts-Type1-urw.spec

index a324ca1..e915552 100644 (file)
@@ -2,11 +2,12 @@
 Summary:       Free versions of the 35 standard PostScript fonts
 Name:          fonts-Type1-urw
 Version:       1.0.7
-Release:       0.%{pre}.1
+Release:       0.%{pre}.2
 License:       GPL
 Group:         Fonts
 Source0:       ftp://ftp.gnome.ru/fonts/urw/release/urw-fonts-%{version}%{pre}.tar.bz2
 # Source0-md5: 97ff7f315bcf36558d7f326878551ac3
+BuildRequires: xorg-app-mkfontscale
 Requires(post,postun): fontpostinst >= 0.1-6
 Requires:      %{_fontsdir}/Type1
 Obsoletes:     ghostscript-fonts-std
@@ -30,6 +31,7 @@ PostScript fonts.
 %setup -q -c
 
 %build
+%{_bindir}/mkfontscale .
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -38,6 +40,8 @@ install -d $RPM_BUILD_ROOT{%{t1fontsdir},%{t1afmdir}}
 install *.pfb $RPM_BUILD_ROOT%{t1fontsdir}
 install *.afm $RPM_BUILD_ROOT%{t1afmdir}
 
+grep ".pfb" fonts.scale > $RPM_BUILD_ROOT%{t1fontsdir}/fonts.scale.urw
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -50,5 +54,6 @@ fontpostinst Type1
 %files
 %defattr(644,root,root,755)
 %doc README*
+%{t1fontsdir}/fonts.scale.urw
 %{t1fontsdir}/*.pfb
 %{t1afmdir}/*.afm
This page took 0.026872 seconds and 4 git commands to generate.