]>
Commit | Line | Data |
---|---|---|
4fee9ffd AM |
1 | %define pre pre43 |
2 | Summary: Free versions of the 35 standard PostScript fonts | |
c5b6de13 | 3 | Summary(pl.UTF-8): Wolnodostępne wersje 35 standardowych fontów postscriptowych |
4fee9ffd AM |
4 | Name: fonts-Type1-urw |
5 | Version: 1.0.7 | |
94dcfa97 | 6 | Release: 0.%{pre}.2 |
4fee9ffd AM |
7 | License: GPL |
8 | Group: Fonts | |
9 | Source0: ftp://ftp.gnome.ru/fonts/urw/release/urw-fonts-%{version}%{pre}.tar.bz2 | |
10 | # Source0-md5: 97ff7f315bcf36558d7f326878551ac3 | |
94dcfa97 | 11 | BuildRequires: xorg-app-mkfontscale |
4fee9ffd AM |
12 | Requires(post,postun): fontpostinst >= 0.1-6 |
13 | Requires: %{_fontsdir}/Type1 | |
c5b6de13 | 14 | Provides: ghostscript-fonts-std |
bbd7e00a | 15 | Obsoletes: ghostscript-fonts-std |
4fee9ffd AM |
16 | BuildArch: noarch |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %define t1fontsdir %{_fontsdir}/Type1 | |
20 | %define t1afmdir %{t1fontsdir}/afm | |
21 | ||
22 | %description | |
23 | Free, good quality versions of the 35 standard PostScript(TM) fonts, | |
24 | donated under the GPL by URW++ Design and Development GmbH. The | |
25 | fonts.dir file font names match the original Adobe names of the fonts | |
26 | (e.g., Times, Helvetica, etc.). | |
27 | ||
c5b6de13 JB |
28 | %description -l pl.UTF-8 |
29 | Wolnodostępne, dobrej jakości wersje 35 standardowych fontów | |
30 | postscriptowych, wydanych na licencji GPL przez URW++ Design and | |
31 | Development GmbH. Plik fonts.dir zawiera nazwy fontów pasujące do | |
32 | oryginalnych nazw Adobe (np. Times, Helvetica itd.). | |
4fee9ffd AM |
33 | |
34 | %prep | |
35 | %setup -q -c | |
36 | ||
37 | %build | |
94dcfa97 | 38 | %{_bindir}/mkfontscale . |
4fee9ffd AM |
39 | |
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | install -d $RPM_BUILD_ROOT{%{t1fontsdir},%{t1afmdir}} | |
43 | ||
44 | install *.pfb $RPM_BUILD_ROOT%{t1fontsdir} | |
45 | install *.afm $RPM_BUILD_ROOT%{t1afmdir} | |
46 | ||
94dcfa97 AM |
47 | grep ".pfb" fonts.scale > $RPM_BUILD_ROOT%{t1fontsdir}/fonts.scale.urw |
48 | ||
4fee9ffd AM |
49 | %clean |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %post | |
53 | fontpostinst Type1 | |
54 | ||
55 | %postun | |
56 | fontpostinst Type1 | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
943fed25 | 60 | %doc README* ChangeLog |
94dcfa97 | 61 | %{t1fontsdir}/fonts.scale.urw |
4fee9ffd AM |
62 | %{t1fontsdir}/*.pfb |
63 | %{t1afmdir}/*.afm |