File looseleaf-newt-serif-fonts.spec of Package looseleaf-newt-serif-fonts
#
# spec file for package looseleaf-newt-serif-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: looseleaf-newt-serif-fonts
Version: 1.0
Release: 0
Summary: Soft-edged serif font
License: OFL-1.1
Group: System/X11/Fonts
URL: https://looseleaf.chuckmasterson.com/newt/
Source0: https://github.com/chuckmasterson/newt-serif/raw/master/NewtComplete.zip
Source1: https://github.com/chuckmasterson/newt-serif/raw/master/OFL.txt
Source2: https://github.com/chuckmasterson/newt-serif/raw/master/README.markdown
Source3: https://github.com/chuckmasterson/newt-serif/raw/master/FONTLOG.markdown
BuildRequires: fontpackages-devel
BuildRequires: unzip
BuildArch: noarch
%reconfigure_fonts_prereq
%description
Newt Serif is a soft serif font.
Newt Serif has a strong calligraphic bent and a dose of whimsy. The italics are
of a freer spirit than the romans, and include a few shaped letters (for
example: E, g, s, and y). The font is light-hearted, though still a fairly
“typographically-minded” serif, comfortable enough for longer passages of text.
%prep
%autosetup -c
cp %{SOURCE1} %{SOURCE2} %{SOURCE3} .
%build
%install
install -dm0755 %{buildroot}%{_ttfontsdir}
install -m0644 *.otf %{buildroot}%{_ttfontsdir}
install -dm0755 %{buildroot}%{_defaultdocdir}/%{name}
%reconfigure_fonts_scriptlets
%files
%dir %{_ttfontsdir}
%{_ttfontsdir}/*.otf
%doc *.markdown
%license OFL.txt
%changelog