# SPDX-License-Identifier: MIT Version: 20060908 Release: 39%{?dist} URL: http://www.greekfontsociety-gfs.gr/typefaces/19th_century %global foundry GFS %global fontlicense OFL %global fontlicenses OFL.txt %global fontdocs *.txt %global fontdocsex %{fontlicenses} %global fontfamily Porson %global fontsummary GFS Porson, a 19th century Greek font family %global fonts *.otf %global fontconfngs %{SOURCE10} %global fontdescription %{expand: In England, during the 1790’s, Cambridge University Press decided to procure a new set of Greek types. The university’s great scholar of Classics, Richard Porson was asked to produce a typeface based on his handsome handwriting and Richard Austin was commissioned to cut the types. The type was completed in 1808, after the untimely death of Porson the previous year. Its success was immediate and since then the classical editions in Great Britain and the U.S.A. use it, almost invariably. In 1913, Monotype released the typeface with some corrections, notably replacing the upright capitals suggested by Porson with inclined ones. In Greece the typeface was used under the name Pelasgika type. GFS Porson is based on the Monotype version, though using upright capitals, as in the original.} %global archivename %{lua:t=string.gsub(rpm.expand("%{foundry} %{fontfamily}"), "[%p%s]+", "_");print(t)} Source0: http://www.greekfontsociety-gfs.gr/_assets/fonts/%{archivename}.zip Source10: 61-%{fontpkgname}.xml %fontpkg %package doc Summary: Optional documentation files of %{name} BuildArch: noarch %description doc This package provides optional documentation files shipped with %{name}. %prep %setup -q -c -T unzip -j -q %{SOURCE0} %linuxtext *.txt %build %fontbuild %install %fontinstall %check %fontcheck %fontfiles %files doc %defattr(644, root, root, 0755) %license OFL.txt %doc *.pdf %changelog * Thu Jul 21 2022 Fedora Release Engineering - 20060908-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Feb 25 2022 Akira TAGOH - 20060908-38 - Fix FTBFS * Thu Jan 20 2022 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Apr 27 2020 Nicolas Mailhot - 20060908-33 🐞 Workaround Fedora problems created by rpm commit 93604e2 * Thu Apr 02 2020 Nicolas Mailhot - 20060908-32 💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Thu Apr 02 2020 Nicolas Mailhot - 20060908-31 👻 Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Sat Feb 22 2020 Nicolas Mailhot - 20060908-30 ✅ Rebuild with fonts-rpm-macros 2.0.2 * Sat Feb 15 2020 Nicolas Mailhot - 20060908-29 ✅ Convert to fonts-rpm-macros use * Sun Nov 25 2007 Nicolas Mailhot - 20060908-2 ✅ Initial packaging