Group :: System/Fonts/Type1
RPM: fonts-type1-xorg
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define xf86 XFree86
%define xorgold xorg-x11
%define _fontsdir %_datadir/fonts/type1
Name: fonts-type1-xorg
Version: 7.0.0
Release: alt1
Summary: Type1 fonts required by the X Window System
Group: System/Fonts/Type1
License: MIT/X11
Url: http://xorg.freedesktop.org
Source0: font-adobe-utopia-type1-1.0.1.tar.bz2
Source2: font-bitstream-type1-1.0.0.tar.bz2
Source3: font-xfree86-type1-1.0.0.tar.bz2
Source4: font-bh-type1-1.0.0.tar.bz2
Source5: font-ibm-type1-1.0.0.tar.bz2
Packager: XOrg Maintainer Team <xorg at packages.altlinux.org>
PreReq: chkfontpath
Obsoletes: %xf86-type1-fonts %xorgold-type1-fonts
Provides: %xf86-type1-fonts = 4.4
Provides: %xorgold-type1-fonts = %version-%release
BuildArch: noarch
BuildRequires: mkfontdir mkfontscale
%description
This package provides the type1 fonts that are required by the X Window System.
%prep
%setup -q -c -a2 -a3 -a4 -a5
%install
%__mkdir_p %buildroot%_fontsdir/Type1
find -name \*.pfa -o -name \*.afm | xargs cp -t %buildroot%_fontsdir/Type1
mkfontscale %buildroot%_fontsdir/Type1
mkfontdir %buildroot%_fontsdir/Type1
touch %buildroot%_fontsdir/Type1/fonts.cache-1
%post
%_sbindir/chkfontpath -q -a %_fontsdir/Type1
%postun
if [ "$1" = "0" ]; then
%_sbindir/chkfontpath -q -r %_fontsdir/Type1
fi
%files
%ghost %_fontsdir/Type1/fonts.cache-1
%_fontsdir/Type1
%changelog
…
Full changelog you can see here
%define xorgold xorg-x11
%define _fontsdir %_datadir/fonts/type1
Name: fonts-type1-xorg
Version: 7.0.0
Release: alt1
Summary: Type1 fonts required by the X Window System
Group: System/Fonts/Type1
License: MIT/X11
Url: http://xorg.freedesktop.org
Source0: font-adobe-utopia-type1-1.0.1.tar.bz2
Source2: font-bitstream-type1-1.0.0.tar.bz2
Source3: font-xfree86-type1-1.0.0.tar.bz2
Source4: font-bh-type1-1.0.0.tar.bz2
Source5: font-ibm-type1-1.0.0.tar.bz2
Packager: XOrg Maintainer Team <xorg at packages.altlinux.org>
PreReq: chkfontpath
Obsoletes: %xf86-type1-fonts %xorgold-type1-fonts
Provides: %xf86-type1-fonts = 4.4
Provides: %xorgold-type1-fonts = %version-%release
BuildArch: noarch
BuildRequires: mkfontdir mkfontscale
%description
This package provides the type1 fonts that are required by the X Window System.
%prep
%setup -q -c -a2 -a3 -a4 -a5
%install
%__mkdir_p %buildroot%_fontsdir/Type1
find -name \*.pfa -o -name \*.afm | xargs cp -t %buildroot%_fontsdir/Type1
mkfontscale %buildroot%_fontsdir/Type1
mkfontdir %buildroot%_fontsdir/Type1
touch %buildroot%_fontsdir/Type1/fonts.cache-1
%post
%_sbindir/chkfontpath -q -a %_fontsdir/Type1
%postun
if [ "$1" = "0" ]; then
%_sbindir/chkfontpath -q -r %_fontsdir/Type1
fi
%files
%ghost %_fontsdir/Type1/fonts.cache-1
%_fontsdir/Type1
%changelog
…
Full changelog you can see here