]> git.pld-linux.org Git - packages/fonts-Type1-urw.git/blob - fonts-Type1-urw.spec
- pl
[packages/fonts-Type1-urw.git] / fonts-Type1-urw.spec
1 %define pre     pre43
2 Summary:        Free versions of the 35 standard PostScript fonts
3 Summary(pl.UTF-8):      Wolnodostępne wersje 35 standardowych fontów postscriptowych
4 Name:           fonts-Type1-urw
5 Version:        1.0.7
6 Release:        0.%{pre}.2
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
11 BuildRequires:  xorg-app-mkfontscale
12 Requires(post,postun):  fontpostinst >= 0.1-6
13 Requires:       %{_fontsdir}/Type1
14 Provides:       ghostscript-fonts-std
15 Obsoletes:      ghostscript-fonts-std
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
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.).
33
34 %prep
35 %setup -q -c
36
37 %build
38 %{_bindir}/mkfontscale .
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
47 grep ".pfb" fonts.scale > $RPM_BUILD_ROOT%{t1fontsdir}/fonts.scale.urw
48
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)
60 %doc README* ChangeLog
61 %{t1fontsdir}/fonts.scale.urw
62 %{t1fontsdir}/*.pfb
63 %{t1afmdir}/*.afm
This page took 0.076226 seconds and 3 git commands to generate.