[packages/fonts-TTF-Lato] new
atler
atler at pld-linux.org
Fri May 14 00:52:28 CEST 2021
commit 6c6a859c2068e49ef1d714e33ad1907639c1d81b
Author: Jan Palus <atler at pld-linux.org>
Date: Fri May 14 00:51:32 2021 +0200
new
fonts-TTF-Lato.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
---
diff --git a/fonts-TTF-Lato.spec b/fonts-TTF-Lato.spec
new file mode 100644
index 0000000..c7c3a2d
--- /dev/null
+++ b/fonts-TTF-Lato.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/fonts-TTF-Lato.git/commitdiff/6c6a859c2068e49ef1d714e33ad1907639c1d81b
More information about the pld-cvs-commit
mailing list