Update to 2.007

This commit is contained in:
Mohamed El Morabity 2014-04-02 17:05:49 +02:00
parent 3e7a87d2b8
commit 00b90dd59e
3 changed files with 18 additions and 12 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/LatoOFL.zip
/lato-fonts-1.105.zip
/lato-fonts-2.007.zip

View File

@ -2,14 +2,14 @@
%global fontconf 61-%{fontname}.conf
Name: %{fontname}-fonts
Version: 1.105
Release: 2%{?dist}
Version: 2.007
Release: 1%{?dist}
Summary: A sanserif typeface family
Group: User Interface/X
License: OFL
URL: http://www.latofonts.com/
# Fonts retrieved 2013-06-06 from http://www.latofonts.com/download/LatoOFL.zip
# Fonts retrieved 2014-04-02 from http://www.latofonts.com/download/Lato2OFL.zip
Source0: %{name}-%{version}.zip
Source1: %{name}-fontconfig.conf
@ -37,17 +37,19 @@ 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.
Lato consists of nine weights (plus corresponding italics), including a
beautiful hairline style. It covers 2300+ glyphs per style and supports 100+
Latin-based languages, 50+ Cyrillic-based languages as well as Greek and IPA
phonetics.
%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
sed "s/\r//" Lato2OFL/OFL.txt > Lato2OFL/OFL.txt.new
touch -r Lato2OFL/OFL.txt Lato2OFL/OFL.txt.new
mv Lato2OFL/OFL.txt.new Lato2OFL/OFL.txt
%build
@ -55,7 +57,7 @@ mv OFL.txt.new OFL.txt
%install
install -m 0755 -d $RPM_BUILD_ROOT%{_fontdir}
install -m 0644 -p OTF/*.otf $RPM_BUILD_ROOT%{_fontdir}
install -m 0644 -p Lato2OFL/*.ttf $RPM_BUILD_ROOT%{_fontdir}
install -m 0755 -d $RPM_BUILD_ROOT%{_fontconfig_templatedir} $RPM_BUILD_ROOT%{_fontconfig_confdir}
@ -63,11 +65,14 @@ install -m 0644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_fontconfig_templatedir}/%{fontco
ln -s %{_fontconfig_templatedir}/%{fontconf} $RPM_BUILD_ROOT%{_fontconfig_confdir}/%{fontconf}
%_font_pkg -f %{fontconf} *.otf
%doc OFL.txt README.txt
%_font_pkg -f %{fontconf} *.ttf
%doc Lato2OFL/{OFL.txt,README.txt}
%changelog
* Wed Apr 02 2014 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.007-1
- Update to 2.007
* 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

View File

@ -1 +1 @@
5effc8ceaca6caeb9548e2248e0ceb9b lato-fonts-1.105.zip
3508b3c86c5c560cf8cd472850d4130c lato-fonts-2.007.zip