diff --git a/61-stix-math.conf b/61-stix-math.conf new file mode 100644 index 0000000..4eb35d8 --- /dev/null +++ b/61-stix-math.conf @@ -0,0 +1,18 @@ + + + + + + STIX Math + + STIX + + + + STIX + + STIX Math + + + diff --git a/61-stix.conf b/61-stix.conf new file mode 100644 index 0000000..c53a010 --- /dev/null +++ b/61-stix.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/STIXv1.1.0.zip b/STIXv1.1.0.zip new file mode 100644 index 0000000..4241545 Binary files /dev/null and b/STIXv1.1.0.zip differ diff --git a/stix-fonts.spec b/stix-fonts.spec new file mode 100644 index 0000000..b522d94 --- /dev/null +++ b/stix-fonts.spec @@ -0,0 +1,56 @@ +%global fontname stix +Name: stix-fonts +Version: 1.1.0 +Release: 15 +Summary: Scientific and Technical Information Exchange font +License: OFL +URL: http://www.stixfonts.org/ +Source0: http://downloads.sourceforge.net/stixfonts/STIXv1.1.0.zip +Source1: 61-stix.conf +Source2: 61-stix-math.conf +BuildArch: noarch +BuildRequires: fontpackages-devel +Requires: fontpackages-filesystem +Obsoletes: stix-fonts-doc < 1.1.0 + +%description +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. + +%package -n stix-math-fonts +Summary: Scientific and engineering fonts, PUA glyphs +Requires: %{name} = %{version}-%{release} +Obsoletes: stix-integrals-fonts < 1.1.0 stix-pua-fonts < 1.1.0 +Obsoletes: stix-sizes-fonts < 1.1.0 stix-variants-fonts < 1.1.0 + +%description -n stix-math-fonts +This package includes one symbol font completing the four faces in the main +stix-font package. It replaces the heap of confusing fontlets in the first Stix +release. + +%prep +%autosetup -c -p1 + +%build + +%install +install -d -m 0755 %{buildroot}%{_fontdir} +install -p -m 0644 Fonts/STIX-Word/*.otf %{buildroot}%{_fontdir} +install -d -m 0755 %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir} +install -p -m 0644 %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/61-stix.conf +install -p -m 0644 %{SOURCE2} %{buildroot}%{_fontconfig_templatedir}/61-stix-math.conf + +for fconf in 61-stix.conf 61-stix-math.conf ; do + ln -s %{_fontconfig_templatedir}/$fconf %{buildroot}%{_fontconfig_confdir}/$fconf +done + +%_font_pkg -f 61-stix.conf STIX-*otf +%doc License/*.pdf *.pdf + +%_font_pkg -n math -f 61-stix-math.conf STIXMath*otf + +%changelog +* Tue Nov 5 2019 Lijin Yang - 1.1.0-15 +- Package init