File indestructibletype-besley-fonts.spec of Package indestructibletype-besley-fonts

#
# spec file for package indestructibletype-besley-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/
#


%global desc Besley* is an original font created by indestructible type*. It is inspired by\
the designs of Robert Besley.
Name:           indestructibletype-besley-fonts
Version:        2.01
Release:        0
Summary:        An original font created by indestructible type*
License:        OFL-1.1
Group:          System/X11/Fonts
URL:            https://indestructibletype.com/Besley.html
Source0:        https://github.com/indestructible-type/Besley/archive/refs/tags/%{version}.tar.gz#/Besley-%{version}.tar.gz
BuildRequires:  fontpackages-devel
BuildArch:      noarch
%reconfigure_fonts_prereq

%description
%{desc}

%package -n indestructibletype-besley-variable-fonts
Summary:        An original font created by indestructible type* (variable)

%description -n indestructibletype-besley-variable-fonts
%{desc}

This package contains variable fonts.

%prep
%autosetup -n Besley-%{version}

%build

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

%reconfigure_fonts_scriptlets

%files
%defattr(0644,root,root)
%license LICENSE.md OFL.txt
%doc README.md {AUTHORS,CONTRIBUTORS,FONTLOG}.txt
%dir %{_ttfontsdir}/
%{_ttfontsdir}/Besley*.otf

%files -n indestructibletype-besley-variable-fonts
%defattr(0644,root,root)
%license LICENSE.md OFL.txt
%doc README.md {AUTHORS,CONTRIBUTORS,FONTLOG}.txt
%dir %{_ttfontsdir}/
%{_ttfontsdir}/Besley*.ttf

%changelog
openSUSE Build Service is sponsored by