Blame catharsis-cormorant-fonts.spec

d79f3dc
# SPDX-License-Identifier: MIT
d79f3dc
%global forgeurl    https://github.com/CatharsisFonts/Cormorant
7a7ac3b
%global commit      3f27825ce7aa990dc65761a7b323b92aecc84446
d79f3dc
%forgemeta
d79f3dc
7a7ac3b
Version: 3.604
e604550
Release: 2%{?dist}
d79f3dc
URL:     https://www.behance.net/gallery/28579883/Cormorant-an-open-source-display-font-family
d79f3dc
d79f3dc
%global foundry           Catharsis Fonts
d79f3dc
%global fontlicense       OFL
d79f3dc
%global fontlicenses      OFL.txt
d79f3dc
%global fontdocs          *txt *md
d79f3dc
%global fontdocsex        %{fontlicenses}
d79f3dc
d79f3dc
%global common_description %{expand:
d79f3dc
Cormorant is an original design for an extravagant display serif font family
d79f3dc
inspired by the Garamond heritage, hand-drawn and produced by Catharsis Fonts.
d79f3dc
While traditional Garamond cuts make for exquisite reading at book sizes, they
d79f3dc
appear clumpy and inelegant at larger sizes. The design goal of Cormorant was
d79f3dc
to distill the aesthetic essence of Garamond, unfetter it from the limitations
d79f3dc
of metal printing, and allow it to bloom into its natural refined form at high
d79f3dc
definition.
d79f3dc
d79f3dc
Cormorant is characterized by scandalously small counters, razor-sharp serifs,
d79f3dc
dangerously smooth curves, and flamboyantly tall accents. While many
d79f3dc
implementations of Garamond at small optical sizes already exist (including the
d79f3dc
open-sourced EB Garamond by Georg Duffner), Cormorant aims for the sparsely
d79f3dc
populated niche of display-size counterparts that exploit the high resolution
d79f3dc
of contemporary screens and print media to the fullest.
d79f3dc
d79f3dc
Cormorant is made for large sizes; the larger, the better. However, it works
d79f3dc
well as a text face in high-resolution environments.
d79f3dc
d79f3dc
Cormorant is a native 21st-century typeface making ample use of OpenType
d79f3dc
technology. Some OpenType features are applied automatically while you type,
d79f3dc
subtly improving the flow of the text. This includes kerning, standard
d79f3dc
ligatures, and contextual alternates. Other features are intended to be
d79f3dc
activated manually by the user, such as discretionary ligatures, stylistic
d79f3dc
alternates, small capitals, and alternate figure sets.}
d79f3dc
d79f3dc
%global fontfamily0       Cormorant
d79f3dc
%global fontsummary0      Cormorant, a display serif font family inspired by the Garamond heritage
d79f3dc
%global fonts0            2.*OpenType*Files/*otf
d79f3dc
%global fontsex0          2.*OpenType*Files/CormorantSC*.otf %{fonts1} %{fonts2} %{fonts3} %{fonts4}
d79f3dc
%global fontconfngs0      %{SOURCE10}
d79f3dc
%global fontdescription0  %{expand:
d79f3dc
%{common_description}
d79f3dc
}
d79f3dc
d79f3dc
%global fontfamily1       Cormorant Garamond
d79f3dc
%global fontsummary1      Cormorant Garamond, a variant with more traditional shapes
d79f3dc
%global fontpkgheader1    %{expand:
d79f3dc
Suggests: font(cormorant)
d79f3dc
}
d79f3dc
%global fonts1            2.*OpenType*Files/CormorantGaramond*.otf
d79f3dc
%global fontconfngs1      %{SOURCE11}
d79f3dc
%global fontdescription1  %{expand:
d79f3dc
%{common_description}
d79f3dc
d79f3dc
While Cormorant’s quality is most evident in titling and poster usage at the
d79f3dc
largest sizes, its Garamond genome renders it highly legible down to text sizes
d79f3dc
on high-resolution devices and in print. This is particularly true about the
d79f3dc
“Cormorant Garamond” cuts of the typeface.
d79f3dc
d79f3dc
Cormorant Garamond offers larger counters and subtly more traditional Garamond
d79f3dc
shapes for a few key characters to achieve more reading comfort.}
d79f3dc
d79f3dc
%global fontfamily2       Cormorant Infant
d79f3dc
%global fontsummary2      Cormorant Infant, a gentle schoolbook-style variant
d79f3dc
%global fontpkgheader2    %{expand:
d79f3dc
Suggests: font(cormorant)
d79f3dc
}
d79f3dc
%global fonts2            2.*OpenType*Files/CormorantInfant*.otf
d79f3dc
%global fontconfngs2      %{SOURCE12}
d79f3dc
%global fontdescription2  %{expand:
d79f3dc
%{common_description}
d79f3dc
d79f3dc
In Cormorant Infant, the letters “a g y” and their derivatives are replaced
d79f3dc
by gentle schoolbook-style single-storey shapes.}
d79f3dc
d79f3dc
%global fontfamily3       Cormorant Upright
d79f3dc
%global fontpkgname3      catharsis-cormorant-upright-fonts
d79f3dc
%global fontsummary3      Cormorant Upright, an un-slanted cursive variant
d79f3dc
%global fontpkgheader3    %{expand:
d79f3dc
Suggests: font(cormorant)
d79f3dc
}
d79f3dc
%global fonts3            2.*OpenType*Files/CormorantUpright*.otf
d79f3dc
%global fontconfngs3      %{SOURCE13}
d79f3dc
%global fontdescription3  %{expand:
d79f3dc
%{common_description}
d79f3dc
d79f3dc
Cormorant Upright is an un-slanted cursive of the main Cormorant font family.}
d79f3dc
d79f3dc
%global fontfamily4       Cormorant Unicase
d79f3dc
%global fontsummary4      Cormorant Unicase, a small-caps variant with some lowercase letter-forms
d79f3dc
%global fontpkgheader4    %{expand:
d79f3dc
Suggests: font(cormorant)
d79f3dc
}
d79f3dc
%global fonts4            2.*OpenType*Files/CormorantUnicase*.otf
d79f3dc
%global fontconfngs4      %{SOURCE14}
d79f3dc
%global fontdescription4  %{expand:
d79f3dc
%{common_description}
d79f3dc
d79f3dc
Cormorant Unicase, is a small-caps variant with some lowercase letter-forms for
d79f3dc
an eye-catching futuristic look.}
d79f3dc
7a7ac3b
%fontmeta
7a7ac3b
7a7ac3b
%global source_files %{expand:
d79f3dc
Source0:  %{forgesource}
d79f3dc
Source10: 57-%{fontpkgname0}.xml
d79f3dc
Source11: 57-%{fontpkgname1}.xml
d79f3dc
Source12: 58-%{fontpkgname2}.xml
d79f3dc
Source13: 60-%{fontpkgname3}.xml
d79f3dc
Source14: 60-%{fontpkgname4}.xml
7a7ac3b
}
d79f3dc
7a7ac3b
%fontpkg
d79f3dc
d79f3dc
%fontmetapkg
d79f3dc
7a7ac3b
%new_package doc
7a7ac3b
Summary:   Optional documentation files of %{source_name}
d79f3dc
BuildArch: noarch
d79f3dc
%description doc
d79f3dc
This package provides optional documentation files shipped with
7a7ac3b
%{source_name}.
d79f3dc
d79f3dc
%prep
d79f3dc
%forgesetup
d79f3dc
%linuxtext *.txt
d79f3dc
d79f3dc
%build
7a7ac3b
%fontbuild
d79f3dc
d79f3dc
%install
7a7ac3b
%fontinstall
d79f3dc
d79f3dc
%check
7a7ac3b
%fontcheck
d79f3dc
7a7ac3b
%fontfiles
d79f3dc
d79f3dc
%files doc
d79f3dc
%defattr(644, root, root, 0755)
d79f3dc
%license OFL.txt
d79f3dc
%doc 5.*Specimens*Test*Files/*pdf
d79f3dc
d79f3dc
%changelog
e604550
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org>
e604550
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e604550
7a7ac3b
* Mon Apr 27 2020 Nicolas Mailhot <nim@fedoraproject.org>
7a7ac3b
- 3.604-1.20200422git3f27825
7a7ac3b
🐞 Workaround Fedora problems created by rpm commit 93604e2
7a7ac3b
25a5d07
* Thu Apr 02 2020 Nicolas Mailhot <nim@fedoraproject.org>
c6a5a7a
- 3.602-4.20200215git83d1fa9
c6a5a7a
💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are
c6a5a7a
  valid
c6a5a7a
c6a5a7a
* Thu Apr 02 2020 Nicolas Mailhot <nim@fedoraproject.org>
25a5d07
- 3.602-3.20200215git83d1fa9
25a5d07
👻 Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid
25a5d07
d79f3dc
* Sat Feb 22 2020 Nicolas Mailhot <nim@fedoraproject.org>
d79f3dc
- 3.602-2
d79f3dc
✅ Rebuild with fonts-rpm-macros 2.0.2
d79f3dc
d79f3dc
* Sat Feb 15 2020 Nicolas Mailhot <nim@fedoraproject.org>
d79f3dc
- 3.602-1.20191209git83d1fa9
d79f3dc
✅ Initial packaging