File huertatipografica-piazzolla-fonts.spec of Package huertatipografica-piazzolla-fonts
#
# spec file for package huertatipografica-piazzolla-fonts
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: huertatipografica-piazzolla-fonts
Version: 2.005
Release: 0
Summary: Piazzolla type family
License: OFL-1.1
Group: System/X11/Fonts
URL: https://github.com/huertatipografica/piazzolla
Source0: %{url}/releases/download/v%{version}/Piazzolla.zip
Source1: %{url}/releases/download/v%{version}/PiazzollaSC.zip
Source2: %{url}/raw/v%{version}/README.md
Source3: %{url}/raw/v%{version}/AUTHORS.txt
Source4: %{url}/raw/v%{version}/CONTRIBUTORS.txt
BuildRequires: fontpackages-devel
BuildRequires: unzip
BuildArch: noarch
%reconfigure_fonts_prereq
%description
Type system intended for optimizing the available space in press media and
other publications. It has a compact appearance which allows for small font
sizes and tight leading while achieving solid lines and robust paragraphs.
Piazzolla has a distinctive voice that conveys a personal style, especially in
display sizes. It has great performance and readability in small point sizes
and long texts, both for screen and printing.
%prep
%autosetup -Tc
unzip -qq %{SOURCE0}
unzip -qq %{SOURCE1}
cp %{SOURCE2} %{SOURCE3} %{SOURCE4} .
%build
%install
install -d %{buildroot}%{_ttfontsdir} %{buildroot}%{_defaultdocdir}/%{name}
install -m0644 Piazzolla{,SC}/static/otf/*.otf %{buildroot}%{_ttfontsdir}
%reconfigure_fonts_scriptlets
%files
%license Piazzolla/OFL.txt
%doc README.md {AUTHORS,CONTRIBUTORS}.txt
%dir %{_ttfontsdir}
%{_ttfontsdir}/*.otf
%changelog