45194fb
# SPDX-License-Identifier: MIT
4039321
Version: 20070616
3d1a82e
Release: 41%{?dist}
45194fb
URL:     http://www.greekfontsociety-gfs.gr/typefaces/20th_21st_century
45194fb
45194fb
%global foundry           GFS
45194fb
%global fontlicense       OFL
45194fb
%global fontlicenses      OFL.txt
45194fb
%global fontdocs          *.txt
45194fb
%global fontdocsex        %{fontlicenses}
45194fb
45194fb
%global fontfamily        Didot
45194fb
%global fontsummary       GFS Didot, a 20th century Greek font family
45194fb
%global fonts             *.otf
45194fb
%global fontconfngs       %{SOURCE10}
45194fb
%global fontdescription   %{expand:
45194fb
Didot’s type was the base for a new font, GFS Didot (1994) which was designed
587ad3c
by Takis Katsoulidis, and digitized by George Matthiopoulos. The typeface is
587ad3c
accompanied by a matching Latin alphabet based on Hermann Zapf’s PaLatino.}
4039321
45194fb
%global archivename %{lua:t=string.gsub(rpm.expand("%{foundry} %{fontfamily}"), "[%p%s]+", "_");print(t)}
30f7065
45194fb
Source0:  http://www.greekfontsociety-gfs.gr/_assets/fonts/%{archivename}.zip
45194fb
Source10: 60-%{fontpkgname}.xml
4039321
45194fb
%fontpkg
4039321
Akira TAGOH 1dac812
%package doc
Akira TAGOH 1dac812
Summary:   Optional documentation files of %{name}
45194fb
BuildArch: noarch
45194fb
%description doc
aed72c2
This package provides optional documentation files shipped with
Akira TAGOH 1dac812
%{name}.
4039321
4039321
%prep
74fc64c
%setup -q -c -T
45194fb
unzip -j -q  %{SOURCE0}
45194fb
%linuxtext *.txt
4039321
4039321
%build
45194fb
%fontbuild
4039321
4039321
%install
45194fb
%fontinstall
4039321
45194fb
%check
45194fb
%fontcheck
4039321
45194fb
%fontfiles
4039321
45194fb
%files doc
aed72c2
%defattr(644, root, root, 0755)
45194fb
%license OFL.txt
45194fb
%doc *.pdf
4039321
30f7065
%changelog
3d1a82e
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20070616-41
3d1a82e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
3d1a82e
5b04986
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20070616-40
5b04986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
5b04986
Akira TAGOH 1dac812
* Tue Feb 22 2022 Akira TAGOH <tagoh@redhat.com>
Akira TAGOH 1dac812
- 20070616-39
Akira TAGOH 1dac812
- Fix FTBFS.
Akira TAGOH 1dac812
65e7491
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org>
65e7491
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
65e7491
ee80905
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org>
ee80905
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
ee80905
14c3c6b
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org>
14c3c6b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
14c3c6b
6e6fedb
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org>
6e6fedb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
6e6fedb
7d79fe6
* Mon Apr 27 2020 Nicolas Mailhot <nim@fedoraproject.org>
7d79fe6
- 20070616-34
7d79fe6
🐞 Workaround Fedora problems created by rpm commit 93604e2
7d79fe6
1c16a4c
* Thu Apr 02 2020 Nicolas Mailhot <nim@fedoraproject.org>
aec3fbb
- 20070616-33
aec3fbb
💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are
aec3fbb
  valid
aec3fbb
aec3fbb
* Thu Apr 02 2020 Nicolas Mailhot <nim@fedoraproject.org>
1c16a4c
- 20070616-32
1c16a4c
👻 Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid
1c16a4c
587ad3c
* Mon Mar 02 2020 Nicolas Mailhot <nim@fedoraproject.org>
587ad3c
- 20070616-31
587ad3c
✅ Lint, lint, lint and lint again
587ad3c
e2b35a1
* Sat Feb 22 2020 Nicolas Mailhot <nim@fedoraproject.org>
e2b35a1
- 20070616-30
e2b35a1
✅ Rebuild with fonts-rpm-macros 2.0.2
e2b35a1
45194fb
* Sat Feb 15 2020 Nicolas Mailhot <nim@fedoraproject.org>
45194fb
- 20070616-29
45194fb
✅ Convert to fonts-rpm-macros use
c3835fa
45194fb
* Sun Nov 25 2007 Nicolas Mailhot <nim@fedoraproject.org>
45194fb
- 20070616-2
45194fb
✅ Initial packaging