# SPDX-License-Identifier: MIT Version: 20070616 Release: 36%{?dist} URL: http://www.greekfontsociety-gfs.gr/typefaces/20th_21st_century %global foundry GFS %global fontlicense OFL %global fontlicenses OFL.txt %global fontdocs *.txt %global fontdocsex %{fontlicenses} %global fontfamily Didot %global fontsummary GFS Didot, a 20th century Greek font family %global fonts *.otf %global fontconfngs %{SOURCE1} %global fontdescription %{expand: Didot’s type was the base for a new font, GFS Didot (1994) which was designed by Takis Katsoulidis, and digitized by George Matthiopoulos. The typeface is accompanied by a matching Latin alphabet based on Hermann Zapf’s PaLatino.} %fontpkg %docpkg %sourcelist %global archivename %{lua:t=string.gsub(rpm.expand("%{foundry} %{fontfamily}"), "[%p%s]+", "_");print(t)} http://www.greekfontsociety-gfs.gr/_assets/fonts/%{archivename}.zip 60-%{fontname}.xml %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 * Sat May 30 2020 Nicolas Mailhot - 20070616-36 🚒 Rebuild with fonts-rpm-macros 4.0.2, fixing rpm 4.15 regressions * Wed Apr 29 2020 Nicolas Mailhot - 20070616-35 🆕 Update to use fonts-rpm-macros 4.x * Mon Apr 27 2020 Nicolas Mailhot - 20070616-34 🐞 Workaround Fedora problems created by rpm commit 93604e2 * Thu Apr 02 2020 Nicolas Mailhot - 20070616-33 💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Thu Apr 02 2020 Nicolas Mailhot - 20070616-32 👻 Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid * Mon Mar 02 2020 Nicolas Mailhot - 20070616-31 ✅ Lint, lint, lint and lint again * Sat Feb 22 2020 Nicolas Mailhot - 20070616-30 ✅ Rebuild with fonts-rpm-macros 2.0.2 * Sat Feb 15 2020 Nicolas Mailhot - 20070616-29 ✅ Convert to fonts-rpm-macros use * Sun Nov 25 2007 Nicolas Mailhot - 20070616-2 ✅ Initial packaging