e10e231
%global fontname gfs-philostratos
e10e231
%global fontconf 61-%{fontname}.conf
e10e231
e10e231
%global archivename GFS_PHILOSTRATOS
e10e231
e10e231
Name:    %{fontname}-fonts
e10e231
Version: 20090902
57d18be
Release: 5%{?dist}
e10e231
Summary: A revival of the “Griechische Antiqua” Greek typeface
e10e231
e10e231
Group:     User Interface/X
e10e231
License:   OFL
e10e231
URL:       http://www.greekfontsociety.gr/pages/en_typefaces19th.html
e10e231
Source0:   http://www.greekfontsociety.gr/%{archivename}.zip
e10e231
Source1:   %{name}-fontconfig.conf
45e6d63
e10e231
e10e231
BuildArch:     noarch
e10e231
BuildRequires: fontpackages-devel
e10e231
Requires:      fontpackages-filesystem
e10e231
e10e231
%description
e10e231
Griechische Antiqua was one of the historical Greek typefaces of the late 19th
e10e231
and early 20th century. It was designed by Μaurice Εduard Pinder, a German
e10e231
erudite artist and a member of the Academy of Science in Berlin. This is the
e10e231
most popular version which has appeared from 1870 to 1940 in the German
e10e231
speaking philological literature and in many classical and Byzantine editions
e10e231
by publishers like Teubner (in Leipzig) and Weidmann (in Berlin) such as:
e10e231
Anthology of Byzantine Melos by Wilhelm von Christ and Matthaios
e10e231
Paranikas (Leipzig 1871), Epicurea, by Heinrich Usener (Leipzig 1887),
e10e231
Mitrodorous by Alfred Koerte (Leipzig 1890), Pindar by Otto Schroeder (Leipzig
e10e231
1908), του Aeschylus by U. von Wilamowitz-Moellendorff (Berlin 1910, 1915),
e10e231
Bachylides by Bruno Snell (Leipzig, 1934),  The Vulgata by Alfred Rahlfs
e10e231
(Stuttgart 1935), Suidas Lexicon by Ada Adler (Leipzig 1928-1938) etc.
e10e231
e10e231
E.J. Kenney lamented the abandonment of the type after the 2nd World War as a
e10e231
great loss for Greek typography (“From Script to Print”, Greek Scripts: An
e10e231
illustrated Introduction, Society for the Promotion of Hellenic Studies, 2001,
e10e231
p. 69).
e10e231
e10e231
GFS Philostratos was digitized by George D. Matthiopoulos.
e10e231
e10e231
e10e231
%prep
e10e231
%setup -q -c -T
e10e231
unzip -j -L -q %{SOURCE0}
e10e231
chmod 0644 *.txt
e10e231
for txt in *.txt ; do
e10e231
   fold -s $txt > $txt.new
e10e231
   sed -i 's/\r//' $txt.new
e10e231
   touch -r $txt $txt.new
e10e231
   mv $txt.new $txt
e10e231
done
e10e231
e10e231
e10e231
%build
e10e231
e10e231
e10e231
%install
e10e231
rm -fr %{buildroot}
e10e231
e10e231
install -m 0755 -d %{buildroot}%{_fontdir}
e10e231
install -m 0644 -p *.otf %{buildroot}%{_fontdir}
e10e231
e10e231
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
e10e231
                   %{buildroot}%{_fontconfig_confdir}
e10e231
e10e231
install -m 0644 -p %{SOURCE1} \
e10e231
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
e10e231
ln -s %{_fontconfig_templatedir}/%{fontconf} \
e10e231
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
e10e231
e10e231
e10e231
%clean
e10e231
rm -fr %{buildroot}
e10e231
e10e231
e10e231
%_font_pkg -f %{fontconf} *.otf
e10e231
e10e231
%doc *.txt *.pdf
e10e231
e10e231
e10e231
%changelog
57d18be
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090902-5
57d18be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
57d18be
083dedc
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090902-4
083dedc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
083dedc
d418125
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090902-3
d418125
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d418125
eb50417
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090902-2
eb50417
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
eb50417
e10e231
e10e231
* Sun Sep  6 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
e10e231
- 20090902-1
e10e231
– initial packaging