Compare commits

...

No commits in common. "c8" and "c9-beta" have entirely different histories.
c8 ... c9-beta

8 changed files with 104 additions and 289 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/STIXv1.1.0.zip SOURCES/stixfonts-2.0.2.tar.gz

View File

@ -1 +1 @@
3fb7cfe1b1f881f6043dee05dcfafcf48ea20ba8 SOURCES/STIXv1.1.0.zip ede529801eaf39e1174e29eb5d42c11db87da32b SOURCES/stixfonts-2.0.2.tar.gz

27
SOURCES/65-stix-fonts.xml Normal file
View File

@ -0,0 +1,27 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- SPDX-License-Identifier: MIT -->
<fontconfig>
<group>
<target>STIX</target>
<family>STIX Two Text</family>
<family>STIX Two Math</family>
<like>
<family>STIXGeneral</family>
<family>STIXIntegralsD</family>
<family>STIXIntegralsSm</family>
<family>STIXIntegralsUpD</family>
<family>STIXIntegralsUp</family>
<family>STIXNonUnicode</family>
<family>STIXSizeFiveSym</family>
<family>STIXSizeFourSym</family>
<family>STIXSizeThreeSym</family>
<family>STIXSizeTwoSym</family>
<family>STIXSizeOneSym</family>
<family>STIXVariants</family>
<family>STIX Math</family>
<family>serif</family>
</like>
</group>
</fontconfig>

View File

@ -1,89 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>STIX</family>
</prefer>
</alias>
<alias>
<family>STIX</family>
<default>
<family>serif</family>
</default>
</alias>
<!-- Alias all the names used in STIX 1.0 -->
<alias binding="same">
<family>STIXGeneral</family>
<accept>
<family>STIX</family>
</accept>
</alias>
<alias binding="same">
<family>STIXIntegralsD</family>
<accept>
<family>STIX</family>
</accept>
</alias>
<alias binding="same">
<family>STIXIntegralsSm</family>
<accept>
<family>STIX</family>
</accept>
</alias>
<alias binding="same">
<family>STIXIntegralsUpD</family>
<accept>
<family>STIX</family>
</accept>
</alias>
<alias binding="same">
<family>STIXIntegralsUp</family>
<accept>
<family>STIX</family>
</accept>
</alias>
<alias binding="same">
<family>STIXNonUnicode</family>
<accept>
<family>STIX</family>
</accept>
</alias>
<alias binding="same">
<family>STIXSizeFiveSym</family>
<accept>
<family>STIX</family>
</accept>
</alias>
<alias binding="same">
<family>STIXSizeFourSym</family>
<accept>
<family>STIX</family>
</accept>
</alias>
<alias binding="same">
<family>STIXSizeThreeSym</family>
<accept>
<family>STIX</family>
</accept>
</alias>
<alias binding="same">
<family>STIXSizeTwoSym</family>
<accept>
<family>STIX</family>
</accept>
</alias>
<alias binding="same">
<family>STIXSizeOneSym</family>
<accept>
<family>STIX</family>
</accept>
</alias>
<alias binding="same">
<family>STIXVariants</family>
<accept>
<family>STIX</family>
</accept>
</alias>
</fontconfig>

View File

@ -1,18 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Complete STIX Math with the main STIX faces, and complete those
faces with STIX Math symbols -->
<alias binding="same">
<family>STIX Math</family>
<accept>
<family>STIX</family>
</accept>
</alias>
<alias binding="same">
<family>STIX</family>
<accept>
<family>STIX Math</family>
</accept>
</alias>
</fontconfig>

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Parag Nemade <pnemade AT redhat DOT com> -->
<component type="font">
<id>stix-math</id>
<metadata_license>CC-BY-3.0</metadata_license>
<extends>stix</extends>
</component>

View File

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Parag Nemade <pnemade AT redhat DOT com> -->
<component type="font">
<id>stix</id>
<metadata_license>CC-BY-3.0</metadata_license>
<name>STIX</name>
<summary>Scientific and engineering fonts</summary>
<description>
<p>
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.
</p>
</description>
<updatecontact>pnemade_at_redhat_dot_com</updatecontact>
<url type="homepage">http://www.stixfonts.org/</url>
</component>

View File

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