File catharsisfonts-cormorant-fonts.spec of Package comorant-multi

#
# spec file for package catharsisfonts-cormorant-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:           catharsisfonts-cormorant-fonts
Version:        3.609
Release:        0
Summary:        Cormorant open-source display font family
License:        OFL-1.1
Group:          System/X11/Fonts
URL:            https://github.com/CatharsisFonts/Cormorant
Source0:        https://github.com/CatharsisFonts/Cormorant/archive/refs/tags/v%{version}.tar.gz#/Cormorant-%{version}.tar.gz
BuildRequires:  dos2unix
BuildRequires:  fontpackages-devel
BuildArch:      noarch
%reconfigure_fonts_prereq

%description
%{summary}.

%package -n Cormorant
Summary: Cormorant is a free display type family developed by Christian Thalmann
%description -n Cormorant
Cormorant is a free display type family developed by Christian Thalmann (Catharsis Fonts). It comprises a total of 45 font files spanning 9 different styles (Roman, Italic, Infant, Infant Italic, Garamond, Garamond Italic, Upright Cursive, Small Caps, Unicase) and 5 weights (Light, Regular, Medium, Semibold, Bold). For an illustrated presentation and description of the family, please visit its Bēhance page.

%package -n Cormorant-Garamond
Summary: Cormorant is a free display type family developed by Christian Thalmann
%description -n Cormorant-Garamond
Cormorant-Garamond is a free display type family developed by Christian Thalmann (Catharsis Fonts). It comprises a total of 45 font files spanning 9 different styles (Roman, Italic, Infant, Infant Italic, Garamond, Garamond Italic, Upright Cursive, Small Caps, Unicase) and 5 weights (Light, Regular, Medium, Semibold, Bold). For an illustrated presentation and description of the family, please visit its Bēhance page.

%package -n Cormorant-Infant
Summary: Cormorant is a free display type family developed by Christian Thalmann
%description -n Cormorant-Infant
Cormorant-Infant is a free display type family developed by Christian Thalmann (Catharsis Fonts). It comprises a total of 45 font files spanning 9 different styles (Roman, Italic, Infant, Infant Italic, Garamond, Garamond Italic, Upright Cursive, Small Caps, Unicase) and 5 weights (Light, Regular, Medium, Semibold, Bold). For an illustrated presentation and description of the family, please visit its Bēhance page.

%package -n Cormorant-SmallCaps
Summary: Cormorant is a free display type family developed by Christian Thalmann
%description -n Cormorant-SmallCaps
Cormorant-SmallCaps is a free display type family developed by Christian Thalmann (Catharsis Fonts). It comprises a total of 45 font files spanning 9 different styles (Roman, Italic, Infant, Infant Italic, Garamond, Garamond Italic, Upright Cursive, Small Caps, Unicase) and 5 weights (Light, Regular, Medium, Semibold, Bold). For an illustrated presentation and description of the family, please visit its Bēhance page.

%package -n Cormorant-Upright
Summary: Cormorant is a free display type family developed by Christian Thalmann
%description -n Cormorant-Upright
Cormorant-Upright is a free display type family developed by Christian Thalmann (Catharsis Fonts). It comprises a total of 45 font files spanning 9 different styles (Roman, Italic, Infant, Infant Italic, Garamond, Garamond Italic, Upright Cursive, Small Caps, Unicase) and 5 weights (Light, Regular, Medium, Semibold, Bold). For an illustrated presentation and description of the family, please visit its Bēhance page.

%package -n Cormorant-Unicase
Summary: Cormorant is a free display type family developed by Christian Thalmann
%description -n Cormorant-Unicase
Cormorant-Unicase is a free display type family developed by Christian Thalmann (Catharsis Fonts). It comprises a total of 45 font files spanning 9 different styles (Roman, Italic, Infant, Infant Italic, Garamond, Garamond Italic, Upright Cursive, Small Caps, Unicase) and 5 weights (Light, Regular, Medium, Semibold, Bold). For an illustrated presentation and description of the family, please visit its Bēhance page.

%prep
%setup -q -n Cormorant-%{version}


%build

%install
install -d %{buildroot}%{_ttfontsdir} %{buildroot}%{_defaultdocdir}/%{name}
install -m0644 '2. OpenType Files'/*.otf %{buildroot}%{_ttfontsdir}
%reconfigure_fonts_scriptlets -cn Cormorant
%reconfigure_fonts_scriptlets -cn Cormorant-Garamond
%reconfigure_fonts_scriptlets -cn Cormorant-Infant
%reconfigure_fonts_scriptlets -cn Cormorant-SmallCaps
%reconfigure_fonts_scriptlets -cn Cormorant-Upright
%reconfigure_fonts_scriptlets -cn Cormorant-Unicase

%files -n Cormorant
%defattr(-,root,root)
%{_ttfontsdir}/Cormorant-*.otf
%dir %{_ttfontsdir}

%files -n Cormorant-Garamond
%defattr(-,root,root)
%{_ttfontsdir}/CormorantGaramond*.otf
%dir %{_ttfontsdir}

%files -n Cormorant-Infant
%defattr(-,root,root)
%{_ttfontsdir}/CormorantInfant*.otf
%dir %{_ttfontsdir}

%files -n Cormorant-SmallCaps
%defattr(-,root,root)
%{_ttfontsdir}/CormorantSC*.otf
%dir %{_ttfontsdir}

%files -n Cormorant-Unicase
%defattr(-,root,root)
%{_ttfontsdir}/CormorantUnicase*.otf
%dir %{_ttfontsdir}

%files -n Cormorant-Upright
%defattr(-,root,root)
%{_ttfontsdir}/CormorantUpright*.otf
%dir %{_ttfontsdir}

%changelog
openSUSE Build Service is sponsored by