rpms/gfs-theokritos-fonts/devel gfs-theokritos-fonts-fontconfig.conf, NONE, 1.1 import.log, NONE, 1.1 gfs-theokritos-fonts.spec, 1.4, 1.5

Nicolas Mailhot nim at fedoraproject.org
Fri Jul 11 20:55:32 UTC 2008


Author: nim

Update of /cvs/extras/rpms/gfs-theokritos-fonts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11507/devel

Modified Files:
	gfs-theokritos-fonts.spec 
Added Files:
	gfs-theokritos-fonts-fontconfig.conf import.log 
Log Message:
⌖ Fedora 10 alpha general package cleanup


--- NEW FILE gfs-theokritos-fonts-fontconfig.conf ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
  <alias>
    <family>GFS Theokritos</family>
    <default>
      <family>fantasy</family>
    </default>
  </alias>
  <alias>
    <family>fantasy</family>
    <prefer>
      <family>GFS Theokritos</family>
    </prefer>
  </alias>
</fontconfig>


--- NEW FILE import.log ---
gfs-theokritos-fonts-20070415-7_fc10:HEAD:gfs-theokritos-fonts-20070415-7.fc10.src.rpm:1215809664


Index: gfs-theokritos-fonts.spec
===================================================================
RCS file: /cvs/extras/rpms/gfs-theokritos-fonts/devel/gfs-theokritos-fonts.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gfs-theokritos-fonts.spec	30 Apr 2008 22:45:48 -0000	1.4
+++ gfs-theokritos-fonts.spec	11 Jul 2008 20:54:35 -0000	1.5
@@ -1,17 +1,19 @@
-%define fontname     gfs-theokritos
+%define fontname    gfs-theokritos
 %define fontdir     %{_datadir}/fonts/%{fontname}
+%define fontconfdir %{_sysconfdir}/fonts/conf.d
 
 %define archivename GFS_THEOKRITOS_OT
 
 Name:    %{fontname}-fonts
 Version: 20070415
-Release: 6%{?dist}
+Release: 7%{?dist}
 Summary: GFS Theokritos decorative font
 
 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
@@ -61,22 +63,23 @@
 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}/60-%{fontname}.conf
+
 
 %clean
 rm -fr %{buildroot}
 
 
 %post
-if [ -x %{_bindir}/fc-cache ]; then
-  %{_bindir}/fc-cache %{fontdir} || :
+if [ -x %{_bindir}/fc-cache ] ; then
+    %{_bindir}/fc-cache %{fontdir} || :
 fi
 
 
 %postun
-if [ "$1" = "0" ]; then
-  if [ -x %{_bindir}/fc-cache ]; then
+if [ $1 -eq 0 -a -x %{_bindir}/fc-cache ] ; then
     %{_bindir}/fc-cache %{fontdir} || :
-  fi
 fi
 
 
@@ -84,11 +87,17 @@
 %defattr(0644,root,root,0755)
 %doc *.txt *.pdf
 
-%dir %{fontdir}
+%config(noreplace) %{fontconfdir}/60-%{fontname}.conf
+
+%dir %{fontdir}/
 %{fontdir}/*.otf
 
 
 %changelog
+* Fri Jul 11 2008 <nicolas.mailhot at laposte.net>
+- 20070415-7
+⌖ Fedora 10 alpha general package cleanup
+
 * Wed Apr 30 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
 - 20070415-6
 ⥁ Yet another prep fix®




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