%define _prefix /usr/X11R6
Summary: XFree86 misc fonts with DOS encodings
-Summary(pl): Fonty misc z DOSowym kodowaniem
+Summary(pl): Fonty misc z DOS-owym kodowaniem
Name: XFree86-fonts-dos
Version: 4.2.0
Release: 2
Fonts were taken from XFree86.
%description -l pl
-Pakiet ten zawiera czcionki fixed z DOSowym kodowaniem.
+Pakiet ten zawiera czcionki fixed z DOS-owym kodowaniem.
Fonty zosta³y wziête z dystrybucji XFree86.
%package -n XFree86-fonts-CP737
Summary(pl): Fonty rastrowe CP737
Group: X11/XFree86
Requires(post,postun): %{_bindir}/mkfontdir
+Requires: %{_fontsdir}/misc
%description -n XFree86-fonts-CP737
This package contains fixed fonts with CP737 encoding.
Summary(pl): Fonty rastrowe CP775
Group: X11/XFree86
Requires(post,postun): %{_bindir}/mkfontdir
+Requires: %{_fontsdir}/misc
%description -n XFree86-fonts-CP775
This package contains fixed fonts with CP775 encoding.
Summary(pl): Fonty rastrowe CP850
Group: X11/XFree86
Requires(post,postun): %{_bindir}/mkfontdir
+Requires: %{_fontsdir}/misc
%description -n XFree86-fonts-CP850
This package contains fixed fonts with CP850 encoding.
Summary(pl): Fonty rastrowe CP852
Group: X11/XFree86
Requires(post,postun): %{_bindir}/mkfontdir
+Requires: %{_fontsdir}/misc
%description -n XFree86-fonts-CP852
This package contains fixed fonts with CP852 encoding.
Summary(pl): Fonty rastrowe CP855
Group: X11/XFree86
Requires(post,postun): %{_bindir}/mkfontdir
+Requires: %{_fontsdir}/misc
%description -n XFree86-fonts-CP855
This package contains fixed fonts with CP855 encoding.
Summary(pl): Fonty rastrowe CP857
Group: X11/XFree86
Requires(post,postun): %{_bindir}/mkfontdir
+Requires: %{_fontsdir}/misc
%description -n XFree86-fonts-CP857
This package contains fixed fonts with CP857 encoding.
Summary(pl): Fonty rastrowe CP860
Group: X11/XFree86
Requires(post,postun): %{_bindir}/mkfontdir
+Requires: %{_fontsdir}/misc
%description -n XFree86-fonts-CP860
This package contains fixed fonts with CP860 encoding.
Summary(pl): Fonty rastrowe CP861
Group: X11/XFree86
Requires(post,postun): %{_bindir}/mkfontdir
+Requires: %{_fontsdir}/misc
%description -n XFree86-fonts-CP861
This package contains fixed fonts with CP861 encoding.
Summary(pl): Fonty rastrowe CP862
Group: X11/XFree86
Requires(post,postun): %{_bindir}/mkfontdir
+Requires: %{_fontsdir}/misc
%description -n XFree86-fonts-CP862
This package contains fixed fonts with CP862 encoding.
Summary(pl): Fonty rastrowe CP863
Group: X11/XFree86
Requires(post,postun): %{_bindir}/mkfontdir
+Requires: %{_fontsdir}/misc
%description -n XFree86-fonts-CP863
This package contains fixed fonts with CP863 encoding.
Summary(pl): Fonty rastrowe CP864
Group: X11/XFree86
Requires(post,postun): %{_bindir}/mkfontdir
+Requires: %{_fontsdir}/misc
%description -n XFree86-fonts-CP864
This package contains fixed fonts with CP864 encoding.
Summary(pl): Fonty rastrowe CP865
Group: X11/XFree86
Requires(post,postun): %{_bindir}/mkfontdir
+Requires: %{_fontsdir}/misc
%description -n XFree86-fonts-CP865
This package contains fixed fonts with CP865 encoding.
Summary(pl): Fonty rastrowe CP866
Group: X11/XFree86
Requires(post,postun): %{_bindir}/mkfontdir
+Requires: %{_fontsdir}/misc
%description -n XFree86-fonts-CP866
This package contains fixed fonts with CP866 encoding.
Summary(pl): Fonty rastrowe CP869
Group: X11/XFree86
Requires(post,postun): %{_bindir}/mkfontdir
+Requires: %{_fontsdir}/misc
%description -n XFree86-fonts-CP869
This package contains fixed fonts with CP869 encoding.
Summary(pl): Fonty rastrowe CP874
Group: X11/XFree86
Requires(post,postun): %{_bindir}/mkfontdir
+Requires: %{_fontsdir}/misc
%description -n XFree86-fonts-CP874
This package contains fixed fonts with CP874 encoding.
Summary(pl): Fonty rastrowe Mazovia
Group: X11/XFree86
Requires(post,postun): %{_bindir}/mkfontdir
+Requires: %{_fontsdir}/misc
%description -n XFree86-fonts-Mazovia
This package contains fixed fonts with Mazovia encoding.
do
for j in 737 775 850 852 855 857 860 861 862 863 864 865 866 869 874
do
- ucs2any.pl $i map-CP$j-0 CP$j-0
+ ucs2any $i map-CP$j-0 CP$j-0
name=`basename $i .bdf`-CP$j-0
bdftopcf -t $name.bdf | gzip -9 > $name.pcf.gz
rm -f $name.bdf
done
- ucs2any.pl $i map-Mazovia-0 Mazovia-0
+ ucs2any $i map-Mazovia-0 Mazovia-0
name=`basename $i .bdf`-Mazovia-0
bdftopcf -t $name.bdf | gzip -9 > $name.pcf.gz
rm -f $name.bdf
install *.pcf.gz $RPM_BUILD_ROOT%{_fontsdir}/misc
%post -n XFree86-fonts-CP737
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%postun -n XFree86-fonts-CP737
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%post -n XFree86-fonts-CP775
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%postun -n XFree86-fonts-CP775
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%post -n XFree86-fonts-CP850
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%postun -n XFree86-fonts-CP850
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%post -n XFree86-fonts-CP852
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%postun -n XFree86-fonts-CP852
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%post -n XFree86-fonts-CP855
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%postun -n XFree86-fonts-CP855
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%post -n XFree86-fonts-CP857
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%postun -n XFree86-fonts-CP857
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%post -n XFree86-fonts-CP860
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%postun -n XFree86-fonts-CP860
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%post -n XFree86-fonts-CP861
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%postun -n XFree86-fonts-CP861
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%post -n XFree86-fonts-CP862
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%postun -n XFree86-fonts-CP862
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
-
+fontpostinst misc
%post -n XFree86-fonts-CP863
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%postun -n XFree86-fonts-CP863
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%post -n XFree86-fonts-CP864
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%postun -n XFree86-fonts-CP864
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%post -n XFree86-fonts-CP865
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%postun -n XFree86-fonts-CP865
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%post -n XFree86-fonts-CP866
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%postun -n XFree86-fonts-CP866
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%post -n XFree86-fonts-CP869
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%postun -n XFree86-fonts-CP869
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%post -n XFree86-fonts-CP874
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%postun -n XFree86-fonts-CP874
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%post -n XFree86-fonts-Mazovia
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%postun -n XFree86-fonts-Mazovia
-cd %{_fontsdir}/misc
-umask 022
-%{_bindir}/mkfontdir
+fontpostinst misc
%clean
rm -rf $RPM_BUILD_ROOT