1 Summary: Lato font family
7 Source0: https://www.latofonts.com/download/Lato2OFL.zip
8 # Source0-md5: 29e379a6ecc1b86c96931fa6ce4b3b0c
9 URL: https://www.latofonts.com/
10 Suggests: fontpostinst
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 %define _ttffontsdir %{_fontsdir}/TTF
17 Lato is a sanserif typeface family designed in the Summer 2010 and
18 extended in the Summer 2013 by Warsaw-based designer Lukasz Dziedzic
19 ("Lato" means "Summer" in Polish). It tries to carefully balance some
20 potentially conflicting priorities: it should seem quite "transparent"
21 when used in body text but would display some original traits when
22 used in larger sizes. The classical proportions, particularly visible
23 in the uppercase, give the letterforms familiar harmony and elegance.
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT%{_ttffontsdir}
32 cp -p Lato2OFL/*.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
35 rm -rf $RPM_BUILD_ROOT
37 %triggerin -- fontpostinst
38 if [ "$1" = "1" ] && [ "$2" = "1" ]; then
42 %triggerun -- fontpostinst
43 if [ "$1" = "0" ] || [ "$2" = "0" ]; then
48 %defattr(644,root,root,755)
49 %doc Lato2OFL/README.txt
50 %{_ttffontsdir}/Lato-*.ttf