3 # - use .pfb only (not .pfa) if possible
4 Summary: TeX EC fonts, PostScript Type1 format
5 Summary(pl.UTF-8): Fonty TeX EC w formacie PostScript Type1
6 %define short_name yandy
7 Name: tetex-fonts-type1-%{short_name}
10 License: non distributable
12 Source0: yandy-fonts.tar.bz2
15 Requires: tetex-dirs-fonts
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2 ;
22 These are Type1 renderings of the EC variants of the standard CMR
25 %description -l pl.UTF-8
26 Ten pakiet zawiera obrazy Type1 wariantów EC ze standardowej rodziny
30 %setup -q -n %{short_name}-fonts
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_datadir}/texmf/fonts/type1/%{short_name}
36 install *.pfa *.pfb $RPM_BUILD_ROOT%{_datadir}/texmf/fonts/type1/%{short_name}
39 rm -rf $RPM_BUILD_ROOT
42 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
45 [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2
48 %defattr(644,root,root,755)
50 %dir %{_datadir}/texmf/fonts/type1/%{short_name}
51 %{_datadir}/texmf/fonts/type1/%{short_name}/*.pfa
52 %{_datadir}/texmf/fonts/type1/%{short_name}/*.pfb