From c59ea6a0e35b2d24ab4bf29b9112751a2a15b141 Mon Sep 17 00:00:00 2001 From: nim Date: Dec 17 2008 19:27:14 +0000 Subject: update for new fonts guidelines --- diff --git a/gfs-artemisia-fonts-fontconfig.conf b/gfs-artemisia-fonts-fontconfig.conf index a083aaf..a750518 100644 --- a/gfs-artemisia-fonts-fontconfig.conf +++ b/gfs-artemisia-fonts-fontconfig.conf @@ -2,15 +2,15 @@ - GFS Artemisia - - serif - - - serif GFS Artemisia + + GFS Artemisia + + serif + + diff --git a/gfs-artemisia-fonts.spec b/gfs-artemisia-fonts.spec index fc1e28c..4703af5 100644 --- a/gfs-artemisia-fonts.spec +++ b/gfs-artemisia-fonts.spec @@ -1,22 +1,23 @@ -%define fontname gfs-artemisia -%define fontdir %{_datadir}/fonts/%{fontname} -%define fontconfdir %{_sysconfdir}/fonts/conf.d +%define fontname gfs-artemisia +%define fontconf 60-%{fontname}.conf %define archivename GFS_ARTEMISIA_OT Name: %{fontname}-fonts Version: 20070415 -Release: 7%{?dist} +Release: 9%{?dist} Summary: GFS Artemisia fonts -Group: User Interface/X -License: OFL -URL: http://www.greekfontsociety.gr/pages/en_typefaces20th.html -Source0: http://www.greekfontsociety.gr/%{archivename}.zip -Source1: %{name}-fontconfig.conf - +Group: User Interface/X +License: OFL +URL: http://www.greekfontsociety.gr/pages/en_typefaces20th.html +Source0: http://www.greekfontsociety.gr/%{archivename}.zip +Source1: %{name}-fontconfig.conf BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) -BuildArch: noarch + +BuildArch: noarch +BuildRequires: fontpackages-devel +Requires: fontpackages-filesystem %description The type family GFS Artemisia was designed by the painter-engraver Takis @@ -41,46 +42,41 @@ 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}%{_fontdir} +install -m 0644 -p *.otf %{buildroot}%{_fontdir} + +install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ + %{buildroot}%{_fontconfig_confdir} -install -m 0755 -d %{buildroot}%{fontconfdir} -install -m 0644 -p %{SOURCE1} %{buildroot}%{fontconfdir}/60-%{fontname}.conf +install -m 0644 -p %{SOURCE1} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf} +ln -s %{_fontconfig_templatedir}/%{fontconf} \ + %{buildroot}%{_fontconfig_confdir}/%{fontconf} %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 +%_font_pkg -f %{fontconf} *.otf - -%files -%defattr(0644,root,root,0755) %doc *.txt *.pdf +%dir %{_fontdir} -%config(noreplace) %{fontconfdir}/60-%{fontname}.conf - -%dir %{fontdir}/ -%{fontdir}/*.otf +%changelog +* Sun Nov 23 2008 +- 20070415-9 +ᛤ ‘rpm-fonts’ renamed to “fontpackages” +* Fri Nov 14 2008 +- 20070415-8 +▤ Rebuild using new « rpm-fonts » -%changelog * Fri Jul 11 2008 - 20070415-7 ⌖ Fedora 10 alpha general package cleanup diff --git a/import.log b/import.log index 5ab663e..2a2a20e 100644 --- a/import.log +++ b/import.log @@ -1 +1,2 @@ gfs-artemisia-fonts-20070415-7_fc10:HEAD:gfs-artemisia-fonts-20070415-7.fc10.src.rpm:1215807827 +gfs-artemisia-fonts-20070415-9_fc11:HEAD:gfs-artemisia-fonts-20070415-9.fc11.src.rpm:1229542008