Compare commits

...
Sign in to create a new pull request.

114 commits

Author SHA1 Message Date
Fedora Release Engineering
3a5b1c53cb Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 19:12:30 +00:00
Hans Ulrich Niedermann
fa4c1b7980 The file is called OFL.TXT, not OFL.txt 2025-02-07 01:36:17 +01:00
Fedora Release Engineering
886f624cf3 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 12:37:22 +00:00
Miroslav Suchý
c65b0fa5f1 Correct SPDX license
Correction to previous automatic conversion.
2024-12-20 07:28:48 +00:00
Miroslav Suchý
bd7a2622c8 convert license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-09-04 22:20:57 +02:00
Fedora Release Engineering
e19d307bba Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 07:17:17 +00:00
Yaakov Selkowitz
49275f25ab Fix flatpak build
Some fonts do require mkfontdir/mkfontscale in %post, and therefore cannot
be assumed to be in /usr.
2024-04-16 14:07:36 -04:00
Fedora Release Engineering
bbae6b7614 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 05:50:53 +00:00
Fedora Release Engineering
26b6658129 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 03:27:22 +00:00
Zbigniew Jędrzejewski-Szmek
e3ea11666a Use a package name instead of a file dependency
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_dependencies
says
> Packages SHOULD NOT include file dependencies outside of the following directories:
> /usr/bin, /usr/sbin, /etc

and also
>  installation path macros like %{_bindir} MUST NOT be used

(Here %_exec_prefix was used indirectly.)

This is now becoming more important because dnf5 does not load filelists metadata
(i.e. metadata about paths outside of the short list) by default.
2023-02-27 12:59:07 +01:00
Fedora Release Engineering
bf41170eac Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 04:52:14 +00:00
Hans Ulrich Niedermann
ad4fc4e776 Use centered variant for tilde and improved braille variant
Apply the td1.diff patch which vertically centers the tilde '~'
character to about the vertical position of '=' or '-'.

Also improve the look of the braille characters with the
br1.diff patch.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2148727
2022-11-28 00:21:56 +01:00
Hans Ulrich Niedermann
7ace293320 Make symlink relative
Make the symlink relative which might help in chroot environments
to point to the correct place.

This will also prevent the following warning during package builds:

RPM build warnings:
    absolute symlink: /etc/X11/fontpath.d/terminus:unscaled -> /usr/share/fonts/terminus-fonts-legacy-x11
2022-11-28 00:21:56 +01:00
Hans Ulrich Niedermann
4db68408c3 Use ExcludeArch instead of ifnarching a BuildRequires
As koji builds SRPMs on one machine and then builds the SRPM on
other machines and SRPMs cannot record conditional BuildRequires,
we cannot rely on those.

So we try excluding arches which do not have the BuildRequires
and hope we can still produce noarch packages.
2022-08-21 23:30:36 +02:00
Hans Ulrich Niedermann
9e6be5d179 print arch information to help with buildarch problems
This package apparently is still being built on systems where
grub2-mkfont is not available.
2022-08-19 15:51:11 +02:00
Hans Ulrich Niedermann
430bfddcd9 fix autorelease value 2022-08-19 15:45:10 +02:00
Hans Ulrich Niedermann
80d1c96c31 Prevent builds on %{ix86} due to lack of grub2-mkfont
As grub2.spec has recently dropped %{ix86} from for f36 and
later, we need to drop %{ix86} as well because we need
grub2-mkfont installed to build.
2022-08-19 13:30:34 +02:00
Hans Ulrich Niedermann
c0d6492ce5 Convert to rpmautospec 2022-08-18 05:46:38 +02:00
Fedora Release Engineering
0e0f02eb7c Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 10:17:52 +00:00
Fedora Release Engineering
36cfa91a8d - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 02:31:21 +00:00
Fedora Release Engineering
6bfcce9859 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 19:04:53 +00:00
Hans Ulrich Niedermann
911b97174f 4.49.1-12: Move consolefonts from /lib to /usr/lib
Move consolefonts from /lib to /usr/lib like kbd has done (#1925696).
2021-02-06 00:11:51 +01:00
Hans Ulrich Niedermann
af1759dff1 4.49.1-11: new release
Change summary for 4.49.1-11 release:
  * move from two to 18 *.otb font files
  * move from fonttosfnt to upstream's otb1cli.py
  * update to upstream release 4.49.1
  * resolves: #1910955, #1922893
2021-02-05 21:26:06 +01:00
Hans Ulrich Niedermann
5e549a3f25 Add some checks on the wildcard font file names
The font package macros want font file names %{fonts} as
wildcards, which loses us the explicit changes to the file
list.

So this adds at least a few consistency checks:

  * abort the build if a wild card does not match

  * abort the build if the number of font files is out of bounds
    (right now: must be exactly 18 to build)
2021-02-05 21:21:30 +01:00
Hans Ulrich Niedermann
7b804df77c 4.49.1-10.3: Switch to upstream method of building *.otb
Switch to using upstream's way of building *.otb OpenType bitmap font files
instead of our former fonttosfnt based one.
2021-02-03 20:40:24 +01:00
Hans Ulrich Niedermann
3606a87aa8 4.49.1-10.2: Update to terminus-font-4.49.1, keeping fonttosfnt *.otb generation
Update to upstream's terminus-font-4.49-1 release, but keep
using our own fonttosfnt based generation of *.otb OpenType
bitmap font files.
2021-02-03 20:26:06 +01:00
Hans Ulrich Niedermann
4faaf5e1be 4.48-10.1 ship one otb file per font size
Shipping one otb file per font size preserves the font metrics so
that character spacing can work both vertically and horizontally.

This uses Peng Wu's updated conversion script.
2021-02-03 18:04:03 +01:00
Hans Ulrich Niedermann
78538f2a4a More block characters for font card to help with spacing 2021-02-03 16:44:13 +01:00
Hans Ulrich Niedermann
33e4429bdd Add box drawing and block element characters to font card
The box drawing and block elements should help determine
whether the horizontal and vertical spacing between
letters are correct.
2021-02-01 21:46:25 +01:00
Hans Ulrich Niedermann
3ce53cf205 Add generate-font-card script generating a font overview card 2021-02-01 07:55:25 +01:00
Hans Ulrich Niedermann
c390edf3f4 4.48-10 Remove font weight workaround
Remove the font weight workaround for fonttosfnt < 1.2.1
according to the pull request by Peng Wu:
https://src.fedoraproject.org/rpms/terminus-fonts/pull-request/3
2021-01-29 22:11:33 +01:00
Hans Ulrich Niedermann
c8d5a3dcde Merge branch 'fonttosfnt-1.2.1' 2021-01-29 22:06:11 +01:00
Peng Wu
ce187409a3 Add BuildRequires: fonttosfnt >= 1.2.1
fonttosfnt 1.2.1 appears to fix the weight property issue we
had to work around in the fontconfig file.

Closes: https://src.fedoraproject.org/rpms/terminus-fonts/pull-request/3
2021-01-29 22:05:55 +01:00
Tom Stellard
b1f2f2bfcd Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-29 21:47:47 +01:00
Fedora Release Engineering
b9bc5a648c - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 21:47:12 +00:00
Tom Stellard
7e0ed54d05 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-08 22:26:39 +00:00
Fedora Release Engineering
f098d11e0a - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 12:18:04 +00:00
Akira TAGOH
83e17c4376 Workaround wrong weight in Terminus.otb in fontconfig config file.
Resolves: rhbz#1823637
2020-06-02 20:40:07 +09:00
Hans Ulrich Niedermann
b65e3c9505 Rewrite spec file for new font macros
Rewrite the spec file based on the new fonts-rpm-templates
package's spectemplate-fonts-1-full.spec.

This also splits off *.pcf.gz into a -legacy-x11 subpackage.
2020-04-26 01:41:59 +02:00
Hans Ulrich Niedermann
25a048f3c4 4.48-5: less wildcards, updated descr and comments 2020-04-07 20:20:34 +02:00
Hans Ulrich Niedermann
4d5b0f60f8 Update package description
Update package description with current numbers from upstream.

Also remove the redundant description of other available
formats.
2020-04-07 20:14:19 +02:00
Hans Ulrich Niedermann
eac33d09d5 Adapt comment for OTB 2020-04-07 20:13:10 +02:00
Hans Ulrich Niedermann
8246feea06 explicitly list the otb files for robustness
Explicit file lists help expose unexpected changes in packages.
2020-04-07 20:12:45 +02:00
Hans Ulrich Niedermann
2c781fd33b Remove apparently unused package.cfg 2020-04-07 19:56:54 +02:00
Peng Wu
7142b2d085 Provide OpenType Bitmap fonts
Use bitmapfonts2otb.py to combine bitmap fonts
2020-02-25 16:46:18 +08:00
Fedora Release Engineering
4ac47b0a7d - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 01:20:28 +00:00
Hans Ulrich Niedermann
6cc36ef480 Ignore some more rpmlint warnings and errors
The /usr/share/fonts/terminus/.uuid script is generated by the font
package magic, so it is OK to be hidden and non-readable.
2020-01-03 08:48:23 +01:00
Hans Ulrich Niedermann
3a28b472a0 Build OTB fonts for compatibility with pango >= 1.44
Build OpenType bitmap fonts for compatibility with
pango >= 1.44 (#1748495) which drops support for PCF
fonts.
2020-01-03 08:16:50 +01:00
Hans Ulrich Niedermann
c4acd6b3c1 Update to upstream release terminus-font-4.48 2019-08-27 17:37:03 +02:00
Fedora Release Engineering
0eec46e0ed - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 01:14:18 +00:00
Fedora Release Engineering
1f0899804c - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 09:38:44 +00:00
Igor Gnatenko
37cdf9bbec Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:52 +01:00
Hans Ulrich Niedermann
feb804975e terminus-fonts-4.47-4
* Sun Jan 27 2019 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.47-4
- Only build -grub2 subpackage when arch/dist actually has grub2
- Address and silence rpmlint warnings
2019-01-27 21:53:52 +01:00
Hans Ulrich Niedermann
ff672ddb14 Only build -grub2 subpackage on distro and arches with grub available 2019-01-27 21:51:46 +01:00
Hans Ulrich Niedermann
eb7ceb6cdf Add Provides: where we have Obsoletes: (silences rpmlint) 2019-01-26 14:26:14 +01:00
Hans Ulrich Niedermann
d6c52adf99 Silence rpmlint warning on hardcoded /lib
We are using /lib/kbd/consolefonts for installing the console fonts.

That is the place where kbd-misc expects its fonts, and has nothing
to do with a library directory.
2019-01-26 14:25:09 +01:00
Hans Ulrich Niedermann
1a34409eaf Update to upstream release terminus-font-4.47 2019-01-15 18:24:50 +01:00
Hans Ulrich Niedermann
cb99785ef9 Continue shipping the 8bit versions of *.pcf
Continue shipping the 8bit versions of *.pcf as other X11 clients
(e.g. from older systems connected via ssh -X) might rely on them.
2019-01-15 17:41:47 +01:00
Hans Ulrich Niedermann
6e47d4c722 Add grub2 subpackage with *.pf2 fonts 2018-12-27 19:04:12 +01:00
Hans Ulrich Niedermann
fd25bba762 Add package.cfg for default "fedpkg build" uploads 2018-12-27 19:03:20 +01:00
Hans Ulrich Niedermann
eb0a545642 terminus-fonts-4.46-1: update to upstream release 4.46 2018-12-27 19:00:54 +01:00
Hans Ulrich Niedermann
37df852d52 gitignore many generated files and diers 2018-12-27 19:00:20 +01:00
Fedora Release Engineering
3485b47db8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 07:26:29 +00:00
Fedora Release Engineering
93916901f1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 18:44:55 +00:00
Fedora Release Engineering
576ad1b835 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 20:08:10 +00:00
Fedora Release Engineering
48bec89826 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 15:46:45 +00:00
Hans Ulrich Niedermann
fc0c0f0006 4.40-5: Fix -console README.fedora instructions on checking the initramfs 2016-05-16 14:31:25 +02:00
Fedora Release Engineering
d464716f30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 01:28:06 +00:00
Hans Ulrich Niedermann
4cf634a9ed 4.40-3 2016-01-18 20:24:10 +01:00
Hans Ulrich Niedermann
860aa066ba Fix spelling issue in %description 2016-01-18 20:17:18 +01:00
Hans Ulrich Niedermann
735f43ea6b iconv README-BG from WINDOWS-1251 to utf-8 2016-01-18 20:16:37 +01:00
Hans Ulrich Niedermann
b11c8bc495 Bump release from 1 to 2 for rebuild 2016-01-18 01:18:29 +01:00
Hans Ulrich Niedermann
e094655909 Add bz reference in changelog 2016-01-18 01:16:40 +01:00
Hans Ulrich Niedermann
3485b0e773 Update to terminus-font-4.40 2016-01-18 01:07:31 +01:00
Dennis Gilmore
edb8a7c51c - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 02:43:42 +00:00
Jens Petersen
5b21f7f67b update to 4.39 release
drop the version dependent text from the description
2014-07-10 11:46:04 +09:00
Dennis Gilmore
a2b1d03226 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 03:22:01 -05:00
Hans Ulrich Niedermann
ca9171b7b4 Update terminus-fonts-console README.fedora
Zing knew some more ideas for updating grub.cfg and initramfs.
2013-11-28 12:56:43 +01:00
Hans Ulrich Niedermann
3f29a3e350 Add instructions for F18+ to console README.fedora
Add instructions for F18+ to terminus-fonts-console README.fedora
(#1000491)
2013-11-16 14:22:47 +01:00
Parag Nemade
2e34dd8a58 Update to new 4.38 version 2013-09-16 10:20:08 +05:30
Dennis Gilmore
68b4c5ce20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 22:43:16 -05:00
Dennis Gilmore
53bffc1a78 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 19:30:16 -06:00
Dennis Gilmore
da29539e75 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 18:14:42 -05:00
Dennis Gilmore
a79474e159 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 00:34:11 -06:00
Hans Ulrich Niedermann
fb5c1944d1 terminus-fonts-4.36-1: Update to terminus-font-4.36 2011-09-12 12:18:49 +02:00
Hans Ulrich Niedermann
2b881a448c terminus-fonts-4.35.1
* Sat May 21 2011 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.35-1
- Update to terminus-font-4.35
- Actually ship the size 18 fonts (upstream fix)
2011-05-21 20:52:59 +02:00
Hans Ulrich Niedermann
5cb3350f9c Update to terminus-font-4.34 2011-05-02 19:51:06 +02:00
Dennis Gilmore
6cb4c62d6f - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 12:44:58 -06:00
Hans Ulrich Niedermann
fac4dfce76 terminus-fonts-4.32-1: Update to 4.32 2011-02-01 22:26:53 +01:00
Hans Ulrich Niedermann
ec8a972d57 Remove unused TESTDIR= definition
The new replacement CHECKDIR is empty anyway.
2011-02-01 22:26:47 +01:00
Hans Ulrich Niedermann
9d8e7ad6bd Adapt console font file list for *v.psf
The *f.psf files have been replaced by *v.psf.
2011-02-01 22:24:36 +01:00
Hans Ulrich Niedermann
21e7a77ad6 Update description for 4.32 2011-02-01 22:24:36 +01:00
Hans Ulrich Niedermann
038e58622d Use new build targets described in 4.32 README 2011-02-01 22:22:25 +01:00
Hans Ulrich Niedermann
1327ee7ba6 Reflect font license change from GPLv2+ to OFL 2011-02-01 22:04:48 +01:00
Hans Ulrich Niedermann
e672202400 Use integrated patches from 4.32 tarball
The patches are shipped in the tarball now, not as
separate files.
2011-02-01 22:04:48 +01:00
Hans Ulrich Niedermann
337511a0cc Initial pseudo merge for dist-git setup
This will significantly simplify future merges between branches.
2010-07-31 02:06:11 +02:00
Fedora Release Engineering
f23b3975ad dist-git conversion 2010-07-29 14:03:26 +00:00
Fedora Release Engineering
3d470d1a76 dist-git conversion 2010-07-29 14:03:25 +00:00
Fedora Release Engineering
56a1e72f3d dist-git conversion 2010-07-29 14:03:25 +00:00
Fedora Release Engineering
7df4d94e81 dist-git conversion 2010-07-29 14:03:24 +00:00
Hans Ulrich Niedermann
88577f62d4 - Added License tag to -console subpackage.
- Added note about rebuilding initramfs after changing /etc/sysconfig/i18n.
- Changed URL, SourceN, PatchN to use new location at sourceforge.net.
2010-07-16 15:31:15 +00:00
Jesse Keating
5df061fec3 Initialize branch F-13 for terminus-fonts 2010-02-17 03:19:09 +00:00
Hans Ulrich Niedermann
8952e211d6 - update to 4.30 release:
- new size 22 (not very good)
- 25 additional characters
- various small fixes
2009-12-04 01:39:16 +00:00
Hans Ulrich Niedermann
a23aaf0186 - update to 4.30 release:
- new size 22 (not very good)
- 25 additional characters
- various small fixes
2009-12-04 01:38:03 +00:00
Hans Ulrich Niedermann
18bd9e95e2 - update to 4.30 release:
- new size 22 (not very good)
- 25 additional characters
- various small fixes
2009-12-04 01:35:52 +00:00
Bill Nottingham
f0b8f7ab8f Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:28:04 +00:00
Bill Nottingham
5ff12a7a28 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:28:04 +00:00
Bill Nottingham
a6f2645801 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 22:52:20 +00:00
Jesse Keating
493bf542b0 Initialize branch F-12 for terminus-fonts 2009-09-29 07:03:33 +00:00
Jesse Keating
2dce6f55c0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 05:46:58 +00:00
Jesse Keating
1e5b630901 Initialize branch F-11 for terminus-fonts 2009-04-15 04:55:14 +00:00
Hans Ulrich Niedermann
a6b5a54cee - Rebuild for Fedora 11 to pick up font autodeps (#491973) 2009-03-24 23:01:34 +00:00
Jesse Keating
e48a2916bd - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-25 19:56:02 +00:00
Hans Ulrich Niedermann
0e02493775 Import renamed terminus-fonts package 2009-02-20 20:47:39 +00:00
15 changed files with 1391 additions and 21 deletions

View file

24
.gitignore vendored Normal file
View file

@ -0,0 +1,24 @@
/noarch/
/.build-*.log
/results_terminus-fonts/
/terminus-fonts-*.src.rpm
/terminus-font-4.40/
/terminus-font-4.46/
/terminus-font-4.47/
/terminus-font-4.48/
terminus-font-4.30.tar.gz
terminus-font-4.30-dv1.diff.gz
terminus-font-4.30-ge1.diff.gz
terminus-font-4.30-ij1.diff.gz
/terminus-font-4.32.tar.gz
/terminus-font-4.34.tar.gz
/terminus-font-4.35.tar.gz
/terminus-font-4.36.tar.gz
/terminus-font-4.38.tar.gz
/terminus-font-4.39.tar.gz
/terminus-font-4.40.tar.gz
/terminus-font-4.46.tar.gz
/terminus-font-4.47.tar.gz
/terminus-font-4.48.tar.gz
/terminus-font-4.49.tar.gz
/terminus-font-4.49.1.tar.gz

16
63-terminus-fonts.conf Normal file
View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "/usr/share/xml/fontconfig/fonts.dtd">
<fontconfig>
<alias>
<family>monospace</family>
<prefer>
<family>Terminus</family>
</prefer>
</alias>
<alias>
<family>Terminus</family>
<default>
<family>monospace</family>
</default>
</alias>
</fontconfig>

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: terminus-fonts
# $Id$
NAME := terminus-fonts
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

71
bitmapfonts2otb.py Normal file
View file

@ -0,0 +1,71 @@
#!/usr/bin/python3
# This script is licensed under the GPL-3.0-or-later license.
# Automatically group the font files by family names and style names,
# and assume each bitmap font only contains one font face.
# This tool requires ftdump and fonttosfnt.
# Some changes by Hans Ulrich Niedermann and Antonio Larrosa.
# Written by Peng Wu as
# https://pwu.fedorapeople.org/fonts/convertbitmap/convertfont2.py
# Some changes by Hans Ulrich Niedermann.
import re
import sys
import subprocess
usage = '''
convertfont2.py [BITMAPFONTFILE]...
'''
fontnames = dict()
# get font family name and style name by ftdump
def get_fullname_height(fontname):
output = subprocess.check_output(['ftdump', fontname])
output = output.decode('utf8')
# only contain one font face
assert not 'Face number: 1' in output
result = {}
height = 0
for row in output.split('\n'):
# for family name and style name
if ':' in row:
key, value = row.split(': ')
result[key.strip()] = value.strip()
# for height
if 'height' in row:
match = re.search('height (\d+)', row)
height = int(match.group(1))
assert height > 0
familyname, stylename = result['family'], result['style']
if stylename == 'Regular':
return (familyname, height)
else:
return (familyname + ' ' + stylename, height)
def generate_fonts():
for (fullname, height), filenames in fontnames.items():
outputfilename = fullname.replace(' ', '-') + '-' + str(height) + '.otb'
argv = 'fonttosfnt -b -c -g 2 -m 2 -o'.split(' ')
argv.append(outputfilename)
argv.extend(filenames)
print(' '.join(argv))
print(subprocess.check_output(argv).decode('utf8'))
if __name__ == '__main__':
for bitmapfontname in sys.argv[1:]:
(fullname, height) = get_fullname_height(bitmapfontname)
index = (fullname, height)
if index in fontnames:
fontnames[index].append(bitmapfontname)
else:
fontnames[index] = [bitmapfontname]
generate_fonts()

198
changelog Normal file
View file

@ -0,0 +1,198 @@
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.49.1-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.49.1-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.49.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Feb 5 2021 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.49.1-12
- Move consolefonts from /lib to /usr/lib like kbd has done (#1925696)
* Fri Feb 5 2021 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.49.1-11
- Add checks on wildcard names matching font files
* Wed Feb 3 2021 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.49.1-10.3
- Use upstream's way of building *.otb OpenType bitmap font files (#1922893)
* Wed Feb 3 2021 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.49.1-10.2
- Update to terminus-font-4.49.1, keeping our fonttosfnt *.otb generation (#1910955)
* Wed Feb 3 2021 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.48-10.1
- Update otb conversion script and ship one *.otb file per font size
* Fri Jan 29 2021 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.48-10
- Add BuildRequires: make
- Add BuildRequires: fonttosfnt >= 1.2.1 (remove font weight workaround)
Closes: https://src.fedoraproject.org/rpms/terminus-fonts/pull-request/3
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.48-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.48-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 2 2020 Akira TAGOH <tagoh@redhat.com> - 4.48-7
- Workaround wrong weight in Terminus.otb in fontconfig config file.
Resolves: rhbz#1823637
* Sat Apr 25 2020 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.48-6
- complete spec file rewrite based on spectemplate-fonts-1-full.spec
- split off legacy PCF files into -legacy-x11 subpackage
* Tue Apr 7 2020 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.48-5
- List *.otb files explicitly (without wildcards)
- Updated package descriptions and spec comments for more accuracy
* Wed Feb 5 2020 Peng Wu <pwu@redhat.com> - 4.48-4
- Use bitmapfonts2otb.py to combine bitmap fonts
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.48-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jan 3 2020 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.48-2
- Stop shipping VGA fonts in grub subpackage
- Build OTB fonts for compatibility with pango >= 1.44 (#1748495)
* Tue Aug 27 2019 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.48-1
- Update to upstream release terminus-font-4.48
- Ship the Hebrew characters introduced by terminus-font-4.48
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.47-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.47-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Jan 27 2019 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.47-4
- Only build -grub2 subpackage when arch/dist actually has grub2
- Address and silence rpmlint warnings
* Tue Jan 15 2019 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.47-3
- Update to upstream release terminus-font-4.47
* Tue Jan 15 2019 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.46-3
- Continue shipping the 8bit versions of *.pcf files (#1664054)
* Tue Dec 18 2018 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.46-2
- Add grub2 subpackage with *.pf2 fonts
* Tue Dec 18 2018 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.46-1
- Update to terminus-font-4.46
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.40-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.40-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.40-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.40-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon May 16 2016 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.40-5
- Fix terminus-fonts-console README.fedora instructions on checking the initramfs.
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.40-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Jan 18 2016 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.40-3
- Fix spelling issue in %%description
- iconv README-BG from WINDOWS-1251 to utf-8
* Sun Jan 17 2016 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.40-2
- Update to terminus-font-4.40 (#1095285)
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.39-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu Jul 10 2014 Jens Petersen <petersen@redhat.com> - 4.39-1
- update to 4.39
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.38-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Nov 28 2013 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.38-3
- Improve instructions for F18+ to console README.fedora (#1000491)
* Sat Nov 16 2013 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.38-2
- Add instructions for F18+ to terminus-fonts-console README.fedora (#1000491)
* Mon Sep 16 2013 Parag <paragn AT fedoraproject DOT org> - 4.38-1
- Update to new 4.38 version
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.36-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.36-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.36-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.36-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Sep 12 2011 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.36-1
- Update to terminus-font-4.36
* Sat May 21 2011 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.35-1
- Update to terminus-font-4.35
- Actually ship the size 18 fonts (upstream fix)
* Mon May 2 2011 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.34-1
- Update to terminus-font-4.34
- Remove patch for alt/ge1.diff (4.34 uses ge1 by default)
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.32-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Feb 1 2011 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.32-1
- Update to 4.32
* Fri Jul 16 2010 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.30-2
- Added License tag to -console subpackage.
- Added note about rebuilding initramfs after changing /etc/sysconfig/i18n.
- Changed URL, SourceN, PatchN to use new location at sourceforge.net.
* Fri Dec 4 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.30-1
- update to 4.30 release:
- new size 22 (not very good)
- 25 additional characters
- various small fixes
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.28-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Mar 25 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.28-8
- Rebuild for Fedora 11 to pick up font autodeps (#491973)
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.28-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Fri Feb 20 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.28-6
- fix fontpackages-devel requirement to >= 1.18 (for _fontdir ownership)
* Fri Feb 20 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.28-5
- Add information to the fontconfig file
- no need to %%dir %%{_fontdir} in fontpackages-devel >= 1.20
- Use %%{_sysconfdir} instead of /etc
- Change all %%define instances to %%global
- Drop filesystem requirement for F-10 and later
- Use macro for common parts of descriptions
- Remove unneeded Provides:
- drop unnecessary comment
* Thu Feb 19 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.28-4
- change catalog(ue) spelling to US English
- remove unnecessary macro definition of %%tarname
- properly define consolefontdir (no macros)
* Thu Feb 19 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.28-3
- generate fonts.dir at build time (bug 483589)
* Wed Feb 18 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 4.28-2
- initial package for new Fedora Font Policy

4
font-card.txt Normal file
View file

@ -0,0 +1,4 @@
▌▗▖█ This is some ╔═╕ text for pango to render so
▐▝▘ █▀▄ ▒ that we ╟┬┤ can see whether the bitmap
font has been ╠╪╡ properly converted to the
*.otb OpenType ╚╧╛ bitmap font file format.

99
generate-font-card Executable file
View file

@ -0,0 +1,99 @@
#!/bin/bash
#
# Render each and every font weight and size of the Terminus font to a
# single PNG file to allow one at a glance checking that the font has
# been converted correctly.
#
# Requirements:
# * pango-view to render text to bitmaps
# * ImageMagick (for identify and montage)
set -e
scriptdir="$(cd "$(dirname "$0")" && pwd)"
imgbaseroot="terminus-font-card"
# Default values
default_identify="/usr/bin/identify"
default_montage="/usr/bin/montage"
default_pv="/usr/bin/pango-view"
default_text_file="${scriptdir}/font-card.txt"
# Unless set explictly, use default value
MONTAGE="${MONTAGE:=${default_montage}}"
IDENTIFY="${IDENTIFY:=${default_identify}}"
PV="${PV:=${default_pv}}"
TEXTFILE="${TEXTFILE:=${default_text_file}}"
print_args() {
echo "Argument list:"
for arg
do
echo " * <<${arg}>>"
done
}
run() {
local fontname="${1:?No fontname given}"
local fontsize="${2:?No fontsize given}"
local image_fname="${3:?No image_fname given}"
local PV_CMD=(${PV})
# PV_CMD+=("--annotate=1")
# PV_CMD+=("--annotate=2")
# PV_CMD+=("--annotate=3")
PV_CMD+=("--no-display")
# PV_CMD+=("--single-par")
PV_CMD+=("--language=C")
# PV_CMD+=("--pixels")
PV_CMD+=("--font=${fontname} ${fontsize}")
PV_CMD+=("${TEXTFILE}")
PV_CMD+=("--output=${image_fname}")
IMAGE_LIST+=("${image_fname}")
print_args "${PV_CMD[@]}"
"${PV_CMD[@]}"
file "${image_fname}"
}
width=480
height=120
MONTAGE_CMD=(${MONTAGE})
IMAGE_LIST=()
FONT_SIZES=(12 14 16 18 20 22 24 28 32)
FONT_NAMES=("Terminus Medium" "Terminus Bold")
FONT_NAMES=("Terminus" "Terminus Bold")
for fontsize in "${FONT_SIZES[@]}"
do
for fontname in "${FONT_NAMES[@]}"
do
image_fname="${scriptdir}/${imgbaseroot}--${fontname}-${fontsize}.png"
run "$fontname" "$fontsize" "$image_fname"
MONTAGE_CMD+=(-label "${fontname} ${fontsize} ($(${IDENTIFY} -format "%[fx:w]x%[fx:h]" "${image_fname}"))")
MONTAGE_CMD+=("$image_fname")
MONTAGE_CMD+=(-repage "${width}x${height}>")
MONTAGE_CMD+=(-crop "${width}x${height}>")
done
done
echo "Images: ${IMAGE_LIST[@]}"
montage_fname="${scriptdir}/${imgbaseroot}.png"
MONTAGE_CMD+=(-tile "${#FONT_NAMES[@]}x${#FONT_SIZES[@]}")
MONTAGE_CMD+=(-frame 5)
MONTAGE_CMD+=(-geometry "${width}x${height}<+2+2>")
MONTAGE_CMD+=(${montage_fname})
print_args "${MONTAGE_CMD[@]}"
"${MONTAGE_CMD[@]}"
file "$montage_fname"
# End of file.

View file

@ -0,0 +1 @@
SHA512 (terminus-font-4.49.1.tar.gz) = 2e3a99960c459a453b5879bebbebeb653f0a22060177bf75c67bbeb7d32cfe1acce9e74a88fdc42e299b6dc402e0708552487abd26e80e985c7d6059b0d445a8

View file

@ -0,0 +1,14 @@
========================================================================
User Information for the Fedora **terminus-fonts** package
========================================================================
For most contemporary software, the **terminus-fonts** package will
provide the Terminus font in the modern OpenType bitmap format.
However, as of 2020-04, there is still software in widespread use
which cannot use fonts in OpenType bitmap format like e.g. GNU Emacs
26.
If you want to use one of these software packges, you need to install
the **terminus-fonts-legacy-x11** package to install the Terminus font
in the legacy PCF format.

View file

@ -0,0 +1,41 @@
! =====================================================================
! This is the ~/.Xresources file I use for xterm and GNU emacs on my
! 118dpi and 125dpi Laptop displays.
!
! On lower resolution displays, you will probably want to use slightly
! smaller sizes. Run xfontsel(1) to find out which sizes are available.
! =====================================================================
! =====================================================================
! Emacs stuff
! =====================================================================
Emacs.font: -*-terminus-bold-r-*-*-20-*-*-*-*-*-*-*
! =====================================================================
! XTerm stuff
! =====================================================================
! Default and menu font
XTerm*font: -*-terminus-bold-*-*-*-20-*-*-*-*-*-*-*
! "Unreadable": Leave it actually unreadable.
!XTerm*font1: -*-terminus-bold-r-*-*-20-*-*-*-*-*-*-*
! "Tiny"
XTerm*font2: -*-terminus-medium-*-*-*-12-*-*-*-*-*-*-*
! "Small"
XTerm*font3: -*-terminus-bold-*-*-*-14-*-*-*-*-*-*-*
! "Medium"
XTerm*font4: -*-terminus-bold-*-*-*-17-*-*-*-*-*-*-*
! "Large"
XTerm*font5: -*-terminus-bold-*-*-*-28-*-*-*-*-*-*-*
! "Huge"
XTerm*font6: -*-terminus-bold-*-*-*-32-*-*-*-*-*-*-*
! Colors are a matter of personal preferences.
XTerm*background: black
XTerm*foreground: white
! =====================================================================
! End of file.
! =====================================================================

View file

@ -0,0 +1,78 @@
========================================================================
User Information for the Fedora **terminus-fonts-console** package
========================================================================
The console package just dumps the font files in the directory where
the other console fonts are and does not do any setting up (for now).
* The difference between all those ter-????.psf.gz files is
explained in the file
/lib/kbd/consolefonts/README.terminus
* You can manually change the font for the Linux VGA textmode or
framebuffer console by running something like
/bin/setfont /lib/kbd/consolefonts/ter-u24b.psf.gz
Note that using a font of a different font size will change the
$COLUMNS and $LINES of the terminal together with the changed
font size.
* To make the above setting permanent, you need to tell your initramfs
and/or other init system to load the font.
The (config) files to adapt for that are
/etc/vconsole.conf
/etc/default/grub
/etc/grub2.cfg aka /boot/grub2/grub.cfg
and also your initramfs must contain the font file such as ter-u24b.psf:
/boot/initramfs-$(uname -r).img
Configuration changes:
1. In /etc/vconsole.conf, add a line
FONT="ter-u24b"
2. In /etc/default/grub, add an option
vconsole.font=ter-u24b
to the GRUB_CMDLINE_LINUX="..." definition.
At this point, there should be an easy and obvious way to propagate
those settings into grub.cfg and the initramfs. However, I do not
know it, so here are two ways to do it
3a * Open /etc/grub2.cfg in an editor and add the vconsole.font
option to the appropriate "linux" command lines (same as
/etc/default/grub)
* Rebuild the initramfs. There might be a better way, but
yum reinstall kernel
might work.
3b * Update /etc/grub2.cfg with options from /etc/default/grub (but
the generated grub2.cfg will look very differently than the
one maintained just by kernel installs and updates):
grub2-mkconfig -o /boot/grub2/grub.cfg
* Then rebuild a new initramfs with:
dracut -f
Verify that the initramfs contains the required font file:
[root@host ~]# lsinitrd /boot/initramfs-$(uname -r).img | grep consolefonts/ter-u24b
-rw-r--r-- 1 root root 2670 Feb 3 21:31 usr/lib/kbd/consolefonts/ter-u24b.psf.gz
[root@host ~]#
On the next boot, your framebuffer console should come up with a
beautiful Terminus font.

View file

@ -0,0 +1,15 @@
========================================================================
User Information for the Fedora **terminus-fonts-legacy-x11** package
========================================================================
The **terminus-fonts-legacy-x11** package registers the Terminus font
with both fonts-conf(5) and the newer /etc/X11/fontpath.d mechanism
used by newer libXfont and xfs(1) versions.
This makes the font available for both
* traditional programs using libXfont or xfs (like xterm, xfontsel,
and older GNU Emacs)
* slightly more modern programs using fontconfig but not OpenType
yet (like GNU Emacs 26).

4
terminus-fonts.rpmlintrc Normal file
View file

@ -0,0 +1,4 @@
# -*- python -*-
addFilter(r'hardcoded-library-path in /lib/kbd/consolefonts')
addFilter(r'configure-without-libdir-spec')

826
terminus-fonts.spec Normal file
View file

@ -0,0 +1,826 @@
########################################################################
# Top definitions from spectemplate-fonts-1-full.spec
########################################################################
Version: 4.49.1
Release: %autorelease -b 6
URL: http://terminus-font.sourceforge.net/
%global foundry %{nil}
%global fontlicense OFL-1.1
#
# The following directives are lists of space-separated shell globs
# matching files associated with the font family,
# as they exist in the build root,
# — at the end of the %%build stage:
# legal files (licensing…)
%global fontlicenses OFL.TXT
# exclusions from the “fontlicenses” list
%global fontlicensesex %{nil}
# documentation files
%global fontdocs README README-BG docs/README.fedora
# exclusions from the “fontdocs” list
%global fontdocsex %{fontlicenses}
%global fontfamily terminus
%global fontsummary Clean fixed width font
# A container for additional subpackage declarations.
%global fontpkgheader %{expand:
#Obsoletes:
}
#
# More shell glob lists:
# font family files
%global fonts ter-*.otb
# exclusions from the “fonts” list)
%global fontsex %{nil}
# fontconfig files
%global fontconfs %{SOURCE10}
# exclusions from the “fontconfs” list
%global fontconfsex %{nil}
# appstream files, if any (generated automatically otherwise)
%global fontappstreams %{nil}
# exclusions from the “fontappstreams” list
%global fontappstreamsex %{nil}
#
%global fontdescription %{expand:
The Terminus Font is a clean, fixed with bitmap font designed for long\
(8 and more hours per day) work with computers.\
\
I contains more than 1300 characters, covers about 120 language sets and\
supports ISO8859-1/2/5/7/9/13/15/16, Paratype-PT154/PT254, KOI8-R/U/E/F,\
Esperanto, and many IBM, Windows and Macintosh code pages, as well as\
the IBM VGA, vt100 and xterm pseudo graphic characters.\
\
The sizes present are 6x12, 8x14, 8x16, 10x18, 10x20, 11x22, 12x24,\
14x28, and 16x32. The weights are normal and bold (except for 6x12),\
plus CRT VGA-bold for 8x14 and 8x16.
}
########################################################################
# Local macro definitions (i.e. not from spectemplate-fonts-1-full.spec)
########################################################################
# The basename for upstream's source tarball
%global archivename terminus-font-%{version}
# Copied from the kbd package.
# The %%{_exec_prefix}/lib part is correct even on x86_64.
# This is where kbd data files (like console fonts) are installed.
# No static libraries, shared objects, or executables are placed here.
%global kbddir %{_exec_prefix}/lib/kbd
# This is the directory for the actualy console fonts.
%global console_fontdir %{kbddir}/consolefonts
# The ExcludeArch from the grub2.spec file
#
# There might be a better way to detect whether this platform has
# grub2 available, but this should do the job at least for the time
# being.
%if 0%{?fedora} >= 36
%global grub2_exclude_arches s390 s390x %{ix86}
%else
%if 0%{?fedora} >= 29
%global grub2_exclude_arches s390 s390x
%else
%global grub2_exclude_arches s390 s390x %{arm}
%endif
%endif
# Owned by the grub2-common package
%global grub2_fontdir /usr/share/grub
%global legacy_x11_fontdir /usr/share/fonts/terminus-fonts-legacy-x11
# Font catalog
%global catalog %{_sysconfdir}/X11/fontpath.d
%if %{?epoch: 1}%{?!epoch: 0}
%global evr %{epoch}:%{version}-%{release}
%else
%global evr %{version}-%{release}
%endif
# From spectemplate-fonts-1-full.spec
Source0: https://downloads.sourceforge.net/terminus-font/%{archivename}.tar.gz
Source10: 63-%{fontpkgname}.conf
# Local definitions
Source21: %{name}-console-README.fedora
Source22: %{name}-legacy-x11-README.fedora
Source23: %{name}-Xresources.example
Source24: %{name}-README.fedora
# For generating *.otb (OpenType bitmap font) files
Source42: bitmapfonts2otb.py
BuildRequires: make
BuildRequires: /usr/bin/ftdump
BuildRequires: python3 > 3.5.0
# For generating legacy fonts (*.pcf)
BuildRequires: /usr/bin/bdftopcf
BuildRequires: mkfontdir
ExcludeArch: %{grub2_exclude_arches}
BuildRequires: /usr/bin/grub2-mkfont
%fontpkg
%package console
Requires: kbd
# For /usr/lib/kbd
Requires: kbd-misc
Summary: Clean fixed width font (console version)
License: OFL-1.1
%description console
%fontdescription
This package contains the fonts to use with the Linux console.
%ifnarch %{grub2_exclude_arches}
%package grub2
Requires: grub2-common
Summary: Clean fixed width font (grub2 version)
License: OFL-1.1
%description grub2
%fontdescription
This package contains the fonts to use with the grub2 boot loader.
%endif
%package legacy-x11
Summary: Clean fixed width font (legacy PCF version)
License: OFL-1.1
# Require the fontconfig file
Requires: %{name} = %{evr}
%description legacy-x11
%fontdescription
This package contains the font variants to use with software still
relying on legacy PCF font rendering methods (e.g. GNU Emacs 26).
%prep
%setup -q -n %{archivename}
# Convert upstream files to UTF-8 and Unix end of lines if necessary
# Optional arguments:
# -e [encoding] source OS encoding (auto-detected otherwise)
# -n do not recode files, only adjust folding and end of lines
#linuxtext *.txt
cp -p "%{SOURCE42}" bin/
patch -s -p1 -b --suffix .br1 -fuzz=0 -i alt/br1.diff
patch -s -p1 -b --suffix .dv1 -fuzz=0 -i alt/dv1.diff
patch -s -p1 -b --suffix .ij1 -fuzz=0 -i alt/ij1.diff
patch -s -p1 -b --suffix .td1 -fuzz=0 -i alt/td1.diff
iconv -f WINDOWS-1251 -t utf-8 -o README-BG README-BG
%build
./configure --prefix=%{_prefix} \
--x11dir=%{legacy_x11_fontdir} --psfdir=%{console_fontdir}
env GZIP=--best make %{?_smp_mflags} PCF='$(PCF_10646_1) $(PCF_8BIT)' pcf psf psf-vgaw otb
ls -l *.otb
%ifnarch %{grub2_exclude_arches}
# generate *.pf2 for the grub2 bootloader
for bdf in ter-*[bn].bdf; do
/usr/bin/grub2-mkfont -o "$(basename "$bdf" .bdf).pf2" "$bdf"
done
%endif
# Fedora specific docs and examples
mkdir -p docs/console docs/legacy-x11
cp -p "%{SOURCE21}" docs/console/README.fedora
cp -p "%{SOURCE22}" docs/legacy-x11/README.fedora
cp -p "%{SOURCE23}" docs/legacy-x11/Xresources.example
cp -p "%{SOURCE24}" docs/README.fedora
%fontbuild
%install
make DESTDIR="%{buildroot}" PCF='$(PCF_10646_1) $(PCF_8BIT)' install-psf install-psf-ref install-psf-vgaw install-pcf
%ifnarch %{grub2_exclude_arches}
# install *.pf2 for the grub2 bootloader
install -m 0755 -d %{buildroot}%{grub2_fontdir}
install -m 0644 -t %{buildroot}%{grub2_fontdir} ter-*.pf2
%endif
# We cannot run mkfontdir in %%post because %%post is generated by %%_font_pkg
install -m 0755 -d %{buildroot}%{catalog}
ln -s "$(echo '%{catalog}/%{fontfamily}:unscaled' | sed -e 's|[^/]||g' -e 's|/|../|g' -e 's|/../$||')%{legacy_x11_fontdir}" "%{buildroot}%{catalog}/%{fontfamily}:unscaled"
test -d "%{buildroot}%{catalog}/%{fontfamily}:unscaled/"
mkfontdir %{buildroot}%{legacy_x11_fontdir}
test -f "%{buildroot}%{catalog}/%{fontfamily}:unscaled/fonts.dir"
# Check automatic fonts do not contain unmatched wildcards
font_counter=0
for fntfile in %{fonts}
do
if test -f "${fntfile}"; then
font_counter="$(expr "${font_counter}" + 1)"
else
echo "Missing font file or wildcard: ${fntfile}"
exit 2
fi
done
# Check automatic fonts are a potentially valid number of files
if test "$font_counter" -lt 18 || test "$font_counter" -gt 18
then
echo "Weird number of font files: $font_counter"
exit 2
fi
%fontinstall
cat<<EOF
/=======================================================================
| _arch %{_arch}
| _build_arch %{_build_arch}
| grub2_exclude_arches %{grub2_exclude_arches}
\=======================================================================
EOF
%check
%fontcheck
%fontfiles
%files legacy-x11
%doc README
%doc docs/legacy-x11/README.fedora
%doc docs/legacy-x11/Xresources.example
%{catalog}/%{fontfamily}:unscaled
%dir %{legacy_x11_fontdir}/
%{legacy_x11_fontdir}/fonts.dir
%{legacy_x11_fontdir}/ter-112b.pcf.gz
%{legacy_x11_fontdir}/ter-112n.pcf.gz
%{legacy_x11_fontdir}/ter-114b.pcf.gz
%{legacy_x11_fontdir}/ter-114n.pcf.gz
%{legacy_x11_fontdir}/ter-116b.pcf.gz
%{legacy_x11_fontdir}/ter-116n.pcf.gz
%{legacy_x11_fontdir}/ter-118b.pcf.gz
%{legacy_x11_fontdir}/ter-118n.pcf.gz
%{legacy_x11_fontdir}/ter-120b.pcf.gz
%{legacy_x11_fontdir}/ter-120n.pcf.gz
%{legacy_x11_fontdir}/ter-122b.pcf.gz
%{legacy_x11_fontdir}/ter-122n.pcf.gz
%{legacy_x11_fontdir}/ter-124b.pcf.gz
%{legacy_x11_fontdir}/ter-124n.pcf.gz
%{legacy_x11_fontdir}/ter-128b.pcf.gz
%{legacy_x11_fontdir}/ter-128n.pcf.gz
%{legacy_x11_fontdir}/ter-132b.pcf.gz
%{legacy_x11_fontdir}/ter-132n.pcf.gz
%{legacy_x11_fontdir}/ter-212b.pcf.gz
%{legacy_x11_fontdir}/ter-212n.pcf.gz
%{legacy_x11_fontdir}/ter-214b.pcf.gz
%{legacy_x11_fontdir}/ter-214n.pcf.gz
%{legacy_x11_fontdir}/ter-216b.pcf.gz
%{legacy_x11_fontdir}/ter-216n.pcf.gz
%{legacy_x11_fontdir}/ter-218b.pcf.gz
%{legacy_x11_fontdir}/ter-218n.pcf.gz
%{legacy_x11_fontdir}/ter-220b.pcf.gz
%{legacy_x11_fontdir}/ter-220n.pcf.gz
%{legacy_x11_fontdir}/ter-222b.pcf.gz
%{legacy_x11_fontdir}/ter-222n.pcf.gz
%{legacy_x11_fontdir}/ter-224b.pcf.gz
%{legacy_x11_fontdir}/ter-224n.pcf.gz
%{legacy_x11_fontdir}/ter-228b.pcf.gz
%{legacy_x11_fontdir}/ter-228n.pcf.gz
%{legacy_x11_fontdir}/ter-232b.pcf.gz
%{legacy_x11_fontdir}/ter-232n.pcf.gz
%{legacy_x11_fontdir}/ter-512b.pcf.gz
%{legacy_x11_fontdir}/ter-512n.pcf.gz
%{legacy_x11_fontdir}/ter-514b.pcf.gz
%{legacy_x11_fontdir}/ter-514n.pcf.gz
%{legacy_x11_fontdir}/ter-516b.pcf.gz
%{legacy_x11_fontdir}/ter-516n.pcf.gz
%{legacy_x11_fontdir}/ter-518b.pcf.gz
%{legacy_x11_fontdir}/ter-518n.pcf.gz
%{legacy_x11_fontdir}/ter-520b.pcf.gz
%{legacy_x11_fontdir}/ter-520n.pcf.gz
%{legacy_x11_fontdir}/ter-522b.pcf.gz
%{legacy_x11_fontdir}/ter-522n.pcf.gz
%{legacy_x11_fontdir}/ter-524b.pcf.gz
%{legacy_x11_fontdir}/ter-524n.pcf.gz
%{legacy_x11_fontdir}/ter-528b.pcf.gz
%{legacy_x11_fontdir}/ter-528n.pcf.gz
%{legacy_x11_fontdir}/ter-532b.pcf.gz
%{legacy_x11_fontdir}/ter-532n.pcf.gz
%{legacy_x11_fontdir}/ter-712b.pcf.gz
%{legacy_x11_fontdir}/ter-712n.pcf.gz
%{legacy_x11_fontdir}/ter-714b.pcf.gz
%{legacy_x11_fontdir}/ter-714n.pcf.gz
%{legacy_x11_fontdir}/ter-716b.pcf.gz
%{legacy_x11_fontdir}/ter-716n.pcf.gz
%{legacy_x11_fontdir}/ter-718b.pcf.gz
%{legacy_x11_fontdir}/ter-718n.pcf.gz
%{legacy_x11_fontdir}/ter-720b.pcf.gz
%{legacy_x11_fontdir}/ter-720n.pcf.gz
%{legacy_x11_fontdir}/ter-722b.pcf.gz
%{legacy_x11_fontdir}/ter-722n.pcf.gz
%{legacy_x11_fontdir}/ter-724b.pcf.gz
%{legacy_x11_fontdir}/ter-724n.pcf.gz
%{legacy_x11_fontdir}/ter-728b.pcf.gz
%{legacy_x11_fontdir}/ter-728n.pcf.gz
%{legacy_x11_fontdir}/ter-732b.pcf.gz
%{legacy_x11_fontdir}/ter-732n.pcf.gz
%{legacy_x11_fontdir}/ter-912b.pcf.gz
%{legacy_x11_fontdir}/ter-912n.pcf.gz
%{legacy_x11_fontdir}/ter-914b.pcf.gz
%{legacy_x11_fontdir}/ter-914n.pcf.gz
%{legacy_x11_fontdir}/ter-916b.pcf.gz
%{legacy_x11_fontdir}/ter-916n.pcf.gz
%{legacy_x11_fontdir}/ter-918b.pcf.gz
%{legacy_x11_fontdir}/ter-918n.pcf.gz
%{legacy_x11_fontdir}/ter-920b.pcf.gz
%{legacy_x11_fontdir}/ter-920n.pcf.gz
%{legacy_x11_fontdir}/ter-922b.pcf.gz
%{legacy_x11_fontdir}/ter-922n.pcf.gz
%{legacy_x11_fontdir}/ter-924b.pcf.gz
%{legacy_x11_fontdir}/ter-924n.pcf.gz
%{legacy_x11_fontdir}/ter-928b.pcf.gz
%{legacy_x11_fontdir}/ter-928n.pcf.gz
%{legacy_x11_fontdir}/ter-932b.pcf.gz
%{legacy_x11_fontdir}/ter-932n.pcf.gz
%{legacy_x11_fontdir}/ter-c12b.pcf.gz
%{legacy_x11_fontdir}/ter-c12n.pcf.gz
%{legacy_x11_fontdir}/ter-c14b.pcf.gz
%{legacy_x11_fontdir}/ter-c14n.pcf.gz
%{legacy_x11_fontdir}/ter-c16b.pcf.gz
%{legacy_x11_fontdir}/ter-c16n.pcf.gz
%{legacy_x11_fontdir}/ter-c18b.pcf.gz
%{legacy_x11_fontdir}/ter-c18n.pcf.gz
%{legacy_x11_fontdir}/ter-c20b.pcf.gz
%{legacy_x11_fontdir}/ter-c20n.pcf.gz
%{legacy_x11_fontdir}/ter-c22b.pcf.gz
%{legacy_x11_fontdir}/ter-c22n.pcf.gz
%{legacy_x11_fontdir}/ter-c24b.pcf.gz
%{legacy_x11_fontdir}/ter-c24n.pcf.gz
%{legacy_x11_fontdir}/ter-c28b.pcf.gz
%{legacy_x11_fontdir}/ter-c28n.pcf.gz
%{legacy_x11_fontdir}/ter-c32b.pcf.gz
%{legacy_x11_fontdir}/ter-c32n.pcf.gz
%{legacy_x11_fontdir}/ter-d12b.pcf.gz
%{legacy_x11_fontdir}/ter-d12n.pcf.gz
%{legacy_x11_fontdir}/ter-d14b.pcf.gz
%{legacy_x11_fontdir}/ter-d14n.pcf.gz
%{legacy_x11_fontdir}/ter-d16b.pcf.gz
%{legacy_x11_fontdir}/ter-d16n.pcf.gz
%{legacy_x11_fontdir}/ter-d18b.pcf.gz
%{legacy_x11_fontdir}/ter-d18n.pcf.gz
%{legacy_x11_fontdir}/ter-d20b.pcf.gz
%{legacy_x11_fontdir}/ter-d20n.pcf.gz
%{legacy_x11_fontdir}/ter-d22b.pcf.gz
%{legacy_x11_fontdir}/ter-d22n.pcf.gz
%{legacy_x11_fontdir}/ter-d24b.pcf.gz
%{legacy_x11_fontdir}/ter-d24n.pcf.gz
%{legacy_x11_fontdir}/ter-d28b.pcf.gz
%{legacy_x11_fontdir}/ter-d28n.pcf.gz
%{legacy_x11_fontdir}/ter-d32b.pcf.gz
%{legacy_x11_fontdir}/ter-d32n.pcf.gz
%{legacy_x11_fontdir}/ter-f12b.pcf.gz
%{legacy_x11_fontdir}/ter-f12n.pcf.gz
%{legacy_x11_fontdir}/ter-f14b.pcf.gz
%{legacy_x11_fontdir}/ter-f14n.pcf.gz
%{legacy_x11_fontdir}/ter-f16b.pcf.gz
%{legacy_x11_fontdir}/ter-f16n.pcf.gz
%{legacy_x11_fontdir}/ter-f18b.pcf.gz
%{legacy_x11_fontdir}/ter-f18n.pcf.gz
%{legacy_x11_fontdir}/ter-f20b.pcf.gz
%{legacy_x11_fontdir}/ter-f20n.pcf.gz
%{legacy_x11_fontdir}/ter-f22b.pcf.gz
%{legacy_x11_fontdir}/ter-f22n.pcf.gz
%{legacy_x11_fontdir}/ter-f24b.pcf.gz
%{legacy_x11_fontdir}/ter-f24n.pcf.gz
%{legacy_x11_fontdir}/ter-f28b.pcf.gz
%{legacy_x11_fontdir}/ter-f28n.pcf.gz
%{legacy_x11_fontdir}/ter-f32b.pcf.gz
%{legacy_x11_fontdir}/ter-f32n.pcf.gz
%{legacy_x11_fontdir}/ter-g12b.pcf.gz
%{legacy_x11_fontdir}/ter-g12n.pcf.gz
%{legacy_x11_fontdir}/ter-g14b.pcf.gz
%{legacy_x11_fontdir}/ter-g14n.pcf.gz
%{legacy_x11_fontdir}/ter-g16b.pcf.gz
%{legacy_x11_fontdir}/ter-g16n.pcf.gz
%{legacy_x11_fontdir}/ter-g18b.pcf.gz
%{legacy_x11_fontdir}/ter-g18n.pcf.gz
%{legacy_x11_fontdir}/ter-g20b.pcf.gz
%{legacy_x11_fontdir}/ter-g20n.pcf.gz
%{legacy_x11_fontdir}/ter-g22b.pcf.gz
%{legacy_x11_fontdir}/ter-g22n.pcf.gz
%{legacy_x11_fontdir}/ter-g24b.pcf.gz
%{legacy_x11_fontdir}/ter-g24n.pcf.gz
%{legacy_x11_fontdir}/ter-g28b.pcf.gz
%{legacy_x11_fontdir}/ter-g28n.pcf.gz
%{legacy_x11_fontdir}/ter-g32b.pcf.gz
%{legacy_x11_fontdir}/ter-g32n.pcf.gz
%{legacy_x11_fontdir}/ter-i12b.pcf.gz
%{legacy_x11_fontdir}/ter-i12n.pcf.gz
%{legacy_x11_fontdir}/ter-i14b.pcf.gz
%{legacy_x11_fontdir}/ter-i14n.pcf.gz
%{legacy_x11_fontdir}/ter-i16b.pcf.gz
%{legacy_x11_fontdir}/ter-i16n.pcf.gz
%{legacy_x11_fontdir}/ter-i18b.pcf.gz
%{legacy_x11_fontdir}/ter-i18n.pcf.gz
%{legacy_x11_fontdir}/ter-i20b.pcf.gz
%{legacy_x11_fontdir}/ter-i20n.pcf.gz
%{legacy_x11_fontdir}/ter-i22b.pcf.gz
%{legacy_x11_fontdir}/ter-i22n.pcf.gz
%{legacy_x11_fontdir}/ter-i24b.pcf.gz
%{legacy_x11_fontdir}/ter-i24n.pcf.gz
%{legacy_x11_fontdir}/ter-i28b.pcf.gz
%{legacy_x11_fontdir}/ter-i28n.pcf.gz
%{legacy_x11_fontdir}/ter-i32b.pcf.gz
%{legacy_x11_fontdir}/ter-i32n.pcf.gz
%{legacy_x11_fontdir}/ter-k12b.pcf.gz
%{legacy_x11_fontdir}/ter-k12n.pcf.gz
%{legacy_x11_fontdir}/ter-k14b.pcf.gz
%{legacy_x11_fontdir}/ter-k14n.pcf.gz
%{legacy_x11_fontdir}/ter-k16b.pcf.gz
%{legacy_x11_fontdir}/ter-k16n.pcf.gz
%{legacy_x11_fontdir}/ter-k18b.pcf.gz
%{legacy_x11_fontdir}/ter-k18n.pcf.gz
%{legacy_x11_fontdir}/ter-k20b.pcf.gz
%{legacy_x11_fontdir}/ter-k20n.pcf.gz
%{legacy_x11_fontdir}/ter-k22b.pcf.gz
%{legacy_x11_fontdir}/ter-k22n.pcf.gz
%{legacy_x11_fontdir}/ter-k24b.pcf.gz
%{legacy_x11_fontdir}/ter-k24n.pcf.gz
%{legacy_x11_fontdir}/ter-k28b.pcf.gz
%{legacy_x11_fontdir}/ter-k28n.pcf.gz
%{legacy_x11_fontdir}/ter-k32b.pcf.gz
%{legacy_x11_fontdir}/ter-k32n.pcf.gz
%{legacy_x11_fontdir}/ter-p12b.pcf.gz
%{legacy_x11_fontdir}/ter-p12n.pcf.gz
%{legacy_x11_fontdir}/ter-p14b.pcf.gz
%{legacy_x11_fontdir}/ter-p14n.pcf.gz
%{legacy_x11_fontdir}/ter-p16b.pcf.gz
%{legacy_x11_fontdir}/ter-p16n.pcf.gz
%{legacy_x11_fontdir}/ter-p18b.pcf.gz
%{legacy_x11_fontdir}/ter-p18n.pcf.gz
%{legacy_x11_fontdir}/ter-p20b.pcf.gz
%{legacy_x11_fontdir}/ter-p20n.pcf.gz
%{legacy_x11_fontdir}/ter-p22b.pcf.gz
%{legacy_x11_fontdir}/ter-p22n.pcf.gz
%{legacy_x11_fontdir}/ter-p24b.pcf.gz
%{legacy_x11_fontdir}/ter-p24n.pcf.gz
%{legacy_x11_fontdir}/ter-p28b.pcf.gz
%{legacy_x11_fontdir}/ter-p28n.pcf.gz
%{legacy_x11_fontdir}/ter-p32b.pcf.gz
%{legacy_x11_fontdir}/ter-p32n.pcf.gz
%{legacy_x11_fontdir}/ter-u12b.pcf.gz
%{legacy_x11_fontdir}/ter-u12n.pcf.gz
%{legacy_x11_fontdir}/ter-u14b.pcf.gz
%{legacy_x11_fontdir}/ter-u14n.pcf.gz
%{legacy_x11_fontdir}/ter-u16b.pcf.gz
%{legacy_x11_fontdir}/ter-u16n.pcf.gz
%{legacy_x11_fontdir}/ter-u18b.pcf.gz
%{legacy_x11_fontdir}/ter-u18n.pcf.gz
%{legacy_x11_fontdir}/ter-u20b.pcf.gz
%{legacy_x11_fontdir}/ter-u20n.pcf.gz
%{legacy_x11_fontdir}/ter-u22b.pcf.gz
%{legacy_x11_fontdir}/ter-u22n.pcf.gz
%{legacy_x11_fontdir}/ter-u24b.pcf.gz
%{legacy_x11_fontdir}/ter-u24n.pcf.gz
%{legacy_x11_fontdir}/ter-u28b.pcf.gz
%{legacy_x11_fontdir}/ter-u28n.pcf.gz
%{legacy_x11_fontdir}/ter-u32b.pcf.gz
%{legacy_x11_fontdir}/ter-u32n.pcf.gz
%{legacy_x11_fontdir}/ter-x12b.pcf.gz
%{legacy_x11_fontdir}/ter-x12n.pcf.gz
%{legacy_x11_fontdir}/ter-x14b.pcf.gz
%{legacy_x11_fontdir}/ter-x14n.pcf.gz
%{legacy_x11_fontdir}/ter-x16b.pcf.gz
%{legacy_x11_fontdir}/ter-x16n.pcf.gz
%{legacy_x11_fontdir}/ter-x18b.pcf.gz
%{legacy_x11_fontdir}/ter-x18n.pcf.gz
%{legacy_x11_fontdir}/ter-x20b.pcf.gz
%{legacy_x11_fontdir}/ter-x20n.pcf.gz
%{legacy_x11_fontdir}/ter-x22b.pcf.gz
%{legacy_x11_fontdir}/ter-x22n.pcf.gz
%{legacy_x11_fontdir}/ter-x24b.pcf.gz
%{legacy_x11_fontdir}/ter-x24n.pcf.gz
%{legacy_x11_fontdir}/ter-x28b.pcf.gz
%{legacy_x11_fontdir}/ter-x28n.pcf.gz
%{legacy_x11_fontdir}/ter-x32b.pcf.gz
%{legacy_x11_fontdir}/ter-x32n.pcf.gz
%files console
%doc README
%doc README-BG
%doc docs/console/README.fedora
%doc %{console_fontdir}/README.terminus
# VGAW fonts
%{console_fontdir}/ter-114v.psf.gz
%{console_fontdir}/ter-116v.psf.gz
%{console_fontdir}/ter-214v.psf.gz
%{console_fontdir}/ter-216v.psf.gz
%{console_fontdir}/ter-714v.psf.gz
%{console_fontdir}/ter-716v.psf.gz
%{console_fontdir}/ter-914v.psf.gz
%{console_fontdir}/ter-916v.psf.gz
%{console_fontdir}/ter-c14v.psf.gz
%{console_fontdir}/ter-c16v.psf.gz
%{console_fontdir}/ter-d14v.psf.gz
%{console_fontdir}/ter-d16v.psf.gz
%{console_fontdir}/ter-g14v.psf.gz
%{console_fontdir}/ter-g16v.psf.gz
%{console_fontdir}/ter-h14v.psf.gz
%{console_fontdir}/ter-h16v.psf.gz
%{console_fontdir}/ter-i14v.psf.gz
%{console_fontdir}/ter-i16v.psf.gz
%{console_fontdir}/ter-k14v.psf.gz
%{console_fontdir}/ter-k16v.psf.gz
%{console_fontdir}/ter-m14v.psf.gz
%{console_fontdir}/ter-m16v.psf.gz
%{console_fontdir}/ter-p14v.psf.gz
%{console_fontdir}/ter-p16v.psf.gz
%{console_fontdir}/ter-u14v.psf.gz
%{console_fontdir}/ter-u16v.psf.gz
%{console_fontdir}/ter-v14v.psf.gz
%{console_fontdir}/ter-v16v.psf.gz
# normal and bold (non-VGAW specific) fonts
%{console_fontdir}/ter-112n.psf.gz
%{console_fontdir}/ter-114b.psf.gz
%{console_fontdir}/ter-114n.psf.gz
%{console_fontdir}/ter-116b.psf.gz
%{console_fontdir}/ter-116n.psf.gz
%{console_fontdir}/ter-118b.psf.gz
%{console_fontdir}/ter-118n.psf.gz
%{console_fontdir}/ter-120b.psf.gz
%{console_fontdir}/ter-120n.psf.gz
%{console_fontdir}/ter-122b.psf.gz
%{console_fontdir}/ter-122n.psf.gz
%{console_fontdir}/ter-124b.psf.gz
%{console_fontdir}/ter-124n.psf.gz
%{console_fontdir}/ter-128b.psf.gz
%{console_fontdir}/ter-128n.psf.gz
%{console_fontdir}/ter-132b.psf.gz
%{console_fontdir}/ter-132n.psf.gz
%{console_fontdir}/ter-212n.psf.gz
%{console_fontdir}/ter-214b.psf.gz
%{console_fontdir}/ter-214n.psf.gz
%{console_fontdir}/ter-216b.psf.gz
%{console_fontdir}/ter-216n.psf.gz
%{console_fontdir}/ter-218b.psf.gz
%{console_fontdir}/ter-218n.psf.gz
%{console_fontdir}/ter-220b.psf.gz
%{console_fontdir}/ter-220n.psf.gz
%{console_fontdir}/ter-222b.psf.gz
%{console_fontdir}/ter-222n.psf.gz
%{console_fontdir}/ter-224b.psf.gz
%{console_fontdir}/ter-224n.psf.gz
%{console_fontdir}/ter-228b.psf.gz
%{console_fontdir}/ter-228n.psf.gz
%{console_fontdir}/ter-232b.psf.gz
%{console_fontdir}/ter-232n.psf.gz
%{console_fontdir}/ter-712n.psf.gz
%{console_fontdir}/ter-714b.psf.gz
%{console_fontdir}/ter-714n.psf.gz
%{console_fontdir}/ter-716b.psf.gz
%{console_fontdir}/ter-716n.psf.gz
%{console_fontdir}/ter-718b.psf.gz
%{console_fontdir}/ter-718n.psf.gz
%{console_fontdir}/ter-720b.psf.gz
%{console_fontdir}/ter-720n.psf.gz
%{console_fontdir}/ter-722b.psf.gz
%{console_fontdir}/ter-722n.psf.gz
%{console_fontdir}/ter-724b.psf.gz
%{console_fontdir}/ter-724n.psf.gz
%{console_fontdir}/ter-728b.psf.gz
%{console_fontdir}/ter-728n.psf.gz
%{console_fontdir}/ter-732b.psf.gz
%{console_fontdir}/ter-732n.psf.gz
%{console_fontdir}/ter-912n.psf.gz
%{console_fontdir}/ter-914b.psf.gz
%{console_fontdir}/ter-914n.psf.gz
%{console_fontdir}/ter-916b.psf.gz
%{console_fontdir}/ter-916n.psf.gz
%{console_fontdir}/ter-918b.psf.gz
%{console_fontdir}/ter-918n.psf.gz
%{console_fontdir}/ter-920b.psf.gz
%{console_fontdir}/ter-920n.psf.gz
%{console_fontdir}/ter-922b.psf.gz
%{console_fontdir}/ter-922n.psf.gz
%{console_fontdir}/ter-924b.psf.gz
%{console_fontdir}/ter-924n.psf.gz
%{console_fontdir}/ter-928b.psf.gz
%{console_fontdir}/ter-928n.psf.gz
%{console_fontdir}/ter-932b.psf.gz
%{console_fontdir}/ter-932n.psf.gz
%{console_fontdir}/ter-c12n.psf.gz
%{console_fontdir}/ter-c14b.psf.gz
%{console_fontdir}/ter-c14n.psf.gz
%{console_fontdir}/ter-c16b.psf.gz
%{console_fontdir}/ter-c16n.psf.gz
%{console_fontdir}/ter-c18b.psf.gz
%{console_fontdir}/ter-c18n.psf.gz
%{console_fontdir}/ter-c20b.psf.gz
%{console_fontdir}/ter-c20n.psf.gz
%{console_fontdir}/ter-c22b.psf.gz
%{console_fontdir}/ter-c22n.psf.gz
%{console_fontdir}/ter-c24b.psf.gz
%{console_fontdir}/ter-c24n.psf.gz
%{console_fontdir}/ter-c28b.psf.gz
%{console_fontdir}/ter-c28n.psf.gz
%{console_fontdir}/ter-c32b.psf.gz
%{console_fontdir}/ter-c32n.psf.gz
%{console_fontdir}/ter-d12n.psf.gz
%{console_fontdir}/ter-d14b.psf.gz
%{console_fontdir}/ter-d14n.psf.gz
%{console_fontdir}/ter-d16b.psf.gz
%{console_fontdir}/ter-d16n.psf.gz
%{console_fontdir}/ter-d18b.psf.gz
%{console_fontdir}/ter-d18n.psf.gz
%{console_fontdir}/ter-d20b.psf.gz
%{console_fontdir}/ter-d20n.psf.gz
%{console_fontdir}/ter-d22b.psf.gz
%{console_fontdir}/ter-d22n.psf.gz
%{console_fontdir}/ter-d24b.psf.gz
%{console_fontdir}/ter-d24n.psf.gz
%{console_fontdir}/ter-d28b.psf.gz
%{console_fontdir}/ter-d28n.psf.gz
%{console_fontdir}/ter-d32b.psf.gz
%{console_fontdir}/ter-d32n.psf.gz
%{console_fontdir}/ter-g12n.psf.gz
%{console_fontdir}/ter-g14b.psf.gz
%{console_fontdir}/ter-g14n.psf.gz
%{console_fontdir}/ter-g16b.psf.gz
%{console_fontdir}/ter-g16n.psf.gz
%{console_fontdir}/ter-g18b.psf.gz
%{console_fontdir}/ter-g18n.psf.gz
%{console_fontdir}/ter-g20b.psf.gz
%{console_fontdir}/ter-g20n.psf.gz
%{console_fontdir}/ter-g22b.psf.gz
%{console_fontdir}/ter-g22n.psf.gz
%{console_fontdir}/ter-g24b.psf.gz
%{console_fontdir}/ter-g24n.psf.gz
%{console_fontdir}/ter-g28b.psf.gz
%{console_fontdir}/ter-g28n.psf.gz
%{console_fontdir}/ter-g32b.psf.gz
%{console_fontdir}/ter-g32n.psf.gz
%{console_fontdir}/ter-h12n.psf.gz
%{console_fontdir}/ter-h14b.psf.gz
%{console_fontdir}/ter-h14n.psf.gz
%{console_fontdir}/ter-h16b.psf.gz
%{console_fontdir}/ter-h16n.psf.gz
%{console_fontdir}/ter-h18b.psf.gz
%{console_fontdir}/ter-h18n.psf.gz
%{console_fontdir}/ter-h20b.psf.gz
%{console_fontdir}/ter-h20n.psf.gz
%{console_fontdir}/ter-h22b.psf.gz
%{console_fontdir}/ter-h22n.psf.gz
%{console_fontdir}/ter-h24b.psf.gz
%{console_fontdir}/ter-h24n.psf.gz
%{console_fontdir}/ter-h28b.psf.gz
%{console_fontdir}/ter-h28n.psf.gz
%{console_fontdir}/ter-h32b.psf.gz
%{console_fontdir}/ter-h32n.psf.gz
%{console_fontdir}/ter-i12n.psf.gz
%{console_fontdir}/ter-i14b.psf.gz
%{console_fontdir}/ter-i14n.psf.gz
%{console_fontdir}/ter-i16b.psf.gz
%{console_fontdir}/ter-i16n.psf.gz
%{console_fontdir}/ter-i18b.psf.gz
%{console_fontdir}/ter-i18n.psf.gz
%{console_fontdir}/ter-i20b.psf.gz
%{console_fontdir}/ter-i20n.psf.gz
%{console_fontdir}/ter-i22b.psf.gz
%{console_fontdir}/ter-i22n.psf.gz
%{console_fontdir}/ter-i24b.psf.gz
%{console_fontdir}/ter-i24n.psf.gz
%{console_fontdir}/ter-i28b.psf.gz
%{console_fontdir}/ter-i28n.psf.gz
%{console_fontdir}/ter-i32b.psf.gz
%{console_fontdir}/ter-i32n.psf.gz
%{console_fontdir}/ter-k12n.psf.gz
%{console_fontdir}/ter-k14b.psf.gz
%{console_fontdir}/ter-k14n.psf.gz
%{console_fontdir}/ter-k16b.psf.gz
%{console_fontdir}/ter-k16n.psf.gz
%{console_fontdir}/ter-k18b.psf.gz
%{console_fontdir}/ter-k18n.psf.gz
%{console_fontdir}/ter-k20b.psf.gz
%{console_fontdir}/ter-k20n.psf.gz
%{console_fontdir}/ter-k22b.psf.gz
%{console_fontdir}/ter-k22n.psf.gz
%{console_fontdir}/ter-k24b.psf.gz
%{console_fontdir}/ter-k24n.psf.gz
%{console_fontdir}/ter-k28b.psf.gz
%{console_fontdir}/ter-k28n.psf.gz
%{console_fontdir}/ter-k32b.psf.gz
%{console_fontdir}/ter-k32n.psf.gz
%{console_fontdir}/ter-m12n.psf.gz
%{console_fontdir}/ter-m14b.psf.gz
%{console_fontdir}/ter-m14n.psf.gz
%{console_fontdir}/ter-m16b.psf.gz
%{console_fontdir}/ter-m16n.psf.gz
%{console_fontdir}/ter-m18b.psf.gz
%{console_fontdir}/ter-m18n.psf.gz
%{console_fontdir}/ter-m20b.psf.gz
%{console_fontdir}/ter-m20n.psf.gz
%{console_fontdir}/ter-m22b.psf.gz
%{console_fontdir}/ter-m22n.psf.gz
%{console_fontdir}/ter-m24b.psf.gz
%{console_fontdir}/ter-m24n.psf.gz
%{console_fontdir}/ter-m28b.psf.gz
%{console_fontdir}/ter-m28n.psf.gz
%{console_fontdir}/ter-m32b.psf.gz
%{console_fontdir}/ter-m32n.psf.gz
%{console_fontdir}/ter-p12n.psf.gz
%{console_fontdir}/ter-p14b.psf.gz
%{console_fontdir}/ter-p14n.psf.gz
%{console_fontdir}/ter-p16b.psf.gz
%{console_fontdir}/ter-p16n.psf.gz
%{console_fontdir}/ter-p18b.psf.gz
%{console_fontdir}/ter-p18n.psf.gz
%{console_fontdir}/ter-p20b.psf.gz
%{console_fontdir}/ter-p20n.psf.gz
%{console_fontdir}/ter-p22b.psf.gz
%{console_fontdir}/ter-p22n.psf.gz
%{console_fontdir}/ter-p24b.psf.gz
%{console_fontdir}/ter-p24n.psf.gz
%{console_fontdir}/ter-p28b.psf.gz
%{console_fontdir}/ter-p28n.psf.gz
%{console_fontdir}/ter-p32b.psf.gz
%{console_fontdir}/ter-p32n.psf.gz
%{console_fontdir}/ter-u12n.psf.gz
%{console_fontdir}/ter-u14b.psf.gz
%{console_fontdir}/ter-u14n.psf.gz
%{console_fontdir}/ter-u16b.psf.gz
%{console_fontdir}/ter-u16n.psf.gz
%{console_fontdir}/ter-u18b.psf.gz
%{console_fontdir}/ter-u18n.psf.gz
%{console_fontdir}/ter-u20b.psf.gz
%{console_fontdir}/ter-u20n.psf.gz
%{console_fontdir}/ter-u22b.psf.gz
%{console_fontdir}/ter-u22n.psf.gz
%{console_fontdir}/ter-u24b.psf.gz
%{console_fontdir}/ter-u24n.psf.gz
%{console_fontdir}/ter-u28b.psf.gz
%{console_fontdir}/ter-u28n.psf.gz
%{console_fontdir}/ter-u32b.psf.gz
%{console_fontdir}/ter-u32n.psf.gz
%{console_fontdir}/ter-v12n.psf.gz
%{console_fontdir}/ter-v14b.psf.gz
%{console_fontdir}/ter-v14n.psf.gz
%{console_fontdir}/ter-v16b.psf.gz
%{console_fontdir}/ter-v16n.psf.gz
%{console_fontdir}/ter-v18b.psf.gz
%{console_fontdir}/ter-v18n.psf.gz
%{console_fontdir}/ter-v20b.psf.gz
%{console_fontdir}/ter-v20n.psf.gz
%{console_fontdir}/ter-v22b.psf.gz
%{console_fontdir}/ter-v22n.psf.gz
%{console_fontdir}/ter-v24b.psf.gz
%{console_fontdir}/ter-v24n.psf.gz
%{console_fontdir}/ter-v28b.psf.gz
%{console_fontdir}/ter-v28n.psf.gz
%{console_fontdir}/ter-v32b.psf.gz
%{console_fontdir}/ter-v32n.psf.gz
%ifnarch %{grub2_exclude_arches}
%files grub2
%doc README
%doc README-BG
%{grub2_fontdir}/ter-u12b.pf2
%{grub2_fontdir}/ter-u12n.pf2
%{grub2_fontdir}/ter-u14b.pf2
%{grub2_fontdir}/ter-u14n.pf2
%{grub2_fontdir}/ter-u16b.pf2
%{grub2_fontdir}/ter-u16n.pf2
%{grub2_fontdir}/ter-u18b.pf2
%{grub2_fontdir}/ter-u18n.pf2
%{grub2_fontdir}/ter-u20b.pf2
%{grub2_fontdir}/ter-u20n.pf2
%{grub2_fontdir}/ter-u22b.pf2
%{grub2_fontdir}/ter-u22n.pf2
%{grub2_fontdir}/ter-u24b.pf2
%{grub2_fontdir}/ter-u24n.pf2
%{grub2_fontdir}/ter-u28b.pf2
%{grub2_fontdir}/ter-u28n.pf2
%{grub2_fontdir}/ter-u32b.pf2
%{grub2_fontdir}/ter-u32n.pf2
%endif
%changelog
%autochangelog