diff --git a/.cvsignore b/.cvsignore index e69de29..0ba29ce 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +GFS_GARALDUS.zip diff --git a/gfs-garaldus-fonts-fontconfig.conf b/gfs-garaldus-fonts-fontconfig.conf new file mode 100644 index 0000000..1cf374f --- /dev/null +++ b/gfs-garaldus-fonts-fontconfig.conf @@ -0,0 +1,16 @@ + + + + + GFS Garaldus + + fantasy + + + + fantasy + + GFS Garaldus + + + diff --git a/gfs-garaldus-fonts.spec b/gfs-garaldus-fonts.spec new file mode 100644 index 0000000..de868e6 --- /dev/null +++ b/gfs-garaldus-fonts.spec @@ -0,0 +1,94 @@ +%define fontname gfs-garaldus +%define fontdir %{_datadir}/fonts/%{fontname} +%define fontconfdir %{_sysconfdir}/fonts/conf.d + +%define archivename GFS_GARALDUS + +Name: %{fontname}-fonts +Version: 20080707 +Release: 1%{?dist} +Summary: GFS Garaldus majuscule Greek font + +Group: User Interface/X +License: OFL +URL: http://www.greekfontsociety.gr/pages/en_typefaces_majuscules.html +Source0: http://www.greekfontsociety.gr/%{archivename}.zip +Source1: %{name}-fontconfig.conf + +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +BuildArch: noarch + +%description +As it is known, the Greek alphabet was used in majuscule form for over a +millennium before the minuscule letters gradually replaced it until they became +the official script in the 9th century A.D. Thereafter, majuscule letters were +confined to sparse use as initials or elaborate titles until the Italian +Renaissance. + +The new art of Typography, as well as the need of the humanists to mimic the +ancient Greco-Roman period brought back the extensive use of the majuscule +letter-forms in both Latin and Greek typography. Greek books of the time were +printed using the contemporary Byzantine hand with which they combined capital +letters modelled on the Roman antiquity, i.e. with thick and thin strokes and +serifs. At the same time the Byzantine majuscule tradition, principally used on +theological editions, remainned alive until the early 19th century. + +It has been designed by George D. Matthiopoulos. + + +%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 +# Nothing there + + +%install +rm -fr %{buildroot} + +install -m 0755 -d %{buildroot}%{fontdir} +install -m 0644 -p *.otf %{buildroot}%{fontdir} + +install -m 0755 -d %{buildroot}%{fontconfdir} +install -m 0644 -p %{SOURCE1} %{buildroot}%{fontconfdir}/61-%{fontname}.conf + + +%clean +rm -fr %{buildroot} + + +%post +if [ -x %{_bindir}/fc-cache ] ; then + %{_bindir}/fc-cache %{fontdir} || : +fi + + +%postun +if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then + %{_bindir}/fc-cache %{fontdir} || : +fi + + +%files +%defattr(0644,root,root,0755) +%doc *.txt + +%config(noreplace) %{fontconfdir}/61-%{fontname}.conf + +%dir %{fontdir}/ +%{fontdir}/*.otf + + +%changelog +* Mon Jul 21 2008 Nicolas Mailhot +- 20080707-1 +Φ initial packaging diff --git a/import.log b/import.log new file mode 100644 index 0000000..e50307a --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +gfs-garaldus-fonts-20080707-1_fc10:HEAD:gfs-garaldus-fonts-20080707-1.fc10.src.rpm:1216755659 diff --git a/sources b/sources index e69de29..f416b47 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7638996769c9162f0d8b8885c18af68f GFS_GARALDUS.zip