File catharsisfonts-ysabeau-fonts.spec of Package catharsisfonts-ysabeau-fonts

#
# spec file for package catharsisfonts-ysabeau-fonts
#
# Copyright (c) 2025 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:           catharsisfonts-ysabeau-fonts
Version:        2.006
Release:        0
Summary:        The essence of Garamond in a sans-serif typeface
License:        OFL-1.1
Group:          System/X11/Fonts
URL:            https://github.com/CatharsisFonts/Ysabeau
Source0:        %{url}/releases/download/v%{version}/Ysabeau_Install_v%{version}.zip
BuildRequires:  fontpackages-devel
BuildRequires:  unzip
BuildArch:      noarch
%reconfigure_fonts_prereq

%description
Ysabeau is a type family developed by Christian Thalmann (Catharsis Fonts). It
combines the time-honored letterforms of Garamond with the crispness of a
low-contrast sans serif, rendering it suitable for body copy as well as
display.

%prep
%autosetup -n Ysabeau_Install_v%{version}

sed -i -e 's/\r//' OFL-FAQ.txt

%build

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

%files
%license OFL.txt
%doc README.md FONTLOG.txt OFL-FAQ.txt
%dir %{_ttfontsdir}
%{_ttfontsdir}/*.otf

%changelog
openSUSE Build Service is sponsored by