source: projects/specs/branches/6/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

Line 
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
10Summary(ja): Ghostscript ポストスクリプト(TM) インタプリタ用のフォント
11Name: ghostscript-fonts
12Version: 5.50
13Release: 2%{?_dist_release}
14License: GPL
15Group: Applications/Publishing
16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
17URL: http://www.gnu.org/software/ghostscript/
18Source: ftp://ftp.cs.wisc.edu/pub/ghost/gnu/gs550/gnu-gs-fonts-other-%{version}.tar.gz
19Requires: ghostscript
20Requires: fontconfig
21Requires(post): xorg-x11-font-utils
22Requires(post): fontconfig
23Requires(postun): fontconfig
24BuildArch: noarch
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
46%build
47
48%install
49%__rm -rf $RPM_BUILD_ROOT
50%__mkdir_p $RPM_BUILD_ROOT%{fontdir}
51%__cp -p fonts/* $RPM_BUILD_ROOT%{fontdir}
52
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
67%clean
68%__rm -rf $RPM_BUILD_ROOT
69
70%files
71%defattr(-,root,root,-)
72%{_datadir}/fonts/default/ghostscript
73%{catalogue}/default-ghostscript
74
75%changelog
76* Sat Apr 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 5.50-2
77- added %%{catalogue}/default-ghostscript
78- fixed BuildRoot:, URL: tags
79
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.