Blame SPECS/urw-fonts.spec

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