File omnibustype-unna-fonts.spec of Package omnibustype-unna-fonts

#
# spec file for package omnibustype-unna-fonts
#
# Copyright (c) 2022 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:           omnibustype-unna-fonts
Version:        2.008
Release:        0
Summary:        A transitional (or neoclassical) typeface family 
License:        OFL-1.1
Group:          System/X11/Fonts
URL:            https://www.omnibus-type.com/fonts/unna/
Source0:        https://www.omnibus-type.com/wp-content/uploads/Unna.zip
Source1:        https://www.omnibus-type.com/wp-content/uploads/Unna_Specimen.pdf
Source2:        https://github.com/Omnibus-Type/Unna/raw/master/README.md
Source3:        https://github.com/Omnibus-Type/Unna/raw/master/AUTHORS.txt
Source4:        https://github.com/Omnibus-Type/Unna/raw/master/CONTRIBUTORS.txt
Source5:        https://github.com/Omnibus-Type/Unna/raw/master/FONTLOG.txt
BuildRequires:  fontpackages-devel
BuildRequires:  unzip
BuildArch:      noarch
%reconfigure_fonts_prereq

%description
Unna is a transitional typeface, with 4 weight variants, plus matching italics.
Its visual character has a neoclassical vertical texture, but Unna shows its
own tenderness, through delicate serifs and strong stems. Therefore it is great
for literature books. It was designed by Jorge de Buen, who was inspired by his
mother’s surname, and developed by the Omnibus-Type Team.

%prep
%autosetup -n Unna
cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} .

%build

%install
install -dm0755 %{buildroot}%{_ttfontsdir}
install -m0644 otf/*.otf %{buildroot}%{_ttfontsdir}

%reconfigure_fonts_scriptlets

%files
%license OFL.txt
%doc README.md Unna_Specimen.pdf {AUTHORS,CONTRIBUTORS,FONTLOG}.txt
%dir %{_ttfontsdir}
%{_ttfontsdir}/*.otf

%changelog
openSUSE Build Service is sponsored by