new master auto/th/fonts-TTF-Lato-2.015-1
authorJan Palus <atler@pld-linux.org>
Thu, 13 May 2021 22:51:32 +0000 (00:51 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 13 May 2021 22:51:32 +0000 (00:51 +0200)
fonts-TTF-Lato.spec [new file with mode: 0644]

diff --git a/fonts-TTF-Lato.spec b/fonts-TTF-Lato.spec
new file mode 100644 (file)
index 0000000..c7c3a2d
--- /dev/null
@@ -0,0 +1,50 @@
+Summary:       Lato font family
+Name:          fonts-TTF-Lato
+Version:       2.015
+Release:       1
+License:       OFL
+Group:         Fonts
+Source0:       https://www.latofonts.com/download/Lato2OFL.zip
+# Source0-md5: 29e379a6ecc1b86c96931fa6ce4b3b0c
+URL:           https://www.latofonts.com/
+Suggests:      fontpostinst
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _ttffontsdir    %{_fontsdir}/TTF
+
+%description
+Lato is a sanserif typeface family designed in the Summer 2010 and
+extended in the Summer 2013 by Warsaw-based designer Lukasz Dziedzic
+("Lato" means "Summer" in Polish). It tries to carefully balance some
+potentially conflicting priorities: it should seem quite "transparent"
+when used in body text but would display some original traits when
+used in larger sizes. The classical proportions, particularly visible
+in the uppercase, give the letterforms familiar harmony and elegance.
+
+%prep
+%setup -q -c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_ttffontsdir}
+
+cp -p Lato2OFL/*.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%triggerin -- fontpostinst
+if [ "$1" = "1" ] && [ "$2" = "1" ]; then
+       fontpostinst TTF
+fi
+
+%triggerun -- fontpostinst
+if [ "$1" = "0" ] || [ "$2" = "0" ]; then
+       fontpostinst TTF
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc Lato2OFL/README.txt
+%{_ttffontsdir}/Lato-*.ttf
This page took 0.044515 seconds and 4 git commands to generate.