[lato-fonts/f18] First import
Mohamed ElMorabity
melmorabity at fedoraproject.org
Sun Sep 30 08:49:36 UTC 2012
commit 9544d9fa5360fc049bd1b99af1100213d7591891
Author: Mohamed El Morabity <melmorabity at fedoraproject.org>
Date: Sun Sep 30 10:49:31 2012 +0200
First import
.gitignore | 1 +
lato-fonts-fontconfig.conf | 16 +++++++++
lato-fonts.spec | 74 ++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 92 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0dee8f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/LatoOFL.zip
diff --git a/lato-fonts-fontconfig.conf b/lato-fonts-fontconfig.conf
new file mode 100644
index 0000000..33192d7
--- /dev/null
+++ b/lato-fonts-fontconfig.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>sans-serif</family>
+ <default>
+ <family>Lato</family>
+ </default>
+ </alias>
+ <alias>
+ <family>Lato</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/lato-fonts.spec b/lato-fonts.spec
new file mode 100644
index 0000000..2144243
--- /dev/null
+++ b/lato-fonts.spec
@@ -0,0 +1,74 @@
+%global fontname lato
+%global fontconf 61-%{fontname}.conf
+
+Name: %{fontname}-fonts
+Version: 1.014
+Release: 2%{?dist}
+Summary: A sanserif typeface family
+
+Group: User Interface/X
+License: OFL
+URL: http://www.latofonts.com/
+Source0: http://www.latofonts.com/download/LatoOFL.zip
+Source1: %{name}-fontconfig.conf
+
+BuildArch: noarch
+BuildRequires: fontpackages-devel
+Requires: fontpackages-filesystem
+Provides: google-lato-fonts = %{version}-%{release}
+Obsoletes: google-lato-fonts < 1.014-1
+
+%description
+Lato is a sanserif typeface family designed in the Summer 2010 by Warsaw-based
+designer Łukasz Dziedzic ("Lato" means "Summer" in Polish). In December 2010 the
+Lato family was published under the open-source Open Font License by his foundry
+tyPoland, with support from Google.
+
+When working on Lato, Łukasz tried to carefully balance some potentially
+conflicting priorities. He wanted to create a typeface that would seem quite
+"transparent" when used in body text but would display some original treats when
+used in larger sizes. He used classical proportions (particularly visible in the
+uppercase) to give the letterforms familiar harmony and elegance. At the same
+time, he created a sleek sanserif look, which makes evident the fact that Lato
+was designed in 2010 - even though it does not follow any current trend.
+
+The semi-rounded details of the letters give Lato a feeling of warmth, while the
+strong structure provides stability and seriousness. "Male and female, serious
+but friendly. With the feeling of the Summer," says Łukasz.
+
+Lato consists of five weights (plus corresponding italics), including a
+beautiful hairline style.
+
+
+%prep
+%setup -q -c
+
+# Fix wrong end-of-lines encoding
+sed "s/\r//" OFL.txt > OFL.txt.new
+touch -r OFL.txt OFL.txt.new
+mv OFL.txt.new OFL.txt
+
+
+%build
+
+
+%install
+install -m 0755 -d $RPM_BUILD_ROOT%{_fontdir}
+install -m 0644 -p *.ttf $RPM_BUILD_ROOT%{_fontdir}
+
+install -m 0755 -d $RPM_BUILD_ROOT%{_fontconfig_templatedir} $RPM_BUILD_ROOT%{_fontconfig_confdir}
+
+install -m 0644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_fontconfig_templatedir}/%{fontconf}
+ln -s %{_fontconfig_templatedir}/%{fontconf} $RPM_BUILD_ROOT%{_fontconfig_confdir}/%{fontconf}
+
+
+%_font_pkg -f %{fontconf} *.ttf
+%doc OFL.txt README.txt
+
+
+%changelog
+* Sat Sep 29 2012 Mohamed El Morabity <melmorabity at fedoraproject.org> - 1.014-2
+- Drop useless Buildroot cleaning
+
+* Sun Sep 23 2012 Mohamed El Morabity <melmorabity at fedoraproject.org> - 1.014-1
+- Initial release, to replace google-lato-fonts package
diff --git a/sources b/sources
index e69de29..d133fc5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7eb15c470538a2389db0637cbfda2bf3 LatoOFL.zip
More information about the scm-commits
mailing list