rpms/gfs-didot-classic-fonts/devel gfs-didot-classic-fonts-fontconfig.conf, 1.2, 1.3 gfs-didot-classic-fonts.spec, 1.6, 1.7 import.log, 1.2, 1.3

Nicolas Mailhot nim at fedoraproject.org
Wed Dec 17 19:36:26 UTC 2008


Author: nim

Update of /cvs/extras/rpms/gfs-didot-classic-fonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23613/devel

Modified Files:
	gfs-didot-classic-fonts-fontconfig.conf 
	gfs-didot-classic-fonts.spec import.log 
Log Message:
update for new fonts guidelines


Index: gfs-didot-classic-fonts-fontconfig.conf
===================================================================
RCS file: /cvs/extras/rpms/gfs-didot-classic-fonts/devel/gfs-didot-classic-fonts-fontconfig.conf,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gfs-didot-classic-fonts-fontconfig.conf	11 Jul 2008 20:46:23 -0000	1.2
+++ gfs-didot-classic-fonts-fontconfig.conf	17 Dec 2008 19:35:56 -0000	1.3
@@ -1,22 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
 <fontconfig>
-  <alias binding="same">
-    <family>GFS Didot</family>
-    <accept>
+  <alias>
+    <family>serif</family>
+    <prefer>
       <family>GFS Didot Classic</family>
-    </accept>
+    </prefer>
   </alias>
   <alias>
-    <family>GFS Didot</family>
+    <family>GFS Didot Classic</family>
     <default>
       <family>serif</family>
     </default>
   </alias>
-  <alias>
-    <family>serif</family>
-    <prefer>
-      <family>GFS Didot</family>
-    </prefer>
+  <alias binding="same">
+    <family>GFS Didot</family>
+    <accept>
+      <family>GFS Didot Classic</family>
+    </accept>
   </alias>
 </fontconfig>


Index: gfs-didot-classic-fonts.spec
===================================================================
RCS file: /cvs/extras/rpms/gfs-didot-classic-fonts/devel/gfs-didot-classic-fonts.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- gfs-didot-classic-fonts.spec	11 Jul 2008 20:46:23 -0000	1.6
+++ gfs-didot-classic-fonts.spec	17 Dec 2008 19:35:56 -0000	1.7
@@ -1,22 +1,23 @@
-%define fontname    gfs-didot-classic
-%define fontdir     %{_datadir}/fonts/%{fontname}
-%define fontconfdir %{_sysconfdir}/fonts/conf.d
+%define fontname gfs-didot-classic
+%define fontconf 61-%{fontname}.conf
 
 %define archivename GFS_DIDOTCLASS_OT
 
 Name:    %{fontname}-fonts
 Version: 20080702
-Release: 2%{?dist}
+Release: 4%{?dist}
 Summary: GFS Didot Classic Greek font
 
-Group:   User Interface/X
-License: OFL
-URL:     http://www.greekfontsociety.gr/pages/en_typefaces19th.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_typefaces19th.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
 Under the influence of the neoclassical ideals of the late 18th century, the
@@ -49,46 +50,41 @@
 
 
 %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 *.pdf
-
-%config(noreplace) %{fontconfdir}/61-%{fontname}.conf
-
-%dir %{fontdir}/
-%{fontdir}/*.otf
-
+%dir %{_fontdir}
 
 %changelog
+* Sun Nov 23 2008 <nicolas.mailhot at laposte.net>
+- 20080702-4
+ᛤ ‘rpm-fonts’ renamed to “fontpackages”
+
+* Fri Nov 14 2008 <nicolas.mailhot at laposte.net>
+- 20080702-3
+▤ Rebuild using new « rpm-fonts »
+
 * Fri Jul 11 2008 <nicolas.mailhot at laposte.net>
 - 20080702-2
 ⌖ Fedora 10 alpha general package cleanup


Index: import.log
===================================================================
RCS file: /cvs/extras/rpms/gfs-didot-classic-fonts/devel/import.log,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- import.log	11 Jul 2008 20:46:23 -0000	1.2
+++ import.log	17 Dec 2008 19:35:56 -0000	1.3
@@ -1,2 +1,3 @@
 gfs-didot-classic-fonts-20080702-1_fc10:HEAD:gfs-didot-classic-fonts-20080702-1.fc10.src.rpm:1215300135
 gfs-didot-classic-fonts-20080702-2_fc10:HEAD:gfs-didot-classic-fonts-20080702-2.fc10.src.rpm:1215809169
+gfs-didot-classic-fonts-20080702-4_fc11:HEAD:gfs-didot-classic-fonts-20080702-4.fc11.src.rpm:1229542534




More information about the Fedora-fonts-bugs-list mailing list