1 Summary: Bitstream Type1 fonts
2 Summary(pl.UTF-8): Fonty Type1 Bitstream
3 Name: xorg-font-font-bitstream-type1
8 Source0: http://xorg.freedesktop.org/releases/individual/font/font-bitstream-type1-%{version}.tar.bz2
9 # Source0-md5: 5e0c9895d69d2632e2170114f8283c11
10 URL: http://xorg.freedesktop.org/
11 BuildRequires: autoconf >= 2.57
12 BuildRequires: automake
13 BuildRequires: fontconfig
14 BuildRequires: xorg-app-mkfontdir
15 BuildRequires: xorg-app-mkfontscale
16 BuildRequires: xorg-font-font-util >= 1.2
17 BuildRequires: xorg-util-util-macros >= 1.3
18 Requires(post,postun): fontpostinst
19 Requires: %{_fontsdir}/Type1
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Bitstream Charter and Courier fonts in Type1 format.
26 %description -l pl.UTF-8
27 Fonty Bitstream Charter i Courier w formacie Type1.
30 %setup -q -n font-bitstream-type1-%{version}
39 --with-fontdir=%{_fontsdir}/Type1
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 cd $RPM_BUILD_ROOT%{_fontsdir}/Type1
53 sed -e '1d' fonts.scale > fonts.scale.bitstream
54 rm -f fonts.scale fonts.dir fonts.cache-1
56 cat > Fontmap.bitstream <<EOF
57 /Courier10PitchBT-Roman (c0419bt_.pfb) ;
58 /Courier10PitchBT-Italic (c0582bt_.pfb) ;
59 /Courier10PitchBT-Bold (c0583bt_.pfb) ;
60 /Courier10PitchBT-BoldItalic (c0611bt_.pfb) ;
61 /CharterBT-Bold (c0632bt_.pfb) ;
62 /CharterBT-BoldItalic (c0633bt_.pfb) ;
63 /CharterBT-Roman (c0648bt_.pfb) ;
64 /CharterBT-Italic (c0649bt_.pfb) ;
68 rm -rf $RPM_BUILD_ROOT
77 %defattr(644,root,root,755)
78 %doc COPYING ChangeLog README
79 %{_fontsdir}/Type1/c0*.pfb
80 %{_fontsdir}/Type1/afm/c0*.afm
81 %{_fontsdir}/Type1/fonts.scale.bitstream
82 %{_fontsdir}/Type1/Fontmap.bitstream