]> git.pld-linux.org Git - packages/fonts-TTF-Lato.git/blob - fonts-TTF-Lato.spec
new
[packages/fonts-TTF-Lato.git] / fonts-TTF-Lato.spec
1 Summary:        Lato font family
2 Name:           fonts-TTF-Lato
3 Version:        2.015
4 Release:        1
5 License:        OFL
6 Group:          Fonts
7 Source0:        https://www.latofonts.com/download/Lato2OFL.zip
8 # Source0-md5:  29e379a6ecc1b86c96931fa6ce4b3b0c
9 URL:            https://www.latofonts.com/
10 Suggests:       fontpostinst
11 BuildArch:      noarch
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %define         _ttffontsdir    %{_fontsdir}/TTF
15
16 %description
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.
24
25 %prep
26 %setup -q -c
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT%{_ttffontsdir}
31
32 cp -p Lato2OFL/*.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %triggerin -- fontpostinst
38 if [ "$1" = "1" ] && [ "$2" = "1" ]; then
39         fontpostinst TTF
40 fi
41
42 %triggerun -- fontpostinst
43 if [ "$1" = "0" ] || [ "$2" = "0" ]; then
44         fontpostinst TTF
45 fi
46
47 %files
48 %defattr(644,root,root,755)
49 %doc Lato2OFL/README.txt
50 %{_ttffontsdir}/Lato-*.ttf
This page took 0.036939 seconds and 3 git commands to generate.