2020-02-21 12:58:18 +00:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
%global forgeurl https://github.com/stipub/stixfonts/
|
|
|
|
Version: 2.0.2
|
|
|
|
%forgemeta
|
2007-11-01 18:20:55 +00:00
|
|
|
|
2020-04-28 15:31:07 +00:00
|
|
|
Release: 6%{?dist}
|
2010-07-25 16:45:09 +00:00
|
|
|
URL: http://www.stixfonts.org/
|
2007-11-01 15:37:32 +00:00
|
|
|
|
2020-02-21 12:58:18 +00:00
|
|
|
%global foundry STIX
|
|
|
|
%global fontlicense OFL
|
|
|
|
%global fontlicenses docs/STIX_%{version}_license.pdf
|
|
|
|
%global fontdocs *.md docs/*.txt
|
|
|
|
%global fontdocsex %{fontlicenses}
|
|
|
|
|
|
|
|
%global fontfamily STIX
|
|
|
|
%global fontsummary STIX, a scientific and engineering font family
|
|
|
|
%global fontpkgheader %{expand:
|
|
|
|
Obsoletes: stix-math-fonts < %{version}-%{release}
|
|
|
|
}
|
|
|
|
%global fonts OTF/STIX2Text*otf OTF/STIX2Math*otf
|
|
|
|
%global fontconfngs %{SOURCE10}
|
|
|
|
%global fontdescription %{expand:
|
|
|
|
The mission of the Scientific and Technical Information Exchange (STIX) font
|
|
|
|
creation project is the preparation of a comprehensive set of fonts that serve
|
|
|
|
the scientific and engineering community in the process from manuscript
|
|
|
|
creation through final publication, both in electronic and print formats.
|
|
|
|
}
|
2007-11-01 15:37:32 +00:00
|
|
|
|
2020-04-28 15:31:07 +00:00
|
|
|
%fontmeta
|
|
|
|
|
|
|
|
%global source_files %{expand:
|
2020-02-21 12:58:18 +00:00
|
|
|
Source0: %{forgesource0}
|
|
|
|
Source10: 65-%{fontpkgname0}.xml
|
2020-04-28 15:31:07 +00:00
|
|
|
}
|
2007-11-01 15:37:32 +00:00
|
|
|
|
2020-02-21 12:58:18 +00:00
|
|
|
%fontpkg
|
2008-12-17 19:58:52 +00:00
|
|
|
|
2020-04-28 15:31:07 +00:00
|
|
|
%new_package doc
|
|
|
|
Summary: Optional documentation files of %{source_name}
|
2020-02-21 12:58:18 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
%description doc
|
2020-03-02 07:43:17 +00:00
|
|
|
This package provides optional documentation files shipped with
|
2020-04-28 15:31:07 +00:00
|
|
|
%{source_name}.
|
2010-07-25 16:45:09 +00:00
|
|
|
|
2007-11-01 15:37:32 +00:00
|
|
|
%prep
|
2020-02-21 12:58:18 +00:00
|
|
|
%forgesetup
|
2007-11-01 15:37:32 +00:00
|
|
|
|
|
|
|
%build
|
2020-02-21 12:58:18 +00:00
|
|
|
%fontbuild
|
2007-11-01 15:37:32 +00:00
|
|
|
|
|
|
|
%install
|
2020-02-21 12:58:18 +00:00
|
|
|
%fontinstall
|
2008-12-17 19:58:52 +00:00
|
|
|
|
2020-02-21 12:58:18 +00:00
|
|
|
%check
|
|
|
|
%fontcheck
|
2008-12-17 19:58:52 +00:00
|
|
|
|
2020-02-21 12:58:18 +00:00
|
|
|
%fontfiles
|
2007-11-01 15:37:32 +00:00
|
|
|
|
2020-02-21 12:58:18 +00:00
|
|
|
%files doc
|
|
|
|
%license docs/STIX_%{version}_license.pdf
|
|
|
|
%doc docs/charts/*pdf
|
2007-11-01 15:37:32 +00:00
|
|
|
|
2008-12-17 19:58:52 +00:00
|
|
|
%changelog
|
2020-04-28 15:31:07 +00:00
|
|
|
* Mon Apr 27 2020 Nicolas Mailhot <nim@fedoraproject.org>
|
|
|
|
- 2.0.2-6
|
|
|
|
🐞 Workaround Fedora problems created by rpm commit 93604e2
|
|
|
|
|
2020-04-02 18:42:56 +00:00
|
|
|
* Thu Apr 02 2020 Nicolas Mailhot <nim@fedoraproject.org>
|
|
|
|
- 2.0.2-5
|
|
|
|
💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are
|
|
|
|
valid
|
|
|
|
|
2020-04-02 17:51:19 +00:00
|
|
|
* Thu Apr 02 2020 Nicolas Mailhot <nim@fedoraproject.org>
|
|
|
|
- 2.0.2-4
|
|
|
|
👻 Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid
|
|
|
|
|
2020-03-02 07:43:17 +00:00
|
|
|
* Mon Mar 02 2020 Nicolas Mailhot <nim@fedoraproject.org>
|
|
|
|
- 2.0.2-3
|
|
|
|
✅ Lint, lint, lint and lint again
|
|
|
|
|
2020-02-22 20:59:29 +00:00
|
|
|
* Sat Feb 22 2020 Nicolas Mailhot <nim@fedoraproject.org>
|
|
|
|
- 2.0.2-2
|
|
|
|
✅ Rebuild with fonts-rpm-macros 2.0.2
|
|
|
|
|
2020-02-21 12:58:18 +00:00
|
|
|
* Sat Feb 15 2020 Nicolas Mailhot <nim@fedoraproject.org>
|
|
|
|
- 2.0.2-1
|
|
|
|
✅ Convert to fonts-rpm-macros use
|
2008-07-11 20:56:41 +00:00
|
|
|
|
2020-02-21 12:58:18 +00:00
|
|
|
* Thu Nov 1 2007 Nicolas Mailhot <nim@fedoraproject.org>
|
|
|
|
- 0.9-4
|
|
|
|
✅ Initial packaging
|