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