rpms/gfs-complutum-fonts/devel gfs-complutum-fonts-fontconfig.conf, NONE, 1.1 import.log, NONE, 1.1 gfs-complutum-fonts.spec, 1.4, 1.5
Nicolas Mailhot (nim)
fedora-extras-commits at redhat.com
Fri Jul 11 20:46:43 UTC 2008
Author: nim
Update of /cvs/extras/rpms/gfs-complutum-fonts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10004/devel
Modified Files:
gfs-complutum-fonts.spec
Added Files:
gfs-complutum-fonts-fontconfig.conf import.log
Log Message:
â Fedora 10 alpha general package cleanup
--- NEW FILE gfs-complutum-fonts-fontconfig.conf ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<alias>
<family>GFS Complutum</family>
<default>
<family>fantasy</family>
</default>
</alias>
<alias>
<family>fantasy</family>
<prefer>
<family>GFS Complutum</family>
</prefer>
</alias>
</fontconfig>
--- NEW FILE import.log ---
gfs-complutum-fonts-20070413-8_fc10:HEAD:gfs-complutum-fonts-20070413-8.fc10.src.rpm:1215809112
Index: gfs-complutum-fonts.spec
===================================================================
RCS file: /cvs/extras/rpms/gfs-complutum-fonts/devel/gfs-complutum-fonts.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gfs-complutum-fonts.spec 30 Apr 2008 21:54:38 -0000 1.4
+++ gfs-complutum-fonts.spec 11 Jul 2008 20:45:41 -0000 1.5
@@ -1,17 +1,19 @@
-%define fontname gfs-complutum
-%define fontdir %{_datadir}/fonts/%{fontname}
+%define fontname gfs-complutum
+%define fontdir %{_datadir}/fonts/%{fontname}
+%define fontconfdir %{_sysconfdir}/fonts/conf.d
%define archivename GFS_COMPLUTUM_OT
Name: %{fontname}-fonts
Version: 20070413
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: GFS Complutum Greek font
Group: User Interface/X
License: OFL
URL: http://www.greekfontsociety.gr/pages/en_typefaces16th.html
Source0: http://www.greekfontsociety.gr/%{archivename}.zip
+Source1: %{name}-fontconfig.conf
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
@@ -67,22 +69,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}/61-%{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
@@ -90,11 +93,17 @@
%defattr(0644,root,root,0755)
%doc *.txt *.pdf
-%dir %{fontdir}
+%config(noreplace) %{fontconfdir}/61-%{fontname}.conf
+
+%dir %{fontdir}/
%{fontdir}/*.otf
%changelog
+* Fri Jul 11 2008 <nicolas.mailhot at laposte.net>
+- 20070413-8
+â Fedora 10 alpha general package cleanup
+
* Wed Apr 30 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 20070413-7
⥠Yet another prep fix®
More information about the scm-commits
mailing list