%define filippov_version 1.0.7pre43 %define fontdir %{_datadir}/fonts/default/Type1 %define catalogue /etc/X11/fontpath.d Summary: Free versions of the 35 standard PostScript fonts Name: urw-fonts Version: 2.4 Release: 2%{?dist} Source: ftp://ftp.gnome.ru/fonts/urw/release/urw-fonts-%{filippov_version}.tar.bz2 URL: ftp://ftp.gnome.ru/fonts/urw/release/ License: GPLv2+ Group: User Interface/X BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: xorg-x11-font-utils %description Free good quality versions of the 35 standard PostScript(TM) fonts, donated under the GPL by URW++ Design and Development GmbH. The fonts.dir file font names match the original Adobe names of the fonts (e.g., Times, Helvetica, etc.). Install the urw-fonts package if you need free versions of standard PostScript fonts. %prep %setup -q -c %build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{fontdir} install -p -m 0644 *.afm *.pfb $RPM_BUILD_ROOT%{fontdir}/ # Create fonts.[scale|dir] /usr/bin/mkfontscale $RPM_BUILD_ROOT%{fontdir} /usr/bin/mkfontdir $RPM_BUILD_ROOT%{fontdir} # Install catalogue symlink mkdir -p $RPM_BUILD_ROOT%{catalogue} ln -sf ../../..%{fontdir} $RPM_BUILD_ROOT%{catalogue}/fonts-default %post if [ -x %{_bindir}/fc-cache ] ; then %{_bindir}/fc-cache -f %{fontdir} || : fi %postun if [ "$1" = "0" ] ; then if [ -x %{_bindir}/fc-cache ] ; then %{_bindir}/fc-cache -f %{fontdir} || : fi fi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root, -) %doc COPYING README README.tweaks %dir %{_datadir}/fonts/default %dir %{fontdir} %{catalogue}/fonts-default %{fontdir}/*.afm %{fontdir}/*.pfb %{fontdir}/fonts.dir %{fontdir}/fonts.scale %changelog * Wed Nov 28 2007 Terje Rosten - 2.4-2 - Remove req. on fontconfig - Only run fc-cache if installed - Remove mkfont* from %%post - Remove move all %%ghost files - Add xorg-x11-font-utils to buildreq - Ship correct fonts.dir and fonts.scale with pkg - Fix %%defattr - Add %%build - Preserve timestamps - Fix some rpmlint warnings - License is GPLv2+ - Simplify buildarch line * Fri Aug 10 2007 Than Ngo - 2.4-1 - update to 1.0.7pre43, changed Roman glyphs in all fonts back to original metrics. bz#243180, bz#138896, bz#140584 - cleanup BR, bz#227297 - drop chkfontpath dependency and use the catalogue font path mechanism * Wed Jul 12 2006 Jesse Keating - 2.3-6.1.1 - rebuild * Fri Dec 16 2005 Jesse Keating - rebuilt for new gcj * Thu Nov 17 2005 Warren Togami 2.3-6 - post and postun on reqs * Thu Nov 17 2005 Than Ngo 2.3-5 - fix the mkfontdir issue for modular X - remove unneeded -e option from mkfontdir - add Prereq on mkfontdir * Thu Nov 17 2005 Warren Togami 2.3-4 - req mkfontdir - better way to run mkfontdir * Thu Nov 17 2005 Than Ngo 2.3-3 - fix mkfontdir macro for modular X * Mon Nov 7 2005 Jeremy Katz - 2.3-2 - require (virtual) mkfontscale instead of path to handle modular xorg (#172562) * Mon Apr 04 2005 Than Ngo 2.3-1 - Bump for update to 1.0.7pre40 * Thu Feb 24 2005 Than Ngo 2.2-8 - update to 1.0.7pre40 * Thu Feb 24 2005 Than Ngo 2.2-7 - change descender/ascender in "NimbusMonL" #140584 * Tue Sep 21 2004 Than Ngo 2.2-6 - rebuilt * Mon Sep 06 2004 Than Ngo 2.2-5 - remove fonts, which included in new upstream * Mon Sep 06 2004 Than Ngo 2.2-4 - update to 1.0.7pre38 * Fri Sep 03 2004 Than Ngo 2.2-3 - own %%{_datadir}/fonts/default #131648 * Tue Jun 15 2004 Elliot Lee - rebuilt * Tue May 11 2004 Than Ngo 2.2-1 - Upgrade to upstream version 1.0.7pre26, bug #122500 - drop NimbusRomNo9L-Medi* fonts that are included in pre26 * Thu Apr 15 2004 Than Ngo 2.1-7 - fixed bug #119844 * Fri Feb 13 2004 Elliot Lee - rebuilt * Fri Aug 29 2003 Owen Taylor 2.1-5.0 - Add MediItal variant with fixed weight and some of the missing baseline hints (for u,t) * Mon Jul 21 2003 Owen Taylor 2.1-4.1 - Bump for rebuild * Mon Jul 21 2003 Owen Taylor 2.1-4.0 - Replace the regular not italic bold font with the fixed copy * Wed Jul 9 2003 Owen Taylor 2.1-3.1 - Bump for rebuild * Wed Jul 9 2003 Owen Taylor 2.1-3 - Add some obvious missing hints that were resulting in very uneven baselines (#97271) * Fri Jun 20 2003 Than Ngo 2.1-2 - fix Weight in Nimbus Roman No 9 L (bug #97683) * Tue Jun 10 2003 Owen Taylor 2.1-1 - Upgrade to upstream version 1.0.7pre22 - Massive cleanups to fonts.dir/fonts.scale handling (use mkfontscale instead of fonts.scale from the package, etc.) * Wed Jan 29 2003 Than Ngo 2.0-29 - rebuild * Wed Jan 22 2003 Tim Powers - rebuilt * Wed Dec 11 2002 Tim Powers 2.0-27 - rebuild * Fri Aug 30 2002 Alexander Larsson 2.0-26 - Call fc-cache from %%post, prereq fontconfig * Fri Jul 12 2002 Owen Taylor - Didn't revert back far enough to fix hints last time; try again. * Wed Jul 10 2002 Owen Taylor - Fix packaging error that lost most of the fonts * Mon Jul 8 2002 Owen Taylor - Go back to 1.0 URW/cyrillic version to avoid hinting problems * Tue Jun 25 2002 Owen Taylor - Newer upstream version - Fix accidental revert of urw-fontspecific => adobe-fontspecific change - Tweak hints in "Nimbus Sans Regular L" a bit. * Fri Jun 21 2002 Tim Powers - automated rebuild * Wed Jun 12 2002 Than Ngo 2.0-19 - update urw fonts - add missing ZapfDingbats font (bug #65101, #65523) - fixed metric troubles (bug #65522) * Thu May 23 2002 Tim Powers - automated rebuild * Tue Feb 26 2002 Than Ngo 2.0-17 - rebuild * Tue Jan 22 2002 Preston Brown - use adobe-fontspecific instead of urw-fontspecific encoding name for symbol font. Fixes some java issues. * Wed Jan 09 2002 Tim Powers - automated rebuild * Thu Dec 13 2001 Than Ngo 2.0-14 - fixed bug #57306 * Wed Sep 26 2001 Than Ngo 2.0-13 - Added new fonts with cyrrilic glyphs from ftp://ftp.gnome.ru/fonts/urw/ (bug #52772) * Thu Nov 16 2000 Than Ngo - zapf dingbats font works now, fixed (Bug #20352) * Mon Oct 16 2000 Than Ngo - added font aliases (Bug #17586) - added missing fonts.alias * Wed Aug 30 2000 Preston Brown - enable latin2 encoding - alias the Nimbus/Courier font to be monospaced - include a Fontmap * Fri Jul 14 2000 Preston Brown - renamed fonts from URW names to Adobe names for better compatibility * Thu Jul 13 2000 Prospector - automatic rebuild * Sun Jul 09 2000 Than Ngo - update gnu-gs-fonts-std-6.0 - fix Url * Sat May 27 2000 Ngo Than - rebuild for 7.0 * Wed Mar 08 2000 Preston Brown - argh! fonts.scale shouldn't have been symlinked to fonts.dir. fixed. * Mon Feb 28 2000 Preston Brown - noreplace the fonts.dir config file * Wed Feb 16 2000 Bill Nottingham - need .pfb files too * Mon Feb 14 2000 Preston Brown - new URW++ fonts that include extra glyphs. * Thu Jan 13 2000 Preston Brown - remove vendor tag. * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 8) * Tue Mar 09 1999 Preston Brown - fixed up chkfontpath stuff * Wed Feb 24 1999 Preston Brown - Injected new description and group. * Mon Feb 15 1999 Preston Brown - added missing fonts.dir, fonts.scale, %%post, %%postun using chkfontpath - changed foundary from Adobe (which was a lie) to URW. * Sat Feb 06 1999 Preston Brown - fonts now live in /usr/share/fonts/default/Type1 * Fri Nov 13 1998 Preston Brown - eliminated section that adds to XF86Config - changed fonts to reside in /usr/share/fonts/default/URW, so they can be shared between X and Ghostscript (and other, future programs/applications) * Fri Sep 11 1998 Preston Brown - integrate adding fontdir to XF86Config * Wed Aug 12 1998 Jeff Johnson - eliminate %%post output * Wed Jul 8 1998 Jeff Johnson - create from Stefan Waldherr contrib package.