Summary: Adobe Utopia Type1 font Summary(pl.UTF-8): Font Type1 Adobe Utopia Name: xorg-font-font-adobe-utopia-type1 Version: 1.0.4 Release: 2 License: distributable (see COPYING) Group: Fonts Source0: http://xorg.freedesktop.org/releases/individual/font/font-adobe-utopia-type1-%{version}.tar.bz2 # Source0-md5: fcf24554c348df3c689b91596d7f9971 URL: http://xorg.freedesktop.org/ BuildRequires: autoconf >= 2.57 BuildRequires: automake BuildRequires: fontconfig BuildRequires: t1utils BuildRequires: xorg-app-mkfontdir BuildRequires: xorg-app-mkfontscale BuildRequires: xorg-font-font-util >= 1.2 BuildRequires: xorg-util-util-macros >= 1.3 Requires(post,postun): fontpostinst Requires: %{_fontsdir}/Type1 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Adobe Utopia Type1 font. %description -l pl.UTF-8 Font Type1 Adobe Utopia. %prep %setup -q -n font-adobe-utopia-type1-%{version} %build %{__aclocal} %{__autoconf} %{__automake} %configure \ --build=%{_host} \ --host=%{_host} \ --with-fontdir=%{_fontsdir}/Type1 %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT # separate *.afm, convert *.pfa to .pfb cd $RPM_BUILD_ROOT%{_fontsdir}/Type1 install -d afm mv -f *.afm afm for f in *.pfa ; do t1binary $f `basename $f .pfa`.pfb rm -f $f done sed -e '1d;s/\.pfa /.pfb /' fonts.scale > fonts.scale.adobe-utopia rm -f fonts.scale fonts.dir fonts.cache-1 cat > Fontmap.adobe-utopia <