|
|
@ -1,105 +1,183 @@
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
%global fontname stix
|
|
|
|
%global forgeurl https://github.com/stipub/stixfonts/
|
|
|
|
%global fontconf 61-%{fontname}
|
|
|
|
Version: 2.0.2
|
|
|
|
|
|
|
|
%forgemeta
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
%global archivename STIXv%{version}
|
|
|
|
URL: http://www.stixfonts.org/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global foundry STIX
|
|
|
|
%global common_desc \
|
|
|
|
%global fontlicense OFL
|
|
|
|
The mission of the Scientific and Technical Information Exchange (STIX) font \
|
|
|
|
%global fontlicenses docs/STIX_%{version}_license.pdf
|
|
|
|
creation project is the preparation of a comprehensive set of fonts that serve \
|
|
|
|
%global fontdocs *.md docs/*.txt
|
|
|
|
the scientific and engineering community in the process from manuscript \
|
|
|
|
%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.
|
|
|
|
creation through final publication, both in electronic and print formats.
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Source0: %{forgesource0}
|
|
|
|
Name: %{fontname}-fonts
|
|
|
|
Source10: 65-%{fontpkgname0}.xml
|
|
|
|
Version: 1.1.0
|
|
|
|
|
|
|
|
Release: 12%{?dist}
|
|
|
|
|
|
|
|
Summary: Scientific and engineering fonts
|
|
|
|
|
|
|
|
|
|
|
|
%fontpkg
|
|
|
|
License: OFL
|
|
|
|
|
|
|
|
URL: http://www.stixfonts.org/
|
|
|
|
|
|
|
|
Source0: http://downloads.sourceforge.net/stixfonts/%{archivename}.zip
|
|
|
|
|
|
|
|
Source10: stix-fonts-fontconfig.conf
|
|
|
|
|
|
|
|
Source11: stix-fonts-math-fontconfig.conf
|
|
|
|
|
|
|
|
Source20: %{fontname}.metainfo.xml
|
|
|
|
|
|
|
|
Source21: %{fontname}-math.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
|
|
|
Summary: Optional documentation files of %{source_name}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
%description doc
|
|
|
|
BuildRequires: fontpackages-devel
|
|
|
|
This package provides optional documentation files shipped with
|
|
|
|
Requires: fontpackages-filesystem
|
|
|
|
%{source_name}.
|
|
|
|
|
|
|
|
|
|
|
|
Obsoletes: stix-fonts-doc < 1.1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package includes base Unicode fonts containing most glyphs for standard
|
|
|
|
|
|
|
|
use in the usual four styles.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%_font_pkg -f %{fontconf}.conf STIX-*otf
|
|
|
|
|
|
|
|
%doc License/*.pdf *.pdf
|
|
|
|
|
|
|
|
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{fontname}-math-fonts
|
|
|
|
|
|
|
|
Summary: Scientific and engineering fonts, PUA glyphs
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Obsoletes: stix-integrals-fonts < 1.1.0
|
|
|
|
|
|
|
|
Obsoletes: stix-pua-fonts < 1.1.0
|
|
|
|
|
|
|
|
Obsoletes: stix-sizes-fonts < 1.1.0
|
|
|
|
|
|
|
|
Obsoletes: stix-variants-fonts < 1.1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{fontname}-math-fonts
|
|
|
|
|
|
|
|
%common_desc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package includes one symbol font completing the four faces in the main
|
|
|
|
|
|
|
|
%{name} package. It replaces the heap of confusing fontlets in the first Stix
|
|
|
|
|
|
|
|
release.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%_font_pkg -n math -f %{fontconf}-math.conf STIXMath*otf
|
|
|
|
|
|
|
|
%{_datadir}/appdata/%{fontname}-math.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%forgesetup
|
|
|
|
%setup -q -c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%fontbuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%fontinstall
|
|
|
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
|
|
|
|
|
install -m 0644 -p Fonts/STIX-Word/*.otf %{buildroot}%{_fontdir}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
|
|
|
|
|
%{buildroot}%{_fontconfig_confdir}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install -m 0644 -p %{SOURCE10} \
|
|
|
|
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf
|
|
|
|
|
|
|
|
install -m 0644 -p %{SOURCE11} \
|
|
|
|
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-math.conf
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
for fconf in %{fontconf}.conf \
|
|
|
|
%fontcheck
|
|
|
|
%{fontconf}-math.conf ; do
|
|
|
|
|
|
|
|
ln -s %{_fontconfig_templatedir}/$fconf \
|
|
|
|
|
|
|
|
%{buildroot}%{_fontconfig_confdir}/$fconf
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
%fontfiles
|
|
|
|
# Add AppStream metadata
|
|
|
|
|
|
|
|
install -Dm 0644 -p %{SOURCE20} \
|
|
|
|
|
|
|
|
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
|
|
|
|
|
install -Dm 0644 -p %{SOURCE21} \
|
|
|
|
|
|
|
|
%{buildroot}%{_datadir}/appdata/%{fontname}-math.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
|
|
|
%license docs/STIX_%{version}_license.pdf
|
|
|
|
|
|
|
|
%doc docs/charts/*pdf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com>
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-12
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-11
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-10
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-9
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-8
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 18 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.1.0-7
|
|
|
|
|
|
|
|
- Add metainfo file to show this font in gnome-software
|
|
|
|
|
|
|
|
- Remove %%clean section which is optional now
|
|
|
|
|
|
|
|
- Remove buildroot which is optional now
|
|
|
|
|
|
|
|
- Remove removal of buildroot in %%install
|
|
|
|
|
|
|
|
- Remove group tag
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 08 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1.0-3
|
|
|
|
|
|
|
|
- Upstream changed their tarball with new pdf, rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jul 8 2012 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
|
|
|
|
- 1.1.0-1
|
|
|
|
|
|
|
|
— Update to new stable release
|
|
|
|
|
|
|
|
— Major refactoring now that some sanity prevailed upstream in font naming
|
|
|
|
|
|
|
|
Be careful if you used the old font family names
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com>
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-9
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 11 2020 Parag Nemade <pnemade AT redhat DOT com>
|
|
|
|
* Sun Jul 25 2010 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.0.2-8
|
|
|
|
- 1.0.0-1
|
|
|
|
- Fix this spec file to build for F33+
|
|
|
|
— Update to non-beta release
|
|
|
|
|
|
|
|
— Switch licensing to OFL
|
|
|
|
|
|
|
|
— Add -doc subpackage
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org>
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
- 0.9-13
|
|
|
|
|
|
|
|
— Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Apr 27 2020 Nicolas Mailhot <nim@fedoraproject.org>
|
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
|
|
- 2.0.2-6
|
|
|
|
- 0.9-12
|
|
|
|
🐞 Workaround Fedora problems created by rpm commit 93604e2
|
|
|
|
— Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 02 2020 Nicolas Mailhot <nim@fedoraproject.org>
|
|
|
|
* Mon Feb 16 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.0.2-5
|
|
|
|
- 0.9-11
|
|
|
|
💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are
|
|
|
|
— prepare for F11 mass rebuild, new rpm and new fontpackages
|
|
|
|
valid
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 02 2020 Nicolas Mailhot <nim@fedoraproject.org>
|
|
|
|
* Fri Jan 16 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.0.2-4
|
|
|
|
- 0.9-10
|
|
|
|
👻 Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid
|
|
|
|
‣ Convert to new naming guidelines
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 02 2020 Nicolas Mailhot <nim@fedoraproject.org>
|
|
|
|
* Sun Nov 23 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.0.2-3
|
|
|
|
- 0.9-9
|
|
|
|
✅ Lint, lint, lint and lint again
|
|
|
|
ᛤ ‘rpm-fonts’ renamed to “fontpackages”
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 22 2020 Nicolas Mailhot <nim@fedoraproject.org>
|
|
|
|
* Fri Nov 14 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.0.2-2
|
|
|
|
- 0.9-8
|
|
|
|
✅ Rebuild with fonts-rpm-macros 2.0.2
|
|
|
|
▤ Rebuild using new « rpm-fonts »
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 15 2020 Nicolas Mailhot <nim@fedoraproject.org>
|
|
|
|
* Fri Jul 11 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 2.0.2-1
|
|
|
|
- 0.9-7
|
|
|
|
✅ Convert to fonts-rpm-macros use
|
|
|
|
⌖ Fedora 10 alpha general package cleanup
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 1 2007 Nicolas Mailhot <nim@fedoraproject.org>
|
|
|
|
* Thu Nov 1 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
|
- 0.9-4
|
|
|
|
☺ 0.9-6
|
|
|
|
✅ Initial packaging
|
|
|
|
✓ Add some fontconfig aliasing rules
|
|
|
|
|
|
|
|
☢ 0.9-4
|
|
|
|
|
|
|
|
⚠ Initial experimental packaging
|
|
|
|