diff --git a/gfs-fleischman-fonts-fontconfig.conf b/gfs-fleischman-fonts-fontconfig.conf
index 3fe23d0..6c936c6 100644
--- a/gfs-fleischman-fonts-fontconfig.conf
+++ b/gfs-fleischman-fonts-fontconfig.conf
@@ -2,15 +2,15 @@
- GFS Fleischman
-
- fantasy
-
-
-
fantasy
GFS Fleischman
+
+ GFS Fleischman
+
+ fantasy
+
+
diff --git a/gfs-fleischman-fonts.spec b/gfs-fleischman-fonts.spec
index f620106..2db8042 100644
--- a/gfs-fleischman-fonts.spec
+++ b/gfs-fleischman-fonts.spec
@@ -1,22 +1,23 @@
-%define fontname gfs-fleischman
-%define fontdir %{_datadir}/fonts/%{fontname}
-%define fontconfdir %{_sysconfdir}/fonts/conf.d
+%define fontname gfs-fleischman
+%define fontconf 61-%{fontname}.conf
%define archivename GFS_FLEISCHMAN
Name: %{fontname}-fonts
Version: 20080303
-Release: 1%{?dist}
+Release: 3%{?dist}
Summary: GFS Fleischman 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
-
+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
+
+BuildArch: noarch
+BuildRequires: fontpackages-devel
+Requires: fontpackages-filesystem
%description
As it is known, the Greek alphabet was used in majuscule form for over a
@@ -53,46 +54,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}/61-%{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
+%dir %{_fontdir}
-%config(noreplace) %{fontconfdir}/61-%{fontname}.conf
-
-%dir %{fontdir}/
-%{fontdir}/*.otf
+%changelog
+* Sun Nov 23 2008
+- 20080303-3
+ᛤ ‘rpm-fonts’ renamed to “fontpackages”
+* Fri Nov 14 2008
+- 20080303-2
+▤ Rebuild using new « rpm-fonts »
-%changelog
* Sun Jul 06 2008 Nicolas Mailhot
- 20080303-1
Δ initial packaging
diff --git a/import.log b/import.log
index 58be428..e414965 100644
--- a/import.log
+++ b/import.log
@@ -1 +1,2 @@
gfs-fleischman-fonts-20080303-1_fc10:HEAD:gfs-fleischman-fonts-20080303-1.fc10.src.rpm:1215804948
+gfs-fleischman-fonts-20080303-3_fc11:HEAD:gfs-fleischman-fonts-20080303-3.fc11.src.rpm:1229542839