-%define _sver %(echo %{version} | tr -d .)
+%define _sver %(echo %{version} | tr -d .)
Summary: XFree86 Fonts
-Summary(pl): Fonty dla systemu XFree86
+Summary(pl): Fonty dla systemu XFree86
Name: XFree86-fonts
Version: 4.2.0
Release: 3
BuildRequires: XFree86-devel >= %{version}-0.8
BuildRequires: perl
BuildRequires: t1utils
-PreReq: /usr/X11R6/bin/mkfontdir
-PreReq: textutils
-PreReq: sed
+Requires(post): %{_bindir}/mkfontdir
+Requires(post): fileutils
+Requires(post): textutils
+Requires(post): sed
+Requires(postun): %{_bindir}/mkfontdir
+Requires(postun): fileutils
+Requires(postun): textutils
+Requires(postun): sed
Requires: %{name}-base = %{version}
Obsoletes: XFree86-latin2-fonts
BuildArch: noarch
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
Obsoletes: XFree86-75dpi-fonts
%ifarch sparc
Obsoletes: X11R6.1-75dpi-fonts
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
Obsoletes: XFree86-100dpi-fonts
%ifarch sparc
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
Obsoletes: XFree86-cyrillic-fonts
%description KOI8-R
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 100dpi-KOI8-R
KOI8-R raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 75dpi-KOI8-R
KOI8-R raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description ISO8859-1
Basic ISO-8859-1 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 100dpi-ISO8859-1
ISO-8859-1 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 75dpi-ISO8859-1
ISO-8859-1 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description ISO8859-2
Basic ISO-8859-2 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
Obsoletes: XFree86-ISO8859-2-100dpi-fonts
Obsoletes: XFree86-latin2-100dpi-fonts
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
Obsoletes: XFree86-ISO8859-2-75dpi-fonts
Obsoletes: XFree86-latin2-75dpi-fonts
Group(sl): X11/Pisave
Group(sv): X11/Typsnitt
Group(uk): X11/ûÒÉÆÔÉ
-PreReq: textutils
-PreReq: sed
-Requires: XFree86 > 3.2
+Requires(post): fileutils
+Requires(post): grep
+Requires(post): textutils
+Requires(post): sed
+Requires(postun): fileutils
+Requires(postun): grep
+Requires(postun): textutils
+Requires(postun): sed
+Requires: XFree86 > 3.2
Obsoletes: XFree86-ISO8859-2-Type1-fonts
Obsoletes: XFree86-latin2-Type1-fonts
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description ISO8859-3
Basic ISO-8859-3 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 100dpi-ISO8859-3
ISO-8859-3 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 75dpi-ISO8859-3
ISO-8859-3 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description ISO8859-4
Basic ISO-8859-4 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 100dpi-ISO8859-4
ISO-8859-4 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 75dpi-ISO8859-4
ISO-8859-4 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description ISO8859-5
Basic ISO-8859-5 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 100dpi-ISO8859-5
ISO-8859-5 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 75dpi-ISO8859-5
ISO-8859-5 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description ISO8859-6
Basic ISO-8859-6 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 100dpi-ISO8859-6
ISO-8859-6 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 75dpi-ISO8859-6
ISO-8859-6 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description ISO8859-7
Basic ISO-8859-7 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 100dpi-ISO8859-7
ISO-8859-7 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 75dpi-ISO8859-7
ISO-8859-7 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description ISO8859-8
Basic ISO-8859-8 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 100dpi-ISO8859-8
ISO-8859-8 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 75dpi-ISO8859-8
ISO-8859-8 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description ISO8859-9
Basic ISO-8859-9 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 100dpi-ISO8859-9
ISO-8859-9 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 75dpi-ISO8859-9
ISO-8859-9 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description ISO8859-10
Basic ISO-8859-10 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 100dpi-ISO8859-10
ISO-8859-10 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 75dpi-ISO8859-10
ISO-8859-10 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description ISO8859-11
Basic ISO-8859-11 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 100dpi-ISO8859-11
ISO-8859-11 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 75dpi-ISO8859-11
ISO-8859-11 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description ISO8859-12
Basic ISO-8859-12 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 100dpi-ISO8859-12
ISO-8859-12 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 75dpi-ISO8859-12
ISO-8859-12 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description ISO8859-13
Basic ISO-8859-13 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 100dpi-ISO8859-13
ISO-8859-13 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 75dpi-ISO8859-13
ISO-8859-13 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description ISO8859-14
Basic ISO-8859-14 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 100dpi-ISO8859-14
ISO-8859-14 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 75dpi-ISO8859-14
ISO-8859-14 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description ISO8859-15
Basic ISO-8859-15 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 100dpi-ISO8859-15
ISO-8859-15 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 75dpi-ISO8859-15
ISO-8859-15 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description JISX0201.1976-0
Basic JISX0201.1976-0 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 100dpi-JISX0201.1976-0
JISX0201.1976-0 raster fonts.
Group(sl): X11/XFree86
Group(sv): X11/XFree86
Group(uk): X11/XFree86
-PreReq: %{_bindir}/mkfontdir
+Requires(post): %{_bindir}/mkfontdir
+Requires(postun): %{_bindir}/mkfontdir
%description 75dpi-JISX0201.1976-0
JISX0201.1976-0 raster fonts.
rm -f fonts.scale.tmp
ln -sf fonts.scale fonts.dir
cat Fontmap.* > Fontmap 2>/dev/null
-sed 's/^.*pfb -//' %{_t1fontsdir}/fonts.dir > %{_t1fontsdir}/fonts.dir.tmp
+sed 's/^.*pfb -//' %{_t1fontsdir}/fonts.dir > %{_t1fontsdir}/fonts.dir.tmp
grep -f %{_t1fontsdir}/fonts.dir.tmp \
%{_t1fontsdir}/fonts.alias > %{_t1fontsdir}/fonts.alias.tmp
mv -f %{_t1fontsdir}/fonts.alias.tmp %{_t1fontsdir}/fonts.alias