From 006911d639b10b5c76fc4cfe5843e7bfb19d8f1e Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 07 2019 10:55:24 +0000 Subject: import stix-fonts-1.1.0-12.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1f2b8f2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/STIXv1.1.0.zip diff --git a/.stix-fonts.metadata b/.stix-fonts.metadata new file mode 100644 index 0000000..a000020 --- /dev/null +++ b/.stix-fonts.metadata @@ -0,0 +1 @@ +3fb7cfe1b1f881f6043dee05dcfafcf48ea20ba8 SOURCES/STIXv1.1.0.zip diff --git a/SOURCES/stix-fonts-fontconfig.conf b/SOURCES/stix-fonts-fontconfig.conf new file mode 100644 index 0000000..c53a010 --- /dev/null +++ b/SOURCES/stix-fonts-fontconfig.conf @@ -0,0 +1,89 @@ + + + + + serif + + STIX + + + + STIX + + serif + + + + + STIXGeneral + + STIX + + + + STIXIntegralsD + + STIX + + + + STIXIntegralsSm + + STIX + + + + STIXIntegralsUpD + + STIX + + + + STIXIntegralsUp + + STIX + + + + STIXNonUnicode + + STIX + + + + STIXSizeFiveSym + + STIX + + + + STIXSizeFourSym + + STIX + + + + STIXSizeThreeSym + + STIX + + + + STIXSizeTwoSym + + STIX + + + + STIXSizeOneSym + + STIX + + + + STIXVariants + + STIX + + + diff --git a/SOURCES/stix-fonts-math-fontconfig.conf b/SOURCES/stix-fonts-math-fontconfig.conf new file mode 100644 index 0000000..4eb35d8 --- /dev/null +++ b/SOURCES/stix-fonts-math-fontconfig.conf @@ -0,0 +1,18 @@ + + + + + + STIX Math + + STIX + + + + STIX + + STIX Math + + + diff --git a/SOURCES/stix-math.metainfo.xml b/SOURCES/stix-math.metainfo.xml new file mode 100644 index 0000000..fd5a5ec --- /dev/null +++ b/SOURCES/stix-math.metainfo.xml @@ -0,0 +1,8 @@ + + + + stix-math + CC-BY-3.0 + stix + + diff --git a/SOURCES/stix.metainfo.xml b/SOURCES/stix.metainfo.xml new file mode 100644 index 0000000..eae0996 --- /dev/null +++ b/SOURCES/stix.metainfo.xml @@ -0,0 +1,19 @@ + + + + stix + CC-BY-3.0 + STIX + Scientific and engineering fonts + +

+ 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. +

+
+ pnemade_at_redhat_dot_com + http://www.stixfonts.org/ +
+ diff --git a/SPECS/stix-fonts.spec b/SPECS/stix-fonts.spec new file mode 100644 index 0000000..402b0c3 --- /dev/null +++ b/SPECS/stix-fonts.spec @@ -0,0 +1,183 @@ +%global fontname stix +%global fontconf 61-%{fontname} + +%global archivename STIXv%{version} + +%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/ +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 +BuildRequires: fontpackages-devel +Requires: fontpackages-filesystem + +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 +%setup -q -c + + +%build + + +%install +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 + +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 + + +%changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.1.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.1.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.1.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 05 2016 Fedora Release Engineering - 1.1.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 1.1.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Nov 18 2014 Parag Nemade - 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 - 1.1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 1.1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Feb 15 2013 Fedora Release Engineering - 1.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Nov 08 2012 Stanislav Ochotnicky - 1.1.0-3 +- Upstream changed their tarball with new pdf, rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sun Jul 8 2012 Nicolas Mailhot +- 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 + +* Sat Jan 14 2012 Fedora Release Engineering - 1.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Jul 25 2010 Nicolas Mailhot +- 1.0.0-1 +— Update to non-beta release +— Switch licensing to OFL +— Add -doc subpackage + +* Sun Jul 26 2009 Fedora Release Engineering +- 0.9-13 +— Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering +- 0.9-12 +— Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Feb 16 2009 Nicolas Mailhot +- 0.9-11 +— prepare for F11 mass rebuild, new rpm and new fontpackages + +* Fri Jan 16 2009 Nicolas Mailhot +- 0.9-10 +‣ Convert to new naming guidelines + +* Sun Nov 23 2008 Nicolas Mailhot +- 0.9-9 +ᛤ ‘rpm-fonts’ renamed to “fontpackages” + +* Fri Nov 14 2008 Nicolas Mailhot +- 0.9-8 +▤ Rebuild using new « rpm-fonts » + +* Fri Jul 11 2008 Nicolas Mailhot +- 0.9-7 +⌖ Fedora 10 alpha general package cleanup + +* Thu Nov 1 2007 Nicolas Mailhot +☺ 0.9-6 + ✓ Add some fontconfig aliasing rules +☢ 0.9-4 +⚠ Initial experimental packaging