# SPDX-License-Identifier: MIT BuildArch: noarch %global forgeurl https://github.com/IBM/plex/ Version: 6.3.0 %forgemeta #global pre next.6 %global archivename plex-%{version}%{?pre:-%{pre}} Release: %{?pre:0.6}%{!?pre:1}%{?dist} License: OFL URL: https://www.ibm.com/plex/ %global foundry IBM %global fontlicenses LICENSE.txt %global fontdocs *.md %global common_description %{expand: IBM wanted Plex to be a distinctive, yet timeless workhorse — an alternative to its previous corporate font family, “Helvetica Neue”, for this new era. The Grotesque style was the perfect fit. Not only do Grotesque font families balance human and rational elements, the Grotesque style also came about during the Industrial Age, when IBM was born. } %global fontfamily1 Plex Sans %global fontsummary1 IBM Plex Sans, the new grotesque IBM corporate font family %global fontpkgheader1 %{expand: Suggests: font(ibmplexsansmono) Obsoletes: ibm-plex-fonts-common < %{version}-%{release} Obsoletes: ibm-plex-sans-arabic-fonts < %{version}-%{release} Obsoletes: ibm-plex-sans-condensed-fonts < %{version}-%{release} Obsoletes: ibm-plex-sans-devanagari-fonts < %{version}-%{release} Obsoletes: ibm-plex-sans-hebrew-fonts < %{version}-%{release} Obsoletes: ibm-plex-sans-thai-fonts < %{version}-%{release} } %global fonts1 IBM-Plex-{Sans,Sans-*}/fonts/complete/otf/*otf IBM-Plex-Sans-Variable/fonts/complete/ttf/*ttf %global fontsex1 IBM-Plex-Sans-Thai-Looped/fonts/complete/otf/*otf %global fontconfngs1 %{SOURCE11} %global fontdescription1 %{expand: %{common_description} This package provides the grotesque sans-serif variable-width IBM Plex Sans, the main font family of the Plex set.} %global fontfamily2 Plex Mono %global fontsummary2 IBM Plex Mono, the monospace grotesque coding font family of the Plex set %global fonts2 IBM-Plex-Mono/fonts/complete/otf/*otf %global fontconfngs2 %{SOURCE12} %global fontdescription2 %{expand: %{common_description} This package provides the grotesque sans-serif fixed-width IBM Plex Mono, a little something for developers, because monospace does not need to be monotone.} %global fontfamily3 Plex Serif %global fontsummary3 IBM Plex Serif, the hybrid grotesque serif font family of the Plex set %global fonts3 IBM-Plex-Serif/fonts/complete/otf/*otf %global fontconfngs3 %{SOURCE13} %global fontdescription3 %{expand: %{common_description} This package provides the hybrid grotesque serif variable-width IBM Plex Serif, combining the best of Plex, Bodoni, and Janson into a contemporary serif.} %global fontfamily4 Plex Sans Thai Looped %global fontsummary4 IBM Plex Sans Thai Looped, a formal variant of IBM Plex Sans for Thai %global fontpkgheader %{expand: Requires: ibm-plex-sans-fonts Enhances: ibm-plex-sans-fonts } %global fonts4 IBM-Plex-Sans-Thai-Looped/fonts/complete/otf/*otf %global fontconfngs4 %{SOURCE14} %global fontdescription4 %{expand: %{common_description} This package provides a more formal and traditional form of Thai for the grotesque sans-serif variable-width IBM Plex Sans, that includes loops.} Source0: %{forgesource} Source11: 58-%{fontpkgname1}.xml Source12: 58-%{fontpkgname2}.xml Source13: 58-%{fontpkgname3}.xml Source14: 59-%{fontpkgname4}.xml Name: ibm-plex-fonts Summary: IBM Plex, the new IBM set of coordinated grotesque corporate fonts %description %filterdescr -v common_description %fontpkg -a %fontmetapkg %prep %forgesetup %build %fontbuild -a %install %fontinstall -a %check %fontcheck -a %fontfiles -a %changelog * Thu Jul 13 2023 Tomas Chang - 6.3.0-1 - Update to 6.3.0 * Thu Nov 17 2022 Tomas Chang - 6.1.1-1 - Update to 6.1.1 * Wed Jul 13 2022 Tomas Chang - 6.0.2-1 - Update to 6.0.2 * Wed Feb 16 2022 Tomas Chang - 6.0.0-1 - Update to latest * Fri Jul 16 2021 Tomas Chang - 6.0.0-next.6-0.6 - Update to latest * Thu Apr 02 2020 Nicolas Mailhot - 4.0.2-6 💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Thu Apr 02 2020 Nicolas Mailhot - 4.0.2-5 👻 Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Sat Feb 22 2020 Nicolas Mailhot - 4.0.2-4 ✅ Rebuild with fonts-rpm-macros 2.0.2 * Sat Feb 15 2020 Nicolas Mailhot - 4.0.2-3 ✅ Convert to fonts-rpm-macros use * Sun Sep 08 2019 Michael Kuhn - 2.0.0-1 - Initial package