## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: mkfontscale Version: 1.2.4 Release: %autorelease Summary: Tool to generate legacy X11 font system index files License: MIT-open-group AND X11 AND MIT AND HPND-sell-variant URL: https://www.x.org Source0: https://www.x.org/pub/individual/app/%{name}-%{version}.tar.xz Patch0: mkfontscale-examine-all-encodings.patch BuildRequires: gcc BuildRequires: libtool BuildRequires: make BuildRequires: pkgconfig(fontenc) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xorg-macros) >= 1.8 BuildRequires: zlib-devel Conflicts: xorg-x11-font-utils < 7.5-51 # Used to be a separate upstream repo in xorg-x11-font-utils, now it's part # of mkfontscale. Keep the Provides alive though. Provides: mkfontdir = %{version} %description mkfontscale creates the fonts.scale and fonts.dir index files used by the legacy X11 font system. It now includes the mkfontdir script previously distributed separately for compatibility with older X11 versions. %prep %autosetup %build %configure --disable-silent-rules %make_build %install %make_install %check %make_build check %files %license COPYING %{_bindir}/mkfontdir %{_bindir}/mkfontscale %{_mandir}/man1/mkfontdir.1* %{_mandir}/man1/mkfontscale.1* %changelog ## START: Generated by rpmautospec * Tue May 05 2026 Filipe Rosset - 1.2.4-1 - update to mkfontscale-1.2.4 fixes rhbz#2294796 * Tue May 05 2026 Filipe Rosset - 1.2.3-6 - spec cleanup and modernization, sort BR in alphabetical order * Fri Jan 16 2026 Fedora Release Engineering - 1.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Thu Jul 24 2025 Fedora Release Engineering - 1.2.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Fri Jan 17 2025 Fedora Release Engineering - 1.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Thu Jul 18 2024 Peter Hutterer - 1.2.3-1 - mkfontscale 1.2.3 * Thu Jan 25 2024 Fedora Release Engineering - 1.2.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.2.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Sep 05 2023 Peter Hutterer - SPDX migration: update to SPDX-compatible identifiers * Thu Jul 20 2023 Fedora Release Engineering - 1.2.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Apr 04 2022 Peter Hutterer - 1.2.2-1 - mkfontscale 1.2.2 * Thu Jan 20 2022 Fedora Release Engineering - 1.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Apr 08 2021 Peter Hutterer 1.2.1-2 - Fix the Conflicts line to properly conflict with the -50 font-utils, without a {?dist} <= doesn't work as expected. * Thu Feb 25 2021 Peter Hutterer 1.2.1-1 - Split mkfontscale/mkfontdir out from xorg-x11-font-utils into its own package (#1932734) ## END: Generated by rpmautospec