[opendyslexic-fonts/f16] initial package
Tom Callaway
spot at fedoraproject.org
Tue Dec 11 17:13:26 UTC 2012
commit 1d85d48b25f4290fd958bb578154ddd9313750b6
Author: Tom Callaway <spot at fedoraproject.org>
Date: Tue Dec 11 12:15:28 2012 -0500
initial package
opendyslexic-fonts-fontconfig.conf | 16 +++++++++++
opendyslexic-fonts.spec | 52 ++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/opendyslexic-fonts-fontconfig.conf b/opendyslexic-fonts-fontconfig.conf
new file mode 100644
index 0000000..54dfb05
--- /dev/null
+++ b/opendyslexic-fonts-fontconfig.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>OpenDyslexic</family>
+ <prefer>
+ <family>sans-serif</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>sans-serif</family>
+ <default>
+ <family>OpenDyslexic</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/opendyslexic-fonts.spec b/opendyslexic-fonts.spec
new file mode 100644
index 0000000..2ae0c05
--- /dev/null
+++ b/opendyslexic-fonts.spec
@@ -0,0 +1,52 @@
+%global fontname opendyslexic
+%global fontconf 60-%{fontname}.conf
+%global gitdate 20121008
+%global gitrev 0c6748ab6b
+
+Name: %{fontname}-fonts
+Version: 0.600
+Release: 1%{?dist}
+Summary: Font designed for dyslexics and high readability
+License: Bitstream Vera and CC-BY
+URL: http://dyslexicfonts.com/
+# No source tarballs that I could find, so we get it from github
+# git clone https://github.com/antijingoist/open-dyslexic
+# mv open-dyslexic opendyslexic
+# tar cfj opendyslexic-20121008git0c6748ab6b.tar.bz2 opendyslexic
+Source0: %{fontname}-%{gitdate}git%{gitrev}.tar.bz2
+Source1: %{name}-fontconfig.conf
+BuildArch: noarch
+BuildRequires: fontpackages-devel
+Requires: fontpackages-filesystem
+
+%description
+OpenDyslexic is a new open sourced font created to increase readability for
+readers with dyslexia. The typefaces includes regular, bold, italic and
+bold-italic styles. It is being updated continually and improved based on
+input from dyslexic users.
+
+%prep
+%setup -q -n %{fontname}
+
+%build
+# Nothing to do here.
+
+%install
+install -m 0755 -d %{buildroot}%{_fontdir}
+install -m 0644 -p otf/*.otf %{buildroot}%{_fontdir}
+
+install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
+ %{buildroot}%{_fontconfig_confdir}
+
+install -m 0644 -p %{SOURCE1} \
+ %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
+
+ln -s %{_fontconfig_templatedir}/%{fontconf} \
+ %{buildroot}%{_fontconfig_confdir}/%{fontconf}
+
+%_font_pkg -f %{fontconf} *.otf
+%doc README.md
+
+%changelog
+* Mon Oct 8 2012 Tom Callaway <spot at fedoraproject.org> - 0.600-1
+- initial package
diff --git a/sources b/sources
index e69de29..e0fc1db 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+413a0b0e5bea2b06667b6e5c9db94aa7 opendyslexic-20121008git0c6748ab6b.tar.bz2
More information about the fonts-bugs
mailing list