Package init
This commit is contained in:
parent
bf5c5b01ef
commit
e19524f4bc
18
61-stix-math.conf
Normal file
18
61-stix-math.conf
Normal file
@ -0,0 +1,18 @@
|
||||
<?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>
|
||||
89
61-stix.conf
Normal file
89
61-stix.conf
Normal file
@ -0,0 +1,89 @@
|
||||
<?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>
|
||||
BIN
STIXv1.1.0.zip
Normal file
BIN
STIXv1.1.0.zip
Normal file
Binary file not shown.
56
stix-fonts.spec
Normal file
56
stix-fonts.spec
Normal file
@ -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 <yanglijin@huawei.com> - 1.1.0-15
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user