%global fontname gfs-bodoni-classic %global fontconf 61-%{fontname}.conf %global archivename GFS_BODONICLASS_OT Name: %{fontname}-fonts Version: 20070415 Release: 21%{?dist} Summary: GFS Bodoni Classic oblique Greek font License: OFL URL: http://www.greekfontsociety.gr/pages/en_typefaces18th.html Source0: http://www.greekfontsociety.gr/%{archivename}.zip Source1: %{name}-fontconfig.conf Source2: %{fontname}.metainfo.xml BuildArch: noarch BuildRequires: fontpackages-devel Requires: fontpackages-filesystem %description Giambattista Bodoni was the most prolific Italian typecutter of the 18th century. While he worked in the Vatican Press he was involved in the typecutting of “exotic” languages for which catholic literature was printed. When he established his own press in Parma he did publish many books of the classics with his own Greek typefaces in the last quarter of the 18th century. He was among the first European typecutters to move away from the byzantine cursive tradition with the numerous ligatures which was the norm until then. His Greek types influenced many subsequent designers, yet they fell in disuse by the middle of the 19th century. GFS presented Bodoni's original Greek typeface in the commemorative edition of Pindar's Olympian Odes (2004), in digital version by George D. Matthiopoulos, and is now available as free ware for the general public. In the OpenType features, under ligatures, one may alternately use diphthongs with the accents placed in between the characters, as Giambattista Bodoni did when setting greek texts. %prep %setup -q -c -T unzip -j -L -q %{SOURCE0} chmod 0644 *.txt for txt in *.txt ; do fold -s $txt > $txt.new sed -i 's/\r//' $txt.new touch -r $txt $txt.new mv $txt.new $txt done %build %install install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p *.otf %{buildroot}%{_fontdir} install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ %{buildroot}%{_fontconfig_confdir} install -m 0644 -p %{SOURCE1} \ %{buildroot}%{_fontconfig_templatedir}/%{fontconf} ln -s %{_fontconfig_templatedir}/%{fontconf} \ %{buildroot}%{_fontconfig_confdir}/%{fontconf} # Add AppStream metadata install -Dm 0644 -p %{SOURCE2} \ %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml %_font_pkg -f %{fontconf} *.otf %doc *.txt *.pdf %{_datadir}/appdata/%{fontname}.metainfo.xml %changelog * Wed Feb 03 2016 Fedora Release Engineering - 20070415-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 20070415-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Oct 16 2014 Parag Nemade - 20070415-19 - Add metainfo file to show this font in gnome-software * Sat Jun 07 2014 Fedora Release Engineering - 20070415-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 20070415-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 20070415-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 20070415-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 20070415-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 20070415-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering - 20070415-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering - 20070415-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Feb 16 2009 Nicolas Mailhot - 20070415-10 — prepare for F11 mass rebuild, new rpm and new fontpackages * Sun Nov 23 2008 Nicolas Mailhot - 20070415-9 ᛤ ‘rpm-fonts’ renamed to “fontpackages” * Fri Nov 14 2008 Nicolas Mailhot - 20070415-8 ▤ Rebuild using new « rpm-fonts » * Fri Jul 11 2008 Nicolas Mailhot - 20070415-7 ⌖ Fedora 10 alpha general package cleanup * Wed Apr 30 2008 Nicolas Mailhot - 20070415-6 ⥁ Yet another prep fix® * Mon Mar 17 2008 Nicolas Mailhot - 20070415-5 ⚰ RIP OSX zip metadata. You won't be missed. * Sun Feb 17 2008 Nicolas Mailhot - 20070415-3 ⌂ Update URL * Mon Nov 26 2007 Nicolas Mailhot ☠ 20070415-2 ⚑ Re-size description so the paupers that can not afford a 80th column in their terminal are not discriminated against. (Courtesy: the 79-column-liberation-front cell that subverted the rpmlint codebase) * Sun Nov 25 2007 Nicolas Mailhot ☺ 20070415-1 ✓ initial packaging