rpms/gfs-didot-fonts/devel gfs-didot-fonts-fontconfig.conf, NONE, 1.1 gfs-didot-fonts.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Nicolas Mailhot nim at fedoraproject.org
Tue Nov 27 21:10:22 UTC 2007


Author: nim

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

Modified Files:
	.cvsignore sources 
Added Files:
	gfs-didot-fonts-fontconfig.conf gfs-didot-fonts.spec 
Log Message:
initial import


--- NEW FILE gfs-didot-fonts-fontconfig.conf ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<!-- /etc/fonts/conf.d/60-gfs-didot.conf

     Define settings for GFS Didot fonts

     © 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
-->
<fontconfig>
  <alias binding="same">
    <family>Palatino</family>
    <accept>
      <family>GFS Didot</family>
    </accept>
  </alias>
  <alias>
    <family>GFS Didot</family>
    <default>
      <family>serif</family>
    </default>
  </alias>
  <alias>
    <family>serif</family>
    <prefer>
      <family>GFS Didot</family>
    </prefer>
  </alias>
</fontconfig>


--- NEW FILE gfs-didot-fonts.spec ---
%define fontname    gfs-didot
%define fontdir     %{_datadir}/fonts/%{fontname}
%define fontconfdir %{_sysconfdir}/fonts/conf.d

%define archivename GFS_DIDOT_OT

Name:    %{fontname}-fonts
Version: 20070616
Release: 2%{?dist}
Summary: GFS Didot fonts

Group:   User Interface/X
License: OFL
URL:     http://www.greekfontsociety.org/pages/en_typefaces20th.html
Source0: http://www.greekfontsociety.org/%{archivename}.zip
Source1: %{name}-fontconfig.conf

BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch

%description
Didot’s type was the base for a new font, GFS Didot (1994) which was designed
by Takis Katsoulidis, and digitised by George Matthiopoulos. The typeface is
accompanied by a matching latin alphabet based on Hermann Zapf’s Palatino.


%prep
%setup -q -n %{archivename}
for txt in *.txt ; do
   fold -s $txt > $txt.new
   sed -i 's/\r//' $txt.new
   touch -r $txt $txt.new
   mv $txt.new $txt
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}%{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} || :
fi


%postun
if [ "$1" = "0" ]; then
  if [ -x %{_bindir}/fc-cache ]; then
    %{_bindir}/fc-cache %{fontdir} || :
  fi
fi


%files
%defattr(0644,root,root,0755)
%doc *.txt *.pdf

%config(noreplace) %{fontconfdir}/60-%{fontname}.conf

%dir %{fontdir}
%{fontdir}/*.otf


%changelog
* Sun Nov 25 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
☺ 20070616-2
✓ initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gfs-didot-fonts/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	27 Nov 2007 19:56:24 -0000	1.1
+++ .cvsignore	27 Nov 2007 21:09:49 -0000	1.2
@@ -0,0 +1 @@
+GFS_DIDOT_OT.zip


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gfs-didot-fonts/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	27 Nov 2007 19:56:24 -0000	1.1
+++ sources	27 Nov 2007 21:09:49 -0000	1.2
@@ -0,0 +1 @@
+b8fc2ea74d518c1254020ecec6f9cdc2  GFS_DIDOT_OT.zip




More information about the fonts-bugs mailing list