source: projects/specs/trunk/g/ghostscript-fonts/ghostscript-fonts-vl.spec @ 3503

Revision 3503, 3.4 KB checked in by munepi, 13 years ago (diff)

updated semi-vl.spec, psutils-vl.spec, urw-fonts-vl.spec, ghostscript-fonts-vl.spec

RevLine 
[3503]1%define fontdir %{_datadir}/fonts/default/ghostscript
2%define catalogue %{_sysconfdir}/X11/fontpath.d
3
4# font manipulation macro
5%define __mkfontscale   umask 133;%{_bindir}/mkfontscale
6%define __mkfontdir     umask 133;%{_bindir}/mkfontdir
7%define __fccache       umask 133;which fc-cache &> /dev/null && fc-cache
8
9Summary: Fonts for the Ghostscript PostScript(TM) interpreter
[521]10Summary(ja): Ghostscript ポストスクリプト(TM) インタプリタ用のフォント
11Name: ghostscript-fonts
12Version: 5.50
[3503]13Release: 2%{?_dist_release}
[521]14License: GPL
15Group: Applications/Publishing
[3503]16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
17URL: http://www.gnu.org/software/ghostscript/
[521]18Source: ftp://ftp.cs.wisc.edu/pub/ghost/gnu/gs550/gnu-gs-fonts-other-%{version}.tar.gz
19Requires: ghostscript
[3503]20Requires: fontconfig
21Requires(post): xorg-x11-font-utils
22Requires(post): fontconfig
23Requires(postun): fontconfig
24BuildArch: noarch
[521]25
26%description
27Ghostscript-fonts contains a set of fonts that Ghostscript, a
28PostScript interpreter, uses to render text. These fonts are in
29addition to the fonts shared by Ghostscript and the X Window System.
30
31You'll need to install ghostscript-fonts if you're installing
32ghostscript.
33
34%description -l ja
35ghostscript-fonts には Ghostscripts ポストスクリプトインタプリタ
36でテキストをレンダリングするために必要なフォント一式が含まれてい
37ます。このフォントは Ghostscript と X ウィンドウシステムの両方で
38利用されます。
39
40ghostscript をインストールする場合は ghostscript-fonts もインス
41トールする必要があります。
42
43%prep
44%setup -q -c ghostscript-fonts-%{version}
45
[3503]46%build
47
[521]48%install
[3503]49%__rm -rf $RPM_BUILD_ROOT
50%__mkdir_p $RPM_BUILD_ROOT%{fontdir}
51%__cp -p fonts/* $RPM_BUILD_ROOT%{fontdir}
[521]52
[3503]53# Install catalogue symlink
54%__mkdir_p $RPM_BUILD_ROOT%{catalogue}
55%__ln_s -f %{fontdir} $RPM_BUILD_ROOT%{catalogue}/default-ghostscript
56
57%post
58%{__mkfontscale} %{fontdir} ||:
59%{__mkfontdir} %{fontdir} ||:
60%{__fccache} %{_datadir}/fonts ||:
61
62%postun
63if [ "$1" = "0" ]; then
64   %{__fccache} %{_datadir}/fonts ||:
65fi
66
[521]67%clean
[3503]68%__rm -rf $RPM_BUILD_ROOT
[521]69
70%files
71%defattr(-,root,root,-)
72%{_datadir}/fonts/default/ghostscript
[3503]73%{catalogue}/default-ghostscript
[521]74
75%changelog
[3503]76* Sat Apr 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 5.50-2
77- added %%{catalogue}/default-ghostscript
78- fixed BuildRoot:, URL: tags
79
[521]80* Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 5.50-1vl5
81- applied new versioning policy, spec in utf-8
82
83* Wed Sep 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 5.50-1vl2
84- rebuild to add gpg sign
85- add Japanese summary and description.
86
87* Mon Feb 18 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 5.50-1vl1
88- just rebuild with Vine Linux
89
90* Mon Feb 14 2000 Bernhard Rosenkraenzer <bero@redhat.com>
91- 5.50
92
93* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
94- auto rebuild in the new build environment (release 3)
95
96* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
97- Injected new description and group.
98
99* Wed Jan 13 1999 Preston Brown <pbrown@redhat.com>
100- renamed package to be consistent with new ghostscript.
101
102* Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
103- removed the std fonts...now shared between X11 and gs with URW fonts pkg.
104
105* Thu Jul  2 1998 Jeff Johnson <jbj@redhat.com>
106- update to 4.03.
107
108* Mon May 04 1998 Erik Troan <ewt@redhat.com>
109- set the owner and group of all of the files to 0.0
110
111* Tue Sep 23 1997 Erik Troan <ewt@redhat.com>
112- made a noarch package
Note: See TracBrowser for help on using the repository browser.