Accepting request 111578 from home:jsmeix
New cleaned up separated ghostscript-fonts package (bnc#735824) OBS-URL: https://build.opensuse.org/request/show/111578 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript-fonts?expand=0&rev=1
This commit is contained in:
commit
f27990fb4a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
ghostscript-fonts-other-6.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
ghostscript-fonts-other-6.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
161
ghostscript-fonts-std-8.11.patch
Normal file
161
ghostscript-fonts-std-8.11.patch
Normal file
@ -0,0 +1,161 @@
|
|||||||
|
--- n021004l.pfa.~1~ 2004-03-24 12:00:35.274859345 +0100
|
||||||
|
+++ n021004l.pfa 2004-03-24 12:02:25.536099592 +0100
|
||||||
|
@@ -21,7 +21,7 @@
|
||||||
|
/Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001-2002) readonly def
|
||||||
|
/FullName (Nimbus Roman No9 L Medium) readonly def
|
||||||
|
/FamilyName (Nimbus Roman No9 L) readonly def
|
||||||
|
- /Weight (Medium) readonly def
|
||||||
|
+ /Weight (Bold) readonly def
|
||||||
|
/FSType 0 def
|
||||||
|
/ItalicAngle 0 def
|
||||||
|
/isFixedPitch false def
|
||||||
|
--- n021024l.pfa.~1~ 2004-03-24 12:01:46.029254461 +0100
|
||||||
|
+++ n021024l.pfa 2004-03-24 12:02:47.129642326 +0100
|
||||||
|
@@ -21,7 +21,7 @@
|
||||||
|
/Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001-2002) readonly def
|
||||||
|
/FullName (Nimbus Roman No9 L Medium Italic) readonly def
|
||||||
|
/FamilyName (Nimbus Roman No9 L) readonly def
|
||||||
|
- /Weight (Medium) readonly def
|
||||||
|
+ /Weight (Bold) readonly def
|
||||||
|
/FSType 0 def
|
||||||
|
/ItalicAngle -15.3 def
|
||||||
|
/isFixedPitch false def
|
||||||
|
--- n022004l.pfa 2004-03-26 01:12:04.624871931 +0100
|
||||||
|
+++ n022004l.pfa 2004-03-26 01:10:22.160022000 +0100
|
||||||
|
@@ -24,7 +24,7 @@
|
||||||
|
/Weight (Bold) readonly def
|
||||||
|
/FSType 0 def
|
||||||
|
/ItalicAngle 0 def
|
||||||
|
- /isFixedPitch false def
|
||||||
|
+ /isFixedPitch true def
|
||||||
|
/UnderlinePosition -100 def
|
||||||
|
/UnderlineThickness 50 def
|
||||||
|
end readonly def
|
||||||
|
@@ -3747,4 +3747,4 @@
|
||||||
|
0000000000000000000000000000000000000000000000000000000000000000
|
||||||
|
0000000000000000000000000000000000000000000000000000000000000000
|
||||||
|
cleartomark
|
||||||
|
-{restore}if
|
||||||
|
\ No newline at end of file
|
||||||
|
+{restore}if
|
||||||
|
--- n022023l.pfa 2004-03-26 01:12:04.630870693 +0100
|
||||||
|
+++ n022023l.pfa 2004-03-26 01:10:54.092430000 +0100
|
||||||
|
@@ -24,7 +24,7 @@
|
||||||
|
/Weight (Regular) readonly def
|
||||||
|
/FSType 0 def
|
||||||
|
/ItalicAngle -12 def
|
||||||
|
- /isFixedPitch false def
|
||||||
|
+ /isFixedPitch true def
|
||||||
|
/UnderlinePosition -100 def
|
||||||
|
/UnderlineThickness 50 def
|
||||||
|
end readonly def
|
||||||
|
@@ -3145,4 +3145,4 @@
|
||||||
|
0000000000000000000000000000000000000000000000000000000000000000
|
||||||
|
0000000000000000000000000000000000000000000000000000000000000000
|
||||||
|
cleartomark
|
||||||
|
-{restore}if
|
||||||
|
\ No newline at end of file
|
||||||
|
+{restore}if
|
||||||
|
--- n022024l.pfa 2004-03-26 01:12:04.636869454 +0100
|
||||||
|
+++ n022024l.pfa 2004-03-26 01:11:21.153845000 +0100
|
||||||
|
@@ -24,7 +24,7 @@
|
||||||
|
/Weight (Bold) readonly def
|
||||||
|
/FSType 0 def
|
||||||
|
/ItalicAngle -12 def
|
||||||
|
- /isFixedPitch false def
|
||||||
|
+ /isFixedPitch true def
|
||||||
|
/UnderlinePosition -100 def
|
||||||
|
/UnderlineThickness 50 def
|
||||||
|
end readonly def
|
||||||
|
@@ -3554,4 +3554,4 @@
|
||||||
|
0000000000000000000000000000000000000000000000000000000000000000
|
||||||
|
0000000000000000000000000000000000000000000000000000000000000000
|
||||||
|
cleartomark
|
||||||
|
-{restore}if
|
||||||
|
\ No newline at end of file
|
||||||
|
+{restore}if
|
||||||
|
--- n022004l.afm 2002-12-25 21:40:09.000000000 +0100
|
||||||
|
+++ n022004l.afm 2005-03-18 16:10:02.000000000 +0100
|
||||||
|
@@ -7,7 +7,7 @@
|
||||||
|
Weight Bold
|
||||||
|
Notice (Copyright (URW)++,Copyright 1999 by (URW)++ Design & Development; Cyrillic glyphs aded by Valek Filippov (C) 2001-2002)
|
||||||
|
ItalicAngle 0
|
||||||
|
-IsFixedPitch false
|
||||||
|
+IsFixedPitch true
|
||||||
|
UnderlinePosition -100
|
||||||
|
UnderlineThickness 50
|
||||||
|
Version 1.06
|
||||||
|
--- n022023l.afm 2002-12-25 21:38:57.000000000 +0100
|
||||||
|
+++ n022023l.afm 2005-03-18 16:09:40.000000000 +0100
|
||||||
|
@@ -7,7 +7,7 @@
|
||||||
|
Weight Regular
|
||||||
|
Notice (Copyright (URW)++,Copyright 1999 by (URW)++ Design & Development; Cyrillic glyphs added by Valek Filippov (C) 2001)
|
||||||
|
ItalicAngle -12
|
||||||
|
-IsFixedPitch false
|
||||||
|
+IsFixedPitch true
|
||||||
|
UnderlinePosition -100
|
||||||
|
UnderlineThickness 50
|
||||||
|
Version 1.06
|
||||||
|
--- n022024l.afm 2002-12-25 21:40:33.000000000 +0100
|
||||||
|
+++ n022024l.afm 2005-03-18 16:10:25.000000000 +0100
|
||||||
|
@@ -7,7 +7,7 @@
|
||||||
|
Weight Bold
|
||||||
|
Notice (Copyright (URW)++,Copyright 1999 by (URW)++ Design & Development; Cyrillic glyphs added by Valek Filippov (C) 2001-2002)
|
||||||
|
ItalicAngle -12
|
||||||
|
-IsFixedPitch false
|
||||||
|
+IsFixedPitch true
|
||||||
|
UnderlinePosition -100
|
||||||
|
UnderlineThickness 50
|
||||||
|
Version 1.06
|
||||||
|
--- n019043l.pfa.~1~ 2008-03-06 17:23:47.000000000 +0100
|
||||||
|
+++ n019043l.pfa 2008-03-06 17:25:20.000000000 +0100
|
||||||
|
@@ -26,8 +26,8 @@
|
||||||
|
/FontInfo 10 dict dup begin
|
||||||
|
/version (1.06) readonly def
|
||||||
|
/Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001-2002) readonly def
|
||||||
|
- /FullName (Nimbus Sans L Regular Condensed) readonly def
|
||||||
|
- /FamilyName (Nimbus Sans L) readonly def
|
||||||
|
+ /FullName (Nimbus Sans L Condensed Regular) readonly def
|
||||||
|
+ /FamilyName (Nimbus Sans L Condensed) readonly def
|
||||||
|
/Weight (Regular) readonly def
|
||||||
|
/FSType 0 def
|
||||||
|
/ItalicAngle 0 def
|
||||||
|
--- n019044l.pfa.~1~ 2008-03-06 17:23:47.000000000 +0100
|
||||||
|
+++ n019044l.pfa 2008-03-06 17:26:16.000000000 +0100
|
||||||
|
@@ -26,8 +26,8 @@
|
||||||
|
/FontInfo 10 dict dup begin
|
||||||
|
/version (1.06) readonly def
|
||||||
|
/Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001) readonly def
|
||||||
|
- /FullName (Nimbus Sans L Bold Condensed) readonly def
|
||||||
|
- /FamilyName (Nimbus Sans L) readonly def
|
||||||
|
+ /FullName (Nimbus Sans L Condensed Bold) readonly def
|
||||||
|
+ /FamilyName (Nimbus Sans L Condensed) readonly def
|
||||||
|
/Weight (Bold) readonly def
|
||||||
|
/FSType 0 def
|
||||||
|
/ItalicAngle 0 def
|
||||||
|
--- n019063l.pfa.~1~ 2008-03-06 17:23:47.000000000 +0100
|
||||||
|
+++ n019063l.pfa 2008-03-06 17:27:16.000000000 +0100
|
||||||
|
@@ -26,8 +26,8 @@
|
||||||
|
/FontInfo 10 dict dup begin
|
||||||
|
/version (1.06) readonly def
|
||||||
|
/Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001) readonly def
|
||||||
|
- /FullName (Nimbus Sans L Regular Condensed Italic) readonly def
|
||||||
|
- /FamilyName (Nimbus Sans L) readonly def
|
||||||
|
+ /FullName (Nimbus Sans L Condensed Regular Italic) readonly def
|
||||||
|
+ /FamilyName (Nimbus Sans L Condensed) readonly def
|
||||||
|
/Weight (Regular) readonly def
|
||||||
|
/FSType 0 def
|
||||||
|
/ItalicAngle -9.9 def
|
||||||
|
--- n019064l.pfa.~1~ 2008-03-06 17:23:47.000000000 +0100
|
||||||
|
+++ n019064l.pfa 2008-03-06 17:28:06.000000000 +0100
|
||||||
|
@@ -19,8 +19,8 @@
|
||||||
|
/FontInfo 10 dict dup begin
|
||||||
|
/version (1.06) readonly def
|
||||||
|
/Notice (Copyright \050URW\051++,Copyright 1999 by \050URW\051++ Design & Development; Cyrillic glyphs added by Valek Filippov \050C\051 2001-2002) readonly def
|
||||||
|
- /FullName (Nimbus Sans L Bold Condensed Italic) readonly def
|
||||||
|
- /FamilyName (Nimbus Sans L) readonly def
|
||||||
|
+ /FullName (Nimbus Sans L Condensed Bold Italic) readonly def
|
||||||
|
+ /FamilyName (Nimbus Sans L Condensed) readonly def
|
||||||
|
/Weight (Bold) readonly def
|
||||||
|
/FSType 12 def
|
||||||
|
/ItalicAngle -9.9 def
|
BIN
ghostscript-fonts-std-8.11.tar.gz
(Stored with Git LFS)
Normal file
BIN
ghostscript-fonts-std-8.11.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
29
ghostscript-fonts.changes
Normal file
29
ghostscript-fonts.changes
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 28 10:40:34 CEST 2012 - jsmeix@suse.de
|
||||||
|
|
||||||
|
- Have the version the same as the current ghostscript package
|
||||||
|
(currently Ghostscript version 9.05). This versioning scheme
|
||||||
|
makes sense because this ghostscript-fonts-* packages are the
|
||||||
|
right ones for this Ghostscript version (see bnc#735824).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 27 16:57:57 CEST 2012 - jsmeix@suse.de
|
||||||
|
|
||||||
|
- ghostscript-fonts-std-8.11.patch is made by mfabian@suse.de
|
||||||
|
see https://bugzilla.novell.com/show_bug.cgi?id=suse36778
|
||||||
|
(bnc#51778).
|
||||||
|
It changes weight of "Nimbus Roman No9 L:style=Medium Italic"
|
||||||
|
and "Nimbus Roman No9 L:style=Medium" back to "Bold" instead
|
||||||
|
of "Medium".
|
||||||
|
ghostscript-fonts-std-8.11.patch must be listed as SourceNNN
|
||||||
|
because it is applied via an explicit patch call in install
|
||||||
|
section but the SUSE internal check_if_valid_source_dir tool
|
||||||
|
could abort with fatal error because it thinks this patch
|
||||||
|
is not applied
|
||||||
|
(see https://bugzilla.novell.com/show_bug.cgi?id=649207#c17).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 27 12:19:14 CEST 2012 - jsmeix@suse.de
|
||||||
|
|
||||||
|
- Initial ghostscript-fonts package.
|
||||||
|
|
339
ghostscript-fonts.spec
Normal file
339
ghostscript-fonts.spec
Normal file
@ -0,0 +1,339 @@
|
|||||||
|
#
|
||||||
|
# spec file for package ghostscript-fonts
|
||||||
|
#
|
||||||
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
Name: ghostscript-fonts
|
||||||
|
BuildArch: noarch
|
||||||
|
# t1utils is needed to convert PostScript Type 1 font program data (*.pfb)
|
||||||
|
# to PostScript (*.pfa) so that ghostscript-fonts-std-8.11.patch can be applied
|
||||||
|
# and afterwards back to PostScript Type 1 font program data:
|
||||||
|
BuildRequires: t1utils
|
||||||
|
Url: http://www.ghostscript.com/
|
||||||
|
Summary: Ghostscript's free fonts
|
||||||
|
License: GPL-2.0
|
||||||
|
Group: Productivity/Publishing/PS
|
||||||
|
# The version is the same version as the current ghostscript package.
|
||||||
|
# Reasoning: Before the Ghostscript package clean-up (see bnc#735824)
|
||||||
|
# the packages ghostscript-fonts-std and ghostscript-fonts-other
|
||||||
|
# have been sub-packages of the ghostscript-library package
|
||||||
|
# so that the ghostscript-fonts-* packages inhertited their version
|
||||||
|
# from the ghostscript-library package which has the version of Ghostscript.
|
||||||
|
# To provide the new ghostscript-fonts-* packages under a higher version
|
||||||
|
# than the old ghostscript-fonts-* sub-packages, the existing versioning scheme
|
||||||
|
# is still used here. This versioning scheme makes sense because this
|
||||||
|
# ghostscript-fonts-* packages are the right ones for this Ghostscript version:
|
||||||
|
Version: 9.05
|
||||||
|
Release: 0
|
||||||
|
# Source0...Source9 is for sources from upstream:
|
||||||
|
# URL for Source0: http://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz
|
||||||
|
Source0: ghostscript-fonts-std-8.11.tar.gz
|
||||||
|
# URL for Source1: http://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-other-6.0.tar.gz
|
||||||
|
Source1: ghostscript-fonts-other-6.0.tar.gz
|
||||||
|
# Patch0...Patch9 is for patches from upstream:
|
||||||
|
#
|
||||||
|
# Source10...Source99 is for sources from SUSE which are intended for upstream:
|
||||||
|
#
|
||||||
|
# Patch10...Patch99 is for patches from SUSE which are intended for upstream:
|
||||||
|
#
|
||||||
|
# Source100...Source999 is for sources from SUSE which are not intended for upstream:
|
||||||
|
# Source100 ghostscript-fonts-std-8.11.patch is made by mfabian@suse.de
|
||||||
|
# see https://bugzilla.novell.com/show_bug.cgi?id=suse36778 (bnc#51778).
|
||||||
|
# It changes the weight of "Nimbus Roman No9 L:style=Medium Italic" and
|
||||||
|
# "Nimbus Roman No9 L:style=Medium" back to "Bold" instead of "Medium".
|
||||||
|
# ghostscript-fonts-std-8.11.patch must be listed as SourceNNN
|
||||||
|
# because it is applied via an explicit patch call in install section
|
||||||
|
# but the SUSE internal check_if_valid_source_dir tool could abort
|
||||||
|
# with fatal error because it thinks this patch is not applied
|
||||||
|
# (see https://bugzilla.novell.com/show_bug.cgi?id=649207#c17):
|
||||||
|
Source100: ghostscript-fonts-std-8.11.patch
|
||||||
|
# Patch100...Patch999 is for patches from SUSE which are not intended for upstream:
|
||||||
|
#
|
||||||
|
# The main-package ghostscript-fonts alone is useless because it does not contain any font file.
|
||||||
|
# The font files are provided via its sub-packages. Nevertheless when a user selects only
|
||||||
|
# the main-package to be installed, he probably wants "all Ghostscript's free fonts"
|
||||||
|
# and therefore all sub-packages are recommended:
|
||||||
|
Recommends: ghostscript-fonts-std
|
||||||
|
Recommends: ghostscript-fonts-other
|
||||||
|
# Install into this non-root directory (required when norootforbuild is used):
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
Two sets of free fonts are supplied
|
||||||
|
by Ghostscript:
|
||||||
|
|
||||||
|
Basic fonts for Ghostscript
|
||||||
|
in the package ghostscript-fonts-std.
|
||||||
|
|
||||||
|
Optional Fonts for Ghostscript
|
||||||
|
in the package ghostscript-fonts-other.
|
||||||
|
|
||||||
|
%package std
|
||||||
|
Summary: Basic Fonts for Ghostscript
|
||||||
|
License: GPL-2.0
|
||||||
|
Group: Productivity/Publishing/PS
|
||||||
|
PreReq: coreutils %suseconfig_fonts_prereq
|
||||||
|
|
||||||
|
%description std
|
||||||
|
|
||||||
|
Several Type 1 basic PostScript fonts.
|
||||||
|
Times, Helvetica, Courier, Symbol, etc.
|
||||||
|
Contributed by URW++ Design and Development
|
||||||
|
Incorporated, of Hamburg, Germany.
|
||||||
|
|
||||||
|
|
||||||
|
%package other
|
||||||
|
Summary: Optional Fonts for Ghostscript
|
||||||
|
License: GPL-2.0
|
||||||
|
Group: Productivity/Publishing/PS
|
||||||
|
# ghostscript-fonts-std contains /usr/share/ghostscript/fonts/fonts.dir
|
||||||
|
# and /usr/share/ghostscript/fonts/fonts.scale which are needed
|
||||||
|
# to map Ghostscript's font files to X logical font description (XLFD),
|
||||||
|
# see the section "Using Ghostscript fonts on X Windows displays"
|
||||||
|
# in doc/Fonts.htm in the Ghostscript sources:
|
||||||
|
Requires: ghostscript-fonts-std
|
||||||
|
|
||||||
|
%description other
|
||||||
|
|
||||||
|
A miscellaneous set including Cyrillic,
|
||||||
|
kana, and fonts derived from the free
|
||||||
|
Hershey fonts, with improvements (such as
|
||||||
|
adding accented characters) by Thomas Wolff.
|
||||||
|
The Hershey-based fonts are quite different
|
||||||
|
from traditional printer or display fonts;
|
||||||
|
you can read about them in more detail in
|
||||||
|
the documentation on Hershey fonts.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
# Be quiet when unpacking and
|
||||||
|
# create directory (and change to it) before unpacking Source0 and
|
||||||
|
# additionally unpack Source1 after changing directory
|
||||||
|
%setup -q -c %{name}-%{version} -a 1
|
||||||
|
|
||||||
|
%build
|
||||||
|
# There is nothing to "make" as the sources contain plain font files.
|
||||||
|
|
||||||
|
%install
|
||||||
|
# Install the fonts into the /usr/share/ghostscript/fonts/ directory,
|
||||||
|
# see section "3.1 Fonts" in doc/Install.htm in the Ghostscript sources:
|
||||||
|
FONT_INSTALL_DIR=%{buildroot}%{_datadir}/ghostscript/fonts
|
||||||
|
install -d -m755 $FONT_INSTALL_DIR
|
||||||
|
install -m644 fonts/fonts.* $FONT_INSTALL_DIR
|
||||||
|
for S in afm gsf pfa pfb pfm
|
||||||
|
do install -m644 fonts/*.$S $FONT_INSTALL_DIR
|
||||||
|
done
|
||||||
|
# Patch the installed ghostscript-fonts-std fonts:
|
||||||
|
PATCH_FILE=$RPM_SOURCE_DIR/ghostscript-fonts-std-8.11.patch
|
||||||
|
PFA_FILES="$( grep -o '^+++ .*\.pfa' $PATCH_FILE | cut -s -d ' ' -f2 )"
|
||||||
|
pushd %{buildroot}%{_datadir}/ghostscript/fonts
|
||||||
|
for PFA in $PFA_FILES
|
||||||
|
do t1ascii ${PFA%%.*}.pfb >$PFA
|
||||||
|
done
|
||||||
|
patch -p0 -i $PATCH_FILE
|
||||||
|
for PFA in $PFA_FILES
|
||||||
|
do t1binary $PFA > ${PFA%%.*}.pfb
|
||||||
|
rm -vf $PFA
|
||||||
|
done
|
||||||
|
popd
|
||||||
|
|
||||||
|
# Use traditional bash scriptlet with an explicite "exit 0" line at the end to be fail safe
|
||||||
|
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
|
||||||
|
%post std
|
||||||
|
if test -x sbin/conf.d/SuSEconfig.fonts
|
||||||
|
then %run_suseconfig -m fonts
|
||||||
|
fi
|
||||||
|
if test -x sbin/conf.d/SuSEconfig.pango
|
||||||
|
then %run_suseconfig -m pango
|
||||||
|
fi
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
# Use traditional bash scriptlet with an explicite "exit 0" line at the end to be fail safe
|
||||||
|
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
|
||||||
|
%postun std
|
||||||
|
if test -x sbin/conf.d/SuSEconfig.fonts
|
||||||
|
then %run_suseconfig -m fonts
|
||||||
|
fi
|
||||||
|
if test -x sbin/conf.d/SuSEconfig.pango
|
||||||
|
then %run_suseconfig -m pango
|
||||||
|
fi
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%doc fonts/COPYING fonts/ChangeLog fonts/README fonts/README.tweaks fonts/TODO
|
||||||
|
|
||||||
|
%files std
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%verify(not md5 size mtime) %{_datadir}/ghostscript/fonts/fonts.*
|
||||||
|
%dir %{_datadir}/ghostscript
|
||||||
|
%dir %{_datadir}/ghostscript/fonts
|
||||||
|
%{_datadir}/ghostscript/fonts/fonts.dir
|
||||||
|
%{_datadir}/ghostscript/fonts/fonts.scale
|
||||||
|
%{_datadir}/ghostscript/fonts/a010013l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/a010015l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/a010033l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/a010035l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/b018012l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/b018015l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/b018032l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/b018035l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/c059013l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/c059016l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/c059033l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/c059036l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/d050000l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/n019003l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/n019004l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/n019023l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/n019024l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/n019043l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/n019044l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/n019063l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/n019064l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/n021003l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/n021004l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/n021023l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/n021024l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/n022003l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/n022004l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/n022023l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/n022024l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/p052003l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/p052004l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/p052023l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/p052024l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/s050000l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/z003034l.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/a010013l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/a010015l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/a010033l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/a010035l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/b018012l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/b018015l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/b018032l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/b018035l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/n019003l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/n019004l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/n019023l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/n019024l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/n019064l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/n021003l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/n021004l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/n021023l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/n021024l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/z003034l.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/a010013l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/a010015l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/a010033l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/a010035l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/b018012l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/b018015l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/b018032l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/b018035l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/c059013l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/c059016l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/c059033l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/c059036l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/d050000l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/n019003l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/n019004l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/n019023l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/n019024l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/n019043l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/n019044l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/n019063l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/n019064l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/n021003l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/n021004l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/n021023l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/n021024l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/n022003l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/n022004l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/n022023l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/n022024l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/p052003l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/p052004l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/p052023l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/p052024l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/s050000l.pfb
|
||||||
|
%{_datadir}/ghostscript/fonts/z003034l.pfb
|
||||||
|
|
||||||
|
%files other
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%dir %{_datadir}/ghostscript
|
||||||
|
%dir %{_datadir}/ghostscript/fonts
|
||||||
|
%{_datadir}/ghostscript/fonts/bchb.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/bchbi.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/bchr.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/bchri.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/fcyr.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/fcyri.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/u003043t.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/u004006t.afm
|
||||||
|
%{_datadir}/ghostscript/fonts/fcyr.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/fcyri.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/fhirw.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/fkarw.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrgerb.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrgerd.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrgero.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrgkc.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrgks.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrgrrb.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrgrro.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hritrb.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hritro.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrpldb.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrpldbi.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrplr.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrplrb.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrplrbo.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrplro.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrpls.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrplsb.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrplsbo.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrplso.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrpltb.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrpltbi.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrsccb.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrscco.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrscsb.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrscso.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/hrsyr.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/u003043t.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/u004006t.gsf
|
||||||
|
%{_datadir}/ghostscript/fonts/bchb.pfa
|
||||||
|
%{_datadir}/ghostscript/fonts/bchbi.pfa
|
||||||
|
%{_datadir}/ghostscript/fonts/bchr.pfa
|
||||||
|
%{_datadir}/ghostscript/fonts/bchri.pfa
|
||||||
|
%{_datadir}/ghostscript/fonts/hrger.pfa
|
||||||
|
%{_datadir}/ghostscript/fonts/hrgrr.pfa
|
||||||
|
%{_datadir}/ghostscript/fonts/hritr.pfa
|
||||||
|
%{_datadir}/ghostscript/fonts/hrpld.pfa
|
||||||
|
%{_datadir}/ghostscript/fonts/hrpldi.pfa
|
||||||
|
%{_datadir}/ghostscript/fonts/hrplt.pfa
|
||||||
|
%{_datadir}/ghostscript/fonts/hrplti.pfa
|
||||||
|
%{_datadir}/ghostscript/fonts/hrscc.pfa
|
||||||
|
%{_datadir}/ghostscript/fonts/hrscs.pfa
|
||||||
|
%{_datadir}/ghostscript/fonts/putb.pfa
|
||||||
|
%{_datadir}/ghostscript/fonts/putbi.pfa
|
||||||
|
%{_datadir}/ghostscript/fonts/putr.pfa
|
||||||
|
%{_datadir}/ghostscript/fonts/putri.pfa
|
||||||
|
%{_datadir}/ghostscript/fonts/fhirw.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/fkarw.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/u003043t.pfm
|
||||||
|
%{_datadir}/ghostscript/fonts/u004006t.pfm
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user