Blame SPECS/urw-fonts.spec

b0e34a
%define filippov_version 1.0.7pre44
b0e34a
%define fontdir %{_datadir}/fonts/default/Type1
b0e34a
%define catalogue /etc/X11/fontpath.d
b0e34a
b0e34a
Summary: Free versions of the 35 standard PostScript fonts.
b0e34a
Name: urw-fonts
b0e34a
Version: 2.4
b0e34a
Release: 15%{?dist}
b0e34a
Source: %{name}-%{filippov_version}.tar.bz2
b0e34a
URL: http://svn.ghostscript.com/ghostscript/tags/urw-fonts-1.0.7pre44/
b0e34a
# URW holds copyright
b0e34a
# No version specified
b0e34a
License: GPL+
b0e34a
Group: User Interface/X
b0e34a
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
b0e34a
BuildArch: noarch
b0e34a
Requires(post): fontconfig
b0e34a
Requires(post): xorg-x11-font-utils
b0e34a
Requires(postun): fontconfig
b0e34a
b0e34a
%description 
b0e34a
Free, good quality versions of the 35 standard PostScript(TM) fonts,
b0e34a
donated under the GPL by URW++ Design and Development GmbH.
b0e34a
b0e34a
Install the urw-fonts package if you need free versions of standard
b0e34a
PostScript fonts.
b0e34a
b0e34a
%prep
b0e34a
%setup -q -c
b0e34a
b0e34a
%install
b0e34a
rm -rf $RPM_BUILD_ROOT
b0e34a
b0e34a
mkdir -p $RPM_BUILD_ROOT%{fontdir}
b0e34a
install -m 0644 *.afm *.pfb $RPM_BUILD_ROOT%{fontdir}/
b0e34a
b0e34a
# Touch ghosted files
b0e34a
touch $RPM_BUILD_ROOT%{fontdir}/{fonts.{dir,scale,cache-1},encodings.dir}
b0e34a
b0e34a
# Install catalogue symlink
b0e34a
mkdir -p $RPM_BUILD_ROOT%{catalogue}
b0e34a
ln -sf %{fontdir} $RPM_BUILD_ROOT%{catalogue}/fonts-default
b0e34a
b0e34a
%post
b0e34a
{
b0e34a
   umask 133
b0e34a
   mkfontscale %{fontdir} || :
b0e34a
   mkfontdir %{fontdir} || :
b0e34a
   fc-cache %{_datadir}/fonts
b0e34a
} &> /dev/null || :
b0e34a
b0e34a
%postun
b0e34a
{
b0e34a
   if [ "$1" = "0" ]; then
b0e34a
      fc-cache %{_datadir}/fonts
b0e34a
   fi
b0e34a
} &> /dev/null || :
b0e34a
b0e34a
%clean
b0e34a
rm -rf $RPM_BUILD_ROOT
b0e34a
b0e34a
%files
b0e34a
%defattr(0644,root,root,0755)
b0e34a
%doc COPYING README README.tweaks
b0e34a
%dir %{_datadir}/fonts/default
b0e34a
%dir %{fontdir}
b0e34a
%{catalogue}/fonts-default
b0e34a
%ghost %verify(not md5 size mtime) %{fontdir}/fonts.dir
b0e34a
%ghost %verify(not md5 size mtime) %{fontdir}/fonts.scale
b0e34a
%ghost %verify(not md5 size mtime) %{fontdir}/fonts.cache-1
b0e34a
%ghost %verify(not md5 size mtime) %{fontdir}/encodings.dir
b0e34a
%{fontdir}/*.afm
b0e34a
%{fontdir}/*.pfb
b0e34a
b0e34a
%changelog
b0e34a
* Thu May  2 2013 Tom Callaway <spot@fedoraproject.org> - 2.4-15
b0e34a
- simplify post scriptlet a bit, don't drop output to /dev/null for debugging purposes
b0e34a
b0e34a
* Tue Feb 26 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 2.4-14
b0e34a
- Added Requires(post): xorg-x11-font-utils (BZ #478786).
b0e34a
b0e34a
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-13
b0e34a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b0e34a
b0e34a
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-12
b0e34a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b0e34a
b0e34a
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-11
b0e34a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b0e34a
b0e34a
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-10
b0e34a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b0e34a
b0e34a
* Tue Oct 27 2009 Than Ngo <than@redhat.com> - 2.4-9
b0e34a
- fix #77314, invalid URL
b0e34a
b0e34a
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-8
b0e34a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b0e34a
b0e34a
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-7
b0e34a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b0e34a
b0e34a
* Mon Sep  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.4-6
b0e34a
- fix license tag
b0e34a
b0e34a
* Mon Feb 11 2008 Than Ngo <than@redhat.com> 2.4-5
b0e34a
- fix description
b0e34a
b0e34a
* Wed Jan 09 2008 Than Ngo <than@redhat.com> 2.4-4
b0e34a
- fix release conflict with f8
b0e34a
b0e34a
* Tue Jan 08 2008 Than Ngo <than@redhat.com> 2.4-2
b0e34a
- update to 1.0.7pre44
b0e34a
- fix #426245, removes two broken lines (two invalid glyph names)
b0e34a
b0e34a
* Fri Aug 10 2007 Than Ngo <than@redhat.com> - 2.4-1
b0e34a
- update to 1.0.7pre43, changed Roman glyphs in all fonts back
b0e34a
  to original metrics. bz#243180, bz#138896, bz#140584
b0e34a
- cleanup BR, bz#227297
b0e34a
- drop chkfontpath dependency and use the catalogue font path mechanism
b0e34a
b0e34a
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.3-6.1.1
b0e34a
- rebuild
b0e34a
b0e34a
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
b0e34a
- rebuilt for new gcj
b0e34a
b0e34a
* Thu Nov 17 2005 Warren Togami <wtogami@redhat.com> 2.3-6
b0e34a
- post and postun on reqs
b0e34a
b0e34a
* Thu Nov 17 2005 Than Ngo <than@redhat.com> 2.3-5
b0e34a
- fix the mkfontdir issue for modular X
b0e34a
- remove unneeded -e option from mkfontdir
b0e34a
- add Prereq on mkfontdir
b0e34a
b0e34a
* Thu Nov 17 2005 Warren Togami <wtogami@redhat.com> 2.3-4
b0e34a
- req mkfontdir
b0e34a
- better way to run mkfontdir
b0e34a
b0e34a
* Thu Nov 17 2005 Than Ngo <than@redhat.com> 2.3-3 
b0e34a
- fix mkfontdir macro for modular X
b0e34a
 
b0e34a
* Mon Nov  7 2005 Jeremy Katz <katzj@redhat.com> - 2.3-2
b0e34a
- require (virtual) mkfontscale instead of path to handle 
b0e34a
  modular xorg (#172562)
b0e34a
b0e34a
* Mon Apr 04 2005 Than Ngo <than@redhat.com> 2.3-1
b0e34a
- Bump for update to 1.0.7pre40
b0e34a
b0e34a
* Thu Feb 24 2005 Than Ngo <than@redhat.com> 2.2-8
b0e34a
- update to 1.0.7pre40
b0e34a
b0e34a
* Thu Feb 24 2005 Than Ngo <than@redhat.com> 2.2-7
b0e34a
- change descender/ascender in "NimbusMonL" #140584
b0e34a
b0e34a
* Tue Sep 21 2004 Than Ngo <than@redhat.com> 2.2-6
b0e34a
- rebuilt
b0e34a
b0e34a
* Mon Sep 06 2004 Than Ngo <than@redhat.com> 2.2-5
b0e34a
- remove fonts, which included in new upstream
b0e34a
b0e34a
* Mon Sep 06 2004 Than Ngo <than@redhat.com> 2.2-4
b0e34a
- update to 1.0.7pre38
b0e34a
b0e34a
* Fri Sep 03 2004 Than Ngo <than@redhat.com> 2.2-3
b0e34a
- own %%{_datadir}/fonts/default #131648
b0e34a
b0e34a
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
b0e34a
- rebuilt
b0e34a
b0e34a
* Tue May 11 2004 Than Ngo <than@redhat.com> 2.2-1
b0e34a
- Upgrade to upstream version 1.0.7pre26, bug #122500
b0e34a
- drop NimbusRomNo9L-Medi* fonts that are included in pre26
b0e34a
b0e34a
* Thu Apr 15 2004 Than Ngo <than@redhat.com> 2.1-7
b0e34a
- fixed bug #119844
b0e34a
b0e34a
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
b0e34a
- rebuilt
b0e34a
b0e34a
* Fri Aug 29 2003 Owen Taylor <otaylor@redhat.com> 2.1-5.0
b0e34a
- Add MediItal variant with fixed weight and some of the
b0e34a
  missing baseline hints (for u,t)
b0e34a
b0e34a
* Mon Jul 21 2003 Owen Taylor <otaylor@redhat.com> 2.1-4.1
b0e34a
- Bump for rebuild
b0e34a
b0e34a
* Mon Jul 21 2003 Owen Taylor <otaylor@redhat.com> 2.1-4.0
b0e34a
- Replace the regular not italic bold font with the fixed copy
b0e34a
b0e34a
* Wed Jul  9 2003 Owen Taylor <otaylor@redhat.com> 2.1-3.1
b0e34a
- Bump for rebuild
b0e34a
b0e34a
* Wed Jul  9 2003 Owen Taylor <otaylor@redhat.com> 2.1-3
b0e34a
- Add some obvious missing hints that were resulting in 
b0e34a
  very uneven baselines (#97271)
b0e34a
b0e34a
* Fri Jun 20 2003 Than Ngo <than@redhat.com> 2.1-2
b0e34a
- fix Weight in Nimbus Roman No 9 L (bug #97683)
b0e34a
b0e34a
* Tue Jun 10 2003 Owen Taylor <otaylor@redhat.com> 2.1-1
b0e34a
- Upgrade to upstream version 1.0.7pre22
b0e34a
- Massive cleanups to fonts.dir/fonts.scale handling (use mkfontscale
b0e34a
  instead of fonts.scale from the package, etc.)
b0e34a
b0e34a
* Wed Jan 29 2003 Than Ngo 2.0-29
b0e34a
- rebuild
b0e34a
b0e34a
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
b0e34a
- rebuilt
b0e34a
b0e34a
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 2.0-27
b0e34a
- rebuild 
b0e34a
b0e34a
* Fri Aug 30 2002 Alexander Larsson <alexl@redhat.com> 2.0-26
b0e34a
- Call fc-cache from %%post, prereq fontconfig
b0e34a
b0e34a
* Fri Jul 12 2002 Owen Taylor <otaylor@redhat.com>
b0e34a
- Didn't revert back far enough to fix hints last time; try again.
b0e34a
b0e34a
* Wed Jul 10 2002 Owen Taylor <otaylor@redhat.com>
b0e34a
- Fix packaging error that lost most of the fonts
b0e34a
b0e34a
* Mon Jul  8 2002 Owen Taylor <otaylor@redhat.com>
b0e34a
- Go back to 1.0 URW/cyrillic version to avoid hinting problems
b0e34a
b0e34a
* Tue Jun 25 2002 Owen Taylor <otaylor@redhat.com>
b0e34a
- Newer upstream version
b0e34a
- Fix accidental revert of urw-fontspecific => adobe-fontspecific change
b0e34a
- Tweak hints in "Nimbus Sans Regular L" a bit.
b0e34a
b0e34a
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
b0e34a
- automated rebuild
b0e34a
b0e34a
* Wed Jun 12 2002 Than Ngo <than@redhat.com> 2.0-19
b0e34a
- update urw fonts
b0e34a
- add missing ZapfDingbats font (bug #65101, #65523)
b0e34a
- fixed metric troubles (bug #65522)
b0e34a
b0e34a
* Thu May 23 2002 Tim Powers <timp@redhat.com>
b0e34a
- automated rebuild
b0e34a
b0e34a
* Tue Feb 26 2002 Than Ngo <than@redhat.com> 2.0-17
b0e34a
- rebuild
b0e34a
b0e34a
* Tue Jan 22 2002 Preston Brown <pbrown@redhat.com>
b0e34a
- use adobe-fontspecific instead of urw-fontspecific encoding name for 
b0e34a
  symbol font.  Fixes some java issues.
b0e34a
b0e34a
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
b0e34a
- automated rebuild
b0e34a
b0e34a
* Thu Dec 13 2001 Than Ngo <than@redhat.com> 2.0-14
b0e34a
- fixed bug #57306
b0e34a
b0e34a
* Wed Sep 26 2001 Than Ngo <than@redhat.com> 2.0-13
b0e34a
- Added new fonts with cyrrilic glyphs
b0e34a
  from ftp://ftp.gnome.ru/fonts/urw/ (bug #52772)
b0e34a
 
b0e34a
* Thu Nov 16 2000 Than Ngo <than@redhat.com>
b0e34a
- zapf dingbats font works now, fixed (Bug #20352)
b0e34a
b0e34a
* Mon Oct 16 2000 Than Ngo <than@redhat.com>
b0e34a
- added font aliases (Bug #17586)
b0e34a
- added missing fonts.alias
b0e34a
b0e34a
* Wed Aug 30 2000 Preston Brown <pbrown@redhat.com>
b0e34a
- enable latin2 encoding
b0e34a
- alias the Nimbus/Courier font to be monospaced
b0e34a
- include a Fontmap
b0e34a
b0e34a
* Fri Jul 14 2000 Preston Brown <pbrown@redhat.com>
b0e34a
- renamed fonts from URW names to Adobe names for better compatibility
b0e34a
b0e34a
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
b0e34a
- automatic rebuild
b0e34a
b0e34a
* Sun Jul 09 2000 Than Ngo <than@redhat.de>
b0e34a
- update gnu-gs-fonts-std-6.0
b0e34a
- fix Url
b0e34a
b0e34a
* Sat May 27 2000 Ngo Than <than@redhat.de>
b0e34a
- rebuild for 7.0
b0e34a
b0e34a
* Wed Mar 08 2000 Preston Brown <pbrown@redhat.com> 
b0e34a
- argh! fonts.scale shouldn't have been symlinked to fonts.dir.  fixed.
b0e34a
b0e34a
* Mon Feb 28 2000 Preston Brown <pbrown@redhat.com>
b0e34a
- noreplace the fonts.dir config file
b0e34a
b0e34a
* Wed Feb 16 2000 Bill Nottingham <notting@redhat.com>
b0e34a
- need .pfb files too
b0e34a
b0e34a
* Mon Feb 14 2000 Preston Brown <pbrown@redhat.com>
b0e34a
- new URW++ fonts that include extra glyphs.
b0e34a
b0e34a
* Thu Jan 13 2000 Preston Brown <pbrown@redhat.com>
b0e34a
- remove vendor tag.
b0e34a
b0e34a
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
b0e34a
- auto rebuild in the new build environment (release 8)
b0e34a
b0e34a
* Tue Mar 09 1999 Preston Brown <pbrown@redhat.com>
b0e34a
- fixed up chkfontpath stuff
b0e34a
b0e34a
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
b0e34a
- Injected new description and group.
b0e34a
b0e34a
* Mon Feb 15 1999 Preston Brown <pbrown@redhat.com>
b0e34a
- added missing fonts.dir, fonts.scale, %post, %postun using chkfontpath
b0e34a
- changed foundary from Adobe (which was a lie) to URW.
b0e34a
b0e34a
* Sat Feb 06 1999 Preston Brown <pbrown@redhat.com>
b0e34a
- fonts now live in /usr/share/fonts/default/Type1
b0e34a
b0e34a
* Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
b0e34a
- eliminated section that adds to XF86Config
b0e34a
- changed fonts to reside in /usr/share/fonts/default/URW, so they can be
b0e34a
  shared between X and Ghostscript (and other, future programs/applications)
b0e34a
b0e34a
* Fri Sep 11 1998 Preston Brown <pbrown@redhat.com>
b0e34a
- integrate adding fontdir to XF86Config
b0e34a
b0e34a
* Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com>
b0e34a
- eliminate %post output
b0e34a
b0e34a
* Wed Jul  8 1998 Jeff Johnson <jbj@redhat.com>
b0e34a
- create from Stefan Waldherr <swa@cs.cmu.edu> contrib package.