]>
Commit | Line | Data |
---|---|---|
4fee9ffd AM |
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 | BuildArch: noarch | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %define t1fontsdir %{_fontsdir}/Type1 | |
16 | %define t1afmdir %{t1fontsdir}/afm | |
17 | ||
18 | %description | |
19 | Free, good quality versions of the 35 standard PostScript(TM) fonts, | |
20 | donated under the GPL by URW++ Design and Development GmbH. The | |
21 | fonts.dir file font names match the original Adobe names of the fonts | |
22 | (e.g., Times, Helvetica, etc.). | |
23 | ||
24 | Install the urw-fonts package if you need free versions of standard | |
25 | PostScript fonts. | |
26 | ||
27 | %prep | |
28 | %setup -q -c | |
29 | ||
30 | %build | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT{%{t1fontsdir},%{t1afmdir}} | |
35 | ||
36 | install *.pfb $RPM_BUILD_ROOT%{t1fontsdir} | |
37 | install *.afm $RPM_BUILD_ROOT%{t1afmdir} | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %post | |
43 | fontpostinst Type1 | |
44 | ||
45 | %postun | |
46 | fontpostinst Type1 | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %doc README* | |
51 | %{t1fontsdir}/*.pfb | |
52 | %{t1afmdir}/*.afm |