2 Summary: Free versions of the 35 standard PostScript fonts
8 Source0: ftp://ftp.gnome.ru/fonts/urw/release/urw-fonts-%{version}%{pre}.tar.bz2
9 # Source0-md5: 97ff7f315bcf36558d7f326878551ac3
10 BuildRequires: xorg-app-mkfontscale
11 Requires(post,postun): fontpostinst >= 0.1-6
12 Requires: %{_fontsdir}/Type1
13 Obsoletes: ghostscript-fonts-std
14 Provides: ghostscript-fonts-std = %{version}-%{release}
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define t1fontsdir %{_fontsdir}/Type1
19 %define t1afmdir %{t1fontsdir}/afm
22 Free, good quality versions of the 35 standard PostScript(TM) fonts,
23 donated under the GPL by URW++ Design and Development GmbH. The
24 fonts.dir file font names match the original Adobe names of the fonts
25 (e.g., Times, Helvetica, etc.).
27 Install the urw-fonts package if you need free versions of standard
34 %{_bindir}/mkfontscale .
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{t1fontsdir},%{t1afmdir}}
40 install *.pfb $RPM_BUILD_ROOT%{t1fontsdir}
41 install *.afm $RPM_BUILD_ROOT%{t1afmdir}
43 grep ".pfb" fonts.scale > $RPM_BUILD_ROOT%{t1fontsdir}/fonts.scale.urw
46 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %{t1fontsdir}/fonts.scale.urw