2012-09-29 19:45:51 +00:00
|
|
|
%global fontname lato
|
|
|
|
%global fontconf 61-%{fontname}.conf
|
|
|
|
|
|
|
|
Name: %{fontname}-fonts
|
2013-06-06 23:02:52 +00:00
|
|
|
Version: 1.105
|
2013-08-03 04:15:36 +00:00
|
|
|
Release: 2%{?dist}
|
2012-09-29 19:45:51 +00:00
|
|
|
Summary: A sanserif typeface family
|
|
|
|
|
|
|
|
Group: User Interface/X
|
|
|
|
License: OFL
|
|
|
|
URL: http://www.latofonts.com/
|
2013-06-06 23:02:52 +00:00
|
|
|
# Fonts retrieved 2013-06-06 from http://www.latofonts.com/download/LatoOFL.zip
|
|
|
|
Source0: %{name}-%{version}.zip
|
2012-09-29 19:45:51 +00:00
|
|
|
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}
|
2013-06-06 23:02:52 +00:00
|
|
|
install -m 0644 -p OTF/*.otf $RPM_BUILD_ROOT%{_fontdir}
|
2012-09-29 19:45:51 +00:00
|
|
|
|
|
|
|
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}
|
|
|
|
|
|
|
|
|
2013-06-06 23:02:52 +00:00
|
|
|
%_font_pkg -f %{fontconf} *.otf
|
2012-09-29 19:45:51 +00:00
|
|
|
%doc OFL.txt README.txt
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2013-08-03 04:15:36 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.105-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-06 23:02:52 +00:00
|
|
|
* Thu Jun 06 2013 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.105-1
|
|
|
|
- Update to 1.105
|
|
|
|
|
2013-02-14 03:44:04 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.014-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-09-30 08:46:54 +00:00
|
|
|
* Sat Sep 29 2012 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.014-2
|
2012-09-29 19:45:51 +00:00
|
|
|
- Drop useless Buildroot cleaning
|
|
|
|
|
2012-09-30 08:46:54 +00:00
|
|
|
* Sun Sep 23 2012 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.014-1
|
2012-09-29 19:45:51 +00:00
|
|
|
- Initial release, to replace google-lato-fonts package
|