Compare commits

..

8 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

View file

@ -3,18 +3,18 @@
########################################################################
Version: 4.49.1
Release: 1
Release: %autorelease -b 6
URL: http://terminus-font.sourceforge.net/
%global foundry %{nil}
%global fontlicense OFL
%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
%global fontlicenses OFL.TXT
# exclusions from the “fontlicenses” list
%global fontlicensesex %{nil}
# documentation files
@ -26,7 +26,7 @@ URL: http://terminus-font.sourceforge.net/
%global fontsummary Clean fixed width font
# A container for additional subpackage declarations.
%global fontpkgheader %{expand:
#Obsoletes:
#Obsoletes:
}
#
# More shell glob lists:
@ -116,13 +116,12 @@ Source24: %{name}-README.fedora
# For generating *.otb (OpenType bitmap font) files
Source42: bitmapfonts2otb.py
BuildRequires: make
# EL9 does not have /usr/bin/ftdump, thus remove it
# Nor does the parent bitmapfonts2otb.py used in build
BuildRequires: /usr/bin/ftdump
BuildRequires: python3 > 3.5.0
# For generating legacy fonts (*.pcf)
BuildRequires: /usr/bin/bdftopcf
BuildRequires: /usr/bin/mkfontdir
BuildRequires: mkfontdir
ExcludeArch: %{grub2_exclude_arches}
@ -137,7 +136,7 @@ Requires: kbd
# For /usr/lib/kbd
Requires: kbd-misc
Summary: Clean fixed width font (console version)
License: OFL
License: OFL-1.1
%description console
%fontdescription
@ -148,7 +147,7 @@ This package contains the fonts to use with the Linux console.
%package grub2
Requires: grub2-common
Summary: Clean fixed width font (grub2 version)
License: OFL
License: OFL-1.1
%description grub2
%fontdescription
@ -158,7 +157,7 @@ This package contains the fonts to use with the grub2 boot loader.
%package legacy-x11
Summary: Clean fixed width font (legacy PCF version)
License: OFL
License: OFL-1.1
# Require the fontconfig file
Requires: %{name} = %{evr}
@ -222,7 +221,7 @@ 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/"
/usr/bin/mkfontdir %{buildroot}%{legacy_x11_fontdir}
mkfontdir %{buildroot}%{legacy_x11_fontdir}
test -f "%{buildroot}%{catalog}/%{fontfamily}:unscaled/fonts.dir"
# Check automatic fonts do not contain unmatched wildcards
@ -824,6 +823,4 @@ EOF
%changelog
* Thu Nov 09 2023 Ding-Yi Chen <dchen@redhat.com> - 4.49.1-1
- Initial EPEL-9 import
- Removed unused BuildRequires: /usr/bin/ftdump
%autochangelog