]>
Commit | Line | Data |
---|---|---|
fdcd0b46 | 1 | Summary: Additional ghostscript fonts |
6067c744 | 2 | Summary(pl.UTF-8): Dodatkowe fonty dla interpretera ghostscript |
fdcd0b46 | 3 | Name: ghostscript-fonts-other |
020c3d7d | 4 | Version: 6.0 |
98dfd800 | 5 | Release: 5 |
2a4c85f2 | 6 | License: GPL |
fdcd0b46 | 7 | Group: Applications/Graphics |
020c3d7d | 8 | Source0: ftp://ftp.cs.wisc.edu/ghost/gnu/fonts/gnu-gs-fonts-other-%{version}.tar.gz |
37fd4ff8 | 9 | # Source0-md5: 33457d3f37de7ef03d2eea05a9e6aa4f |
af0e3e63 JB |
10 | Source1: %{name}.Fontmap |
11 | Source2: %{name}.fonts.scale | |
020c3d7d | 12 | URL: http://www.cs.wisc.edu/~ghost/ |
af0e3e63 | 13 | BuildRequires: t1utils |
41f8c6c9 | 14 | Requires(post,postun): fontpostinst |
98dfd800 | 15 | Requires: fontpostinst |
41f8c6c9 | 16 | Requires: %{_fontsdir}/Type1 |
5c040404 | 17 | BuildArch: noarch |
a241df55 | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
3eb1585e | 19 | |
af0e3e63 JB |
20 | %define _t1fontsdir %{_fontsdir}/Type1 |
21 | %define _t1afmdir %{_t1fontsdir}/afm | |
22 | %define _t1pfmdir %{_t1fontsdir}/pfm | |
23 | ||
3eb1585e | 24 | %description |
25 | This package contains additional fonts for ghostscript. | |
26 | ||
af0e3e63 | 27 | Ghostscript is a PostScript interpreter. It can render both PostScript |
faa51ba1 | 28 | and PDF compliant files to devices which include an X window, many |
29 | printer formats (including support for color printers), and popular | |
30 | graphics file formats. | |
3eb1585e | 31 | |
a2ec3671 | 32 | %description -l pl.UTF-8 |
3eb1585e | 33 | Pakiet ten zawiera dodatkowe fonty dla interpretera ghostscript. |
34 | ||
a2ec3671 JR |
35 | Ghostcript jest interpreterem PostScriptu, języku używanego do opisu |
36 | formatu dokumentu. Ghostscript potrafi przetworzyć dokument w formacie | |
37 | PostScript i PDF na szereg postaci wyjściowych: drukarki (włączając | |
af0e3e63 | 38 | kolorowe), okno X-Window i popularne formaty graficzne. |
3eb1585e | 39 | |
40 | %prep | |
020c3d7d | 41 | %setup -q -n fonts |
3eb1585e | 42 | |
af0e3e63 | 43 | %install |
3eb1585e | 44 | rm -rf $RPM_BUILD_ROOT |
af0e3e63 | 45 | install -d $RPM_BUILD_ROOT{%{_t1fontsdir},%{_t1afmdir},%{_t1pfmdir}} |
3eb1585e | 46 | |
fa2f8de9 JB |
47 | # present in t1lib-fonts |
48 | rm -f bch* | |
49 | ||
af0e3e63 JB |
50 | install *.gsf $RPM_BUILD_ROOT%{_t1fontsdir} |
51 | install *.afm $RPM_BUILD_ROOT%{_t1afmdir} | |
52 | install *.pfm $RPM_BUILD_ROOT%{_t1pfmdir} | |
53 | ||
af0e3e63 JB |
54 | for f in *.pfa ; do |
55 | t1binary $f $RPM_BUILD_ROOT%{_t1fontsdir}/`basename $f .pfa`.pfb | |
56 | done | |
57 | ||
58 | install %{SOURCE1} $RPM_BUILD_ROOT%{_t1fontsdir}/Fontmap.%{name} | |
59 | install %{SOURCE2} $RPM_BUILD_ROOT%{_t1fontsdir}/fonts.scale.%{name} | |
60 | ||
61 | %clean | |
faa51ba1 | 62 | rm -rf $RPM_BUILD_ROOT |
a241df55 JR |
63 | |
64 | %post | |
41f8c6c9 | 65 | fontpostinst Type1 |
a241df55 JR |
66 | |
67 | %postun | |
41f8c6c9 | 68 | fontpostinst Type1 |
3eb1585e | 69 | |
70 | %files | |
71 | %defattr(644,root,root,755) | |
af0e3e63 JB |
72 | %{_t1fontsdir}/*.gsf |
73 | %{_t1fontsdir}/*.pfb | |
74 | %{_t1afmdir}/*.afm | |
75 | %{_t1pfmdir}/*.pfm | |
76 | %{_t1fontsdir}/*.%{name} |