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