Accepting request 130134 from home:pgajdos
- prepare spec file for dropping SuSEconfig.fonts (openFATE#313536) OBS-URL: https://build.opensuse.org/request/show/130134 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript-fonts?expand=0&rev=3
This commit is contained in:
parent
ad578b7001
commit
8a17507b28
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 6 16:40:38 UTC 2012 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- prepare spec file for dropping SuSEconfig.fonts (openFATE#313536)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 28 10:40:34 CEST 2012 - jsmeix@suse.de
|
Wed Mar 28 10:40:34 CEST 2012 - jsmeix@suse.de
|
||||||
|
|
||||||
|
@ -15,8 +15,10 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: ghostscript-fonts
|
Name: ghostscript-fonts
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: fontpackages-devel
|
||||||
# t1utils is needed to convert PostScript Type 1 font program data (*.pfb)
|
# 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
|
# to PostScript (*.pfa) so that ghostscript-fonts-std-8.11.patch can be applied
|
||||||
# and afterwards back to PostScript Type 1 font program data:
|
# and afterwards back to PostScript Type 1 font program data:
|
||||||
@ -82,7 +84,6 @@ in the package ghostscript-fonts-other.
|
|||||||
|
|
||||||
%package std
|
%package std
|
||||||
Summary: Basic Fonts for Ghostscript
|
Summary: Basic Fonts for Ghostscript
|
||||||
License: GPL-2.0
|
|
||||||
Group: Productivity/Publishing/PS
|
Group: Productivity/Publishing/PS
|
||||||
PreReq: coreutils %suseconfig_fonts_prereq
|
PreReq: coreutils %suseconfig_fonts_prereq
|
||||||
|
|
||||||
@ -96,7 +97,6 @@ Incorporated, of Hamburg, Germany.
|
|||||||
|
|
||||||
%package other
|
%package other
|
||||||
Summary: Optional Fonts for Ghostscript
|
Summary: Optional Fonts for Ghostscript
|
||||||
License: GPL-2.0
|
|
||||||
Group: Productivity/Publishing/PS
|
Group: Productivity/Publishing/PS
|
||||||
# ghostscript-fonts-std contains /usr/share/ghostscript/fonts/fonts.dir
|
# ghostscript-fonts-std contains /usr/share/ghostscript/fonts/fonts.dir
|
||||||
# and /usr/share/ghostscript/fonts/fonts.scale which are needed
|
# and /usr/share/ghostscript/fonts/fonts.scale which are needed
|
||||||
@ -151,9 +151,7 @@ popd
|
|||||||
# Use traditional bash scriptlet with an explicite "exit 0" line at the end to be fail safe
|
# 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
|
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
|
||||||
%post std
|
%post std
|
||||||
if test -x sbin/conf.d/SuSEconfig.fonts
|
%reconfigure_fonts_post
|
||||||
then %run_suseconfig -m fonts
|
|
||||||
fi
|
|
||||||
if test -x sbin/conf.d/SuSEconfig.pango
|
if test -x sbin/conf.d/SuSEconfig.pango
|
||||||
then %run_suseconfig -m pango
|
then %run_suseconfig -m pango
|
||||||
fi
|
fi
|
||||||
@ -162,14 +160,38 @@ exit 0
|
|||||||
# Use traditional bash scriptlet with an explicite "exit 0" line at the end to be fail safe
|
# 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
|
# see http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
|
||||||
%postun std
|
%postun std
|
||||||
if test -x sbin/conf.d/SuSEconfig.fonts
|
%reconfigure_fonts_postun
|
||||||
then %run_suseconfig -m fonts
|
|
||||||
fi
|
|
||||||
if test -x sbin/conf.d/SuSEconfig.pango
|
if test -x sbin/conf.d/SuSEconfig.pango
|
||||||
then %run_suseconfig -m pango
|
then %run_suseconfig -m pango
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
%posttrans std
|
||||||
|
%reconfigure_fonts_posttrans
|
||||||
|
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
|
||||||
|
%post other
|
||||||
|
%reconfigure_fonts_post
|
||||||
|
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 other
|
||||||
|
%reconfigure_fonts_postun
|
||||||
|
if test -x sbin/conf.d/SuSEconfig.pango
|
||||||
|
then %run_suseconfig -m pango
|
||||||
|
fi
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
%posttrans other
|
||||||
|
%reconfigure_fonts_posttrans
|
||||||
|
exit 0
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc fonts/COPYING fonts/ChangeLog fonts/README fonts/README.tweaks fonts/TODO
|
%doc fonts/COPYING fonts/ChangeLog fonts/README fonts/README.tweaks fonts/TODO
|
||||||
|
Loading…
Reference in New Issue
Block a user