]>
Commit | Line | Data |
---|---|---|
5b094f21 JB |
1 | Summary: GNU Unifont - Unicode bitmap font |
2 | Summary(pl.UTF-8): GNU Unifont - font bitmapowy Unicode | |
8fe1eecf | 3 | Name: unifont |
5b094f21 JB |
4 | Version: 6.3.20131020 |
5 | Release: 1 | |
6 | License: GPL v2+ with GNU font embedding exception | |
0ec7b099 | 7 | Group: Fonts |
5b094f21 JB |
8 | Source0: http://ftp.gnu.org/gnu/unifont/%{name}-%{version}/%{name}-%{version}.tar.gz |
9 | # Source0-md5: dd9523ee600c2ec4db0649075acfa671 | |
10 | URL: http://czyborra.com/unifont/ | |
9316de0f | 11 | BuildRequires: xorg-app-bdftopcf |
1cb0199c | 12 | Requires(post,postun): fontpostinst |
09c282e8 | 13 | Requires: %{_fontsdir}/misc |
8fe1eecf | 14 | BuildArch: noarch |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
5b094f21 JB |
18 | GNU Unifont is an official GNU package. It is a dual-width |
19 | (8x16/16x16) bitmap font, designed to provide coverage for all of | |
20 | Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has | |
21 | a glyph for each visible code point in the Unicode 6.3 Basic | |
22 | Multilingual Plane (Plane 0). | |
8fe1eecf | 23 | |
45624604 | 24 | %description -l pl.UTF-8 |
5b094f21 JB |
25 | GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej |
26 | szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości | |
27 | warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja | |
28 | zawiera glify dla wszystkich widocznych znaków Unicode 6.3 Basic | |
29 | Multilingual Plane (Plane 0). | |
30 | ||
31 | %package -n fonts-misc-unicode | |
32 | Summary: GNU Unifont - Unicode font in PCF format | |
33 | Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie PCF | |
34 | Group: Fonts | |
35 | Requires(post,postun): fontpostinst | |
36 | Requires: %{_fontsdir}/misc | |
37 | Obsoletes: unifont | |
38 | ||
39 | %description -n fonts-misc-unicode | |
40 | GNU Unifont is an official GNU package. It is a dual-width | |
41 | (8x16/16x16) bitmap font, designed to provide coverage for all of | |
42 | Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has | |
43 | a glyph for each visible code point in the Unicode 6.3 Basic | |
44 | Multilingual Plane (Plane 0). | |
45 | ||
46 | This package contains the font in PCF format. | |
47 | ||
48 | %description -n fonts-misc-unicode -l pl.UTF-8 | |
49 | GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej | |
50 | szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości | |
51 | warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja | |
52 | zawiera glify dla wszystkich widocznych znaków Unicode 6.3 Basic | |
53 | Multilingual Plane (Plane 0). | |
54 | ||
55 | Ten pakiet zawiera font w formacie PCF. | |
56 | ||
57 | %package -n fonts-TTF-unicode | |
58 | Summary: GNU Unifont - Unicode font in PCF format | |
59 | Summary(pl.UTF-8): GNU Unifont - font Unicode w formacie PCF | |
60 | Group: Fonts | |
61 | Requires(post,postun): fontpostinst | |
62 | Requires: %{_fontsdir}/TTF | |
63 | ||
64 | %description -n fonts-TTF-unicode | |
65 | GNU Unifont is an official GNU package. It is a dual-width | |
66 | (8x16/16x16) bitmap font, designed to provide coverage for all of | |
67 | Unicode Plane 0, the Basic Multilingual Plane (BMP). This version has | |
68 | a glyph for each visible code point in the Unicode 6.3 Basic | |
69 | Multilingual Plane (Plane 0). | |
70 | ||
71 | This package contains the font in TTF format. | |
72 | ||
73 | %description -n fonts-TTF-unicode -l pl.UTF-8 | |
74 | GNU Unifont to oficjalny pakiet GNU. Jest to font bitmapowy podwójnej | |
75 | szerokości (8x16/16x16), zaprojektowany z myślą o pokryciu całości | |
76 | warstwy Unicode Plane 0 (Basic Multilingual Plane - BMP). Ta wersja | |
77 | zawiera glify dla wszystkich widocznych znaków Unicode 6.3 Basic | |
78 | Multilingual Plane (Plane 0). | |
79 | ||
80 | Ten pakiet zawiera font w formacie TTF. | |
81 | ||
82 | %package tools | |
83 | Summary: GNU Unifont utility programs | |
84 | Summary(pl.UTF-8): Programy narzędziowe dołączone do pakietu GNU Unifont | |
85 | Group: Development/Tools | |
86 | ||
87 | %description tools | |
88 | GNU Unifont utility programs. | |
89 | ||
90 | %description tools -l pl.UTF-8 | |
91 | Programy narzędziowe dołączone do pakietu GNU Unifont. | |
8fe1eecf | 92 | |
4be14da3 | 93 | %prep |
5b094f21 | 94 | %setup -q |
4be14da3 | 95 | |
8fe1eecf | 96 | %build |
5b094f21 JB |
97 | %{__make} \ |
98 | CC="%{__cc}" \ | |
99 | CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall" \ | |
100 | LDFLAGS="%{rpmldflags}" | |
8fe1eecf | 101 | |
102 | %install | |
103 | rm -rf $RPM_BUILD_ROOT | |
4be14da3 | 104 | |
5b094f21 JB |
105 | %{__make} install \ |
106 | DESTDIR=$RPM_BUILD_ROOT \ | |
107 | USRDIR=usr \ | |
108 | PCFDEST=$RPM_BUILD_ROOT%{_fontsdir}/misc \ | |
109 | TTFDEST=$RPM_BUILD_ROOT%{_fontsdir}/TTF | |
110 | ||
111 | # source data not needed, docs packaged as %doc | |
112 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/unifont | |
8fe1eecf | 113 | |
114 | %clean | |
115 | rm -rf $RPM_BUILD_ROOT | |
116 | ||
5b094f21 | 117 | %post -n fonts-misc-unifont |
1cb0199c | 118 | fontpostinst misc |
8fe1eecf | 119 | |
5b094f21 | 120 | %postun -n fonts-misc-unifont |
1cb0199c | 121 | fontpostinst misc |
8fe1eecf | 122 | |
5b094f21 JB |
123 | %post -n fonts-TTF-unifont |
124 | fontpostinst TTF | |
125 | ||
126 | %postun -n fonts-TTF-unifont | |
127 | fontpostinst TTF | |
128 | ||
129 | %files -n fonts-misc-unifont | |
130 | %defattr(644,root,root,755) | |
131 | %doc LICENSE README TUTORIAL | |
132 | %{_fontsdir}/misc/unifont.pcf.gz | |
133 | %{_mandir}/man5/unifont.5* | |
134 | ||
135 | %files -n fonts-TTF-unifont | |
136 | %defattr(644,root,root,755) | |
137 | %{_fontsdir}/TTF/unifont.ttf | |
138 | ||
139 | %files tools | |
8fe1eecf | 140 | %defattr(644,root,root,755) |
5b094f21 JB |
141 | %attr(755,root,root) %{_bindir}/bdfimplode |
142 | %attr(755,root,root) %{_bindir}/hex2bdf | |
143 | %attr(755,root,root) %{_bindir}/hex2sfd | |
144 | %attr(755,root,root) %{_bindir}/hexbraille | |
145 | %attr(755,root,root) %{_bindir}/hexdraw | |
146 | %attr(755,root,root) %{_bindir}/hexmerge | |
147 | %attr(755,root,root) %{_bindir}/johab2ucs2 | |
148 | %attr(755,root,root) %{_bindir}/unibdf2hex | |
149 | %attr(755,root,root) %{_bindir}/unibmp2hex | |
150 | %attr(755,root,root) %{_bindir}/unicoverage | |
151 | %attr(755,root,root) %{_bindir}/unidup | |
152 | %attr(755,root,root) %{_bindir}/unifontchojung | |
153 | %attr(755,root,root) %{_bindir}/unifontksx | |
154 | %attr(755,root,root) %{_bindir}/unifontpic | |
155 | %attr(755,root,root) %{_bindir}/unigencircles | |
156 | %attr(755,root,root) %{_bindir}/unigenwidth | |
157 | %attr(755,root,root) %{_bindir}/unihex2bmp | |
158 | %attr(755,root,root) %{_bindir}/unihexgen | |
159 | %attr(755,root,root) %{_bindir}/unipagecount | |
160 | %{_mandir}/man1/bdfimplode.1* | |
161 | %{_mandir}/man1/hex2bdf.1* | |
162 | %{_mandir}/man1/hex2sfd.1* | |
163 | %{_mandir}/man1/hexbraille.1* | |
164 | %{_mandir}/man1/hexdraw.1* | |
165 | %{_mandir}/man1/hexmerge.1* | |
166 | %{_mandir}/man1/johab2ucs2.1* | |
167 | %{_mandir}/man1/unibdf2hex.1* | |
168 | %{_mandir}/man1/unibmp2hex.1* | |
169 | %{_mandir}/man1/unicoverage.1* | |
170 | %{_mandir}/man1/unidup.1* | |
171 | %{_mandir}/man1/unifontchojung.1* | |
172 | %{_mandir}/man1/unifontksx.1* | |
173 | %{_mandir}/man1/unifontpic.1* | |
174 | %{_mandir}/man1/unigencircles.1* | |
175 | %{_mandir}/man1/unigenwidth.1* | |
176 | %{_mandir}/man1/unihex2bmp.1* | |
177 | %{_mandir}/man1/unihexgen.1* | |
178 | %{_mandir}/man1/unipagecount.1* |