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