]> git.pld-linux.org Git - packages/fonts-Type1-urw.git/blob - fonts-Type1-urw.spec
P/O ghostscript-fonts-std
[packages/fonts-Type1-urw.git] / fonts-Type1-urw.spec
1 %define pre     pre43
2 Summary:        Free versions of the 35 standard PostScript fonts
3 Name:           fonts-Type1-urw
4 Version:        1.0.7
5 Release:        0.%{pre}.1
6 License:        GPL
7 Group:          Fonts
8 Source0:        ftp://ftp.gnome.ru/fonts/urw/release/urw-fonts-%{version}%{pre}.tar.bz2
9 # Source0-md5:  97ff7f315bcf36558d7f326878551ac3
10 Requires(post,postun):  fontpostinst >= 0.1-6
11 Requires:       %{_fontsdir}/Type1
12 Obsoletes:      ghostscript-fonts-std
13 Provides:       ghostscript-fonts-std = %{version}-%{release}
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         t1fontsdir      %{_fontsdir}/Type1
18 %define         t1afmdir        %{t1fontsdir}/afm
19
20 %description
21 Free, good quality versions of the 35 standard PostScript(TM) fonts,
22 donated under the GPL by URW++ Design and Development GmbH. The
23 fonts.dir file font names match the original Adobe names of the fonts
24 (e.g., Times, Helvetica, etc.).
25
26 Install the urw-fonts package if you need free versions of standard
27 PostScript fonts.
28
29 %prep
30 %setup -q -c
31
32 %build
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{t1fontsdir},%{t1afmdir}}
37
38 install *.pfb $RPM_BUILD_ROOT%{t1fontsdir}
39 install *.afm $RPM_BUILD_ROOT%{t1afmdir}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %post
45 fontpostinst Type1
46
47 %postun
48 fontpostinst Type1
49
50 %files
51 %defattr(644,root,root,755)
52 %doc README*
53 %{t1fontsdir}/*.pfb
54 %{t1afmdir}/*.afm
This page took 0.054937 seconds and 3 git commands to generate.