[ht-alegreya-fonts/f16] initial package

Tom Callaway spot at fedoraproject.org
Tue Oct 23 16:40:27 UTC 2012


commit aa2700243f7416a6ffe1079c3feb0cd86cc02a64
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Tue Oct 23 12:41:53 2012 -0400

    initial package

 ht-alegreya-fonts-fontconfig.conf   |   16 +++++++
 ht-alegreya-fonts.spec              |   76 +++++++++++++++++++++++++++++++++++
 ht-alegreyaSC-fonts-fontconfig.conf |   16 +++++++
 sources                             |    1 +
 4 files changed, 109 insertions(+), 0 deletions(-)
---
diff --git a/ht-alegreya-fonts-fontconfig.conf b/ht-alegreya-fonts-fontconfig.conf
new file mode 100644
index 0000000..5eece49
--- /dev/null
+++ b/ht-alegreya-fonts-fontconfig.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+ <alias>
+    <family>Alegreya</family>
+    <prefer>
+      <family>serif</family>
+    </prefer>
+  </alias>
+  <alias>
+    <family>serif</family>
+    <default>
+      <family>Alegreya</family>
+    </default>
+  </alias>
+</fontconfig>
diff --git a/ht-alegreya-fonts.spec b/ht-alegreya-fonts.spec
new file mode 100644
index 0000000..4677a34
--- /dev/null
+++ b/ht-alegreya-fonts.spec
@@ -0,0 +1,76 @@
+%global fontname alegreya
+%global fontconf 60-%{fontname}.conf
+%global common_desc \
+Alegreya was chosen as one of 53 "Fonts of the Decade" at the ATypI Letter2 \
+competition in September 2011, and one of the top 14 text type systems. It \
+was also selected in the 2nd Bienal Iberoamericana de DiseƱo, competition \
+held in Madrid in 2010. Alegreya is a typeface originally intended for \
+literature. Among its crowning characteristics, it conveys a dynamic and \
+varied rhythm which facilitates the reading of long texts. Also, it \
+provides freshness to the page while referring to the calligraphic letter, \
+not as a literal interpretation, but rather in a contemporary typographic \
+language. The italic has just as much care and attention to detail in the \
+design as the roman. The bold weights are strong, and the Black weights are \
+really experimental for the genre. Not only does Alegreya provide great \
+performance, but also achieves a strong and harmonious text by means of \
+elements designed in an atmosphere of diversity.
+
+Name:		ht-%{fontname}-fonts
+Version:	1.004
+Release:	1%{?dist}
+Summary:	A Serif typeface originally intended for literature
+License:	OFL
+URL:		http://www.huertatipografica.com.ar/tipografias/alegreya/ejemplos.html
+Source0:	http://www.huertatipografica.com.ar/descargas/Alegreya.zip
+Source1:	%{name}-fontconfig.conf
+Source2:	ht-%{fontname}SC-fonts-fontconfig.conf
+BuildArch:	noarch
+BuildRequires:	fontpackages-devel
+Requires:	fontpackages-filesystem
+
+%description
+%common_desc
+
+%package -n ht-%{fontname}-smallcaps-fonts
+Summary:	SmallCaps variant of the Alegreya font family
+
+%description -n ht-%{fontname}-smallcaps-fonts
+%common_desc
+
+This is the SmallCaps variant, in which the Capital letters are smaller.
+
+%prep
+%setup -q -c
+sed -i 's/\r//' OFL.txt
+
+%build
+# Nothing to do here.
+
+%install
+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 0644 -p %{SOURCE1} \
+	%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
+
+install -m 0644 -p %{SOURCE2} \
+	%{buildroot}%{_fontconfig_templatedir}/60-%{fontname}SC.conf
+
+ln -s %{_fontconfig_templatedir}/%{fontconf} \
+	%{buildroot}%{_fontconfig_confdir}/%{fontconf}
+
+ln -s %{_fontconfig_templatedir}/60-%{fontname}SC.conf \
+	%{buildroot}%{_fontconfig_confdir}/60-%{fontname}SC.conf
+
+%_font_pkg -f %{fontconf} Alegreya-*.otf
+%doc OFL.txt
+
+%_font_pkg -n ht-%{fontname}-smallcaps-fonts -f 60-%{fontname}SC.conf  AlegreyaSC-*.otf
+%doc OFL.txt
+
+%changelog
+* Fri Sep 14 2012 Tom Callaway <spot at fedoraproject.org> - 1.004-1
+- initial package
diff --git a/ht-alegreyaSC-fonts-fontconfig.conf b/ht-alegreyaSC-fonts-fontconfig.conf
new file mode 100644
index 0000000..09595b4
--- /dev/null
+++ b/ht-alegreyaSC-fonts-fontconfig.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+ <alias>
+    <family>AlegreyaSC</family>
+    <prefer>
+      <family>serif</family>
+    </prefer>
+  </alias>
+  <alias>
+    <family>serif</family>
+    <default>
+      <family>AlegreyaSC</family>
+    </default>
+  </alias>
+</fontconfig>
diff --git a/sources b/sources
index e69de29..d8ed433 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a5a931bb4243cea411308a3fc80f49d2  Alegreya.zip


More information about the fonts-bugs mailing list