%global fontname gfs-complutum %global fontconf 61-%{fontname}.conf %define _fontdir %{_datadir}/fonts %define _fontconfig_confdir %{_sysconfdir}/fonts/conf.d %define _fontconfig_templatedir %{_datadir}/fontconfig/conf.avail %global archivename GFS_COMPLUTUM_OT Name: %{fontname}-fonts Version: 20070413 Release: 1 Summary: GFS Complutum Greek font Group: User Interface/X License: OFL URL: http://www.greekfontsociety.gr/pages/en_typefaces16th.html Source0: http://www.greekfontsociety.gr/%{archivename}.zip Source1: %{name}-fontconfig.conf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: coreutils, sed, unzip Requires: fontconfig %description The ancient Greek alphabet evolved during the millenium of the Byzantine era from majuscule to minuscule form and gradually incorporated a wide array of ligatures, flourishes and other decorative nuances which defined its extravagant cursive character. Until the late 15th century, typographers who had to deal with Greek text avoided emulating this complicated hand; instead they would use only the twenty four letters of the alphabet separately, often without accents and other diacritics. A celebrated example is the type cut and cast for the typesetting of the New Testament in the so-called Complutensian Polyglot Bible (1512), edited by the Greek scholar, Demetrios Doukas. The type was cut by Arnaldo Guillén de Brocar and the whole edition was a commision by cardinal Francisco Ximénez, in the University of Alcalá (Complutum), Spain. It is one of the best and most representative models of this early tradition in Greek typography which was revived in the early 20th century by the eminent bibliographer of the British Library, Richard Proctor. A font named Otter Greek was cut in 1903 and a book was printed using the new type. The original type had no capitals so Proctor added his own, which were rather large and ill-fitted. The early death of Proctor, the big size of the font and the different aesthetic notions of the time were the reasons that Otter Greek was destined to oblivion, as a curiosity. Greek Font Society incorporated Brocar's famous and distinctive type in the commemorative edition of Pindar's Odes for the Athens Olympics (2004) and the type with a new set of capitals, revived digitaly by George D. Matthiopoulos, is now available for general use. %prep %setup -q -c -T export PATH=/opt/freeware/bin:$PATH 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 [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_fontdir}/%{fontname} chmod 0755 ${RPM_BUILD_ROOT}%{_fontdir}/%{fontname} cp *.otf ${RPM_BUILD_ROOT}%{_fontdir}/%{fontname}/ chmod 0644 ${RPM_BUILD_ROOT}%{_fontdir}/%{fontname}/* mkdir -p ${RPM_BUILD_ROOT}%{_fontconfig_confdir} mkdir -p ${RPM_BUILD_ROOT}%{_fontconfig_templatedir} cp %{SOURCE1} ${RPM_BUILD_ROOT}%{_fontconfig_templatedir}/%{fontconf}.conf ln -sf %{_fontconfig_templatedir}/%{fontconf}.conf ${RPM_BUILD_ROOT}%{_fontconfig_confdir}/%{fontconf}.conf %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc *.txt *.pdf %{_fontconfig_confdir}/%{fontconf}.conf %{_fontconfig_templatedir}/%{fontconf}.conf %dir %{_fontdir}/%{fontname} %{_fontdir}/%{fontname}/*.otf %changelog * Mon Jun 25 2012 Michael Perzl - 20070413-1 - first version for AIX V5.1 and higher