]> git.pld-linux.org Git - packages/fonts-Type1-urw.git/blob - fonts-Type1-urw.spec
0f865417d15c8dc44c088883f8aca856586876d3
[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}.2
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 BuildRequires:  xorg-app-mkfontscale
11 Requires(post,postun):  fontpostinst >= 0.1-6
12 Requires:       %{_fontsdir}/Type1
13 Obsoletes:      ghostscript-fonts-std
14 Provides:       ghostscript-fonts-std = %{version}-%{release}
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         t1fontsdir      %{_fontsdir}/Type1
19 %define         t1afmdir        %{t1fontsdir}/afm
20
21 %description
22 Free, good quality versions of the 35 standard PostScript(TM) fonts,
23 donated under the GPL by URW++ Design and Development GmbH. The
24 fonts.dir file font names match the original Adobe names of the fonts
25 (e.g., Times, Helvetica, etc.).
26
27 Install the urw-fonts package if you need free versions of standard
28 PostScript fonts.
29
30 %prep
31 %setup -q -c
32
33 %build
34 %{_bindir}/mkfontscale .
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{t1fontsdir},%{t1afmdir}}
39
40 install *.pfb $RPM_BUILD_ROOT%{t1fontsdir}
41 install *.afm $RPM_BUILD_ROOT%{t1afmdir}
42
43 grep ".pfb" fonts.scale > $RPM_BUILD_ROOT%{t1fontsdir}/fonts.scale.urw
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %post
49 fontpostinst Type1
50
51 %postun
52 fontpostinst Type1
53
54 %files
55 %defattr(644,root,root,755)
56 %doc README* ChangeLog
57 %{t1fontsdir}/fonts.scale.urw
58 %{t1fontsdir}/*.pfb
59 %{t1afmdir}/*.afm
This page took 0.054583 seconds and 2 git commands to generate.