Update to 1.1.0
This commit is contained in:
parent
5402fb74d7
commit
b988b5ba42
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
STIXv1.0.0.zip
|
||||
/STIXv1.1.0.zip
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
c8ce241126591ab76e488a1a10bf49f5 STIXv1.0.0.zip
|
||||
f25ce7928de5e82cbdc3a6c335a1e813 STIXv1.1.0.zip
|
||||
|
@ -4,13 +4,86 @@
|
||||
<alias>
|
||||
<family>serif</family>
|
||||
<prefer>
|
||||
<family>STIXGeneral</family>
|
||||
<family>STIX</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>STIXGeneral</family>
|
||||
<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>
|
||||
|
@ -1,34 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias binding="same">
|
||||
<family>STIXIntegralsD</family>
|
||||
<accept>
|
||||
<family>STIXGeneral</family>
|
||||
</accept>
|
||||
</alias>
|
||||
<alias binding="same">
|
||||
<family>STIXIntegralsSm</family>
|
||||
<accept>
|
||||
<family>STIXGeneral</family>
|
||||
</accept>
|
||||
</alias>
|
||||
<alias binding="same">
|
||||
<family>STIXIntegralsUp</family>
|
||||
<accept>
|
||||
<family>STIXGeneral</family>
|
||||
</accept>
|
||||
</alias>
|
||||
<alias binding="same">
|
||||
<family>STIXIntegralsUpD</family>
|
||||
<accept>
|
||||
<family>STIXGeneral</family>
|
||||
</accept>
|
||||
</alias>
|
||||
<alias binding="same">
|
||||
<family>STIXIntegralsSm</family>
|
||||
<accept>
|
||||
<family>STIXGeneral</family>
|
||||
</accept>
|
||||
</alias>
|
||||
</fontconfig>
|
18
stix-fonts-math-fontconfig.conf
Normal file
18
stix-fonts-math-fontconfig.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>
|
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias binding="same">
|
||||
<family>STIXNonUnicode</family>
|
||||
<accept>
|
||||
<family>STIXGeneral</family>
|
||||
</accept>
|
||||
</alias>
|
||||
</fontconfig>
|
@ -1,34 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias binding="same">
|
||||
<family>STIXSizeOneSym</family>
|
||||
<accept>
|
||||
<family>STIXGeneral</family>
|
||||
</accept>
|
||||
</alias>
|
||||
<alias binding="same">
|
||||
<family>STIXSizeTwoSym</family>
|
||||
<accept>
|
||||
<family>STIXGeneral</family>
|
||||
</accept>
|
||||
</alias>
|
||||
<alias binding="same">
|
||||
<family>STIXSizeThreeSym</family>
|
||||
<accept>
|
||||
<family>STIXGeneral</family>
|
||||
</accept>
|
||||
</alias>
|
||||
<alias binding="same">
|
||||
<family>STIXSizeFourSym</family>
|
||||
<accept>
|
||||
<family>STIXGeneral</family>
|
||||
</accept>
|
||||
</alias>
|
||||
<alias binding="same">
|
||||
<family>STIXSizeFiveSym</family>
|
||||
<accept>
|
||||
<family>STIXGeneral</family>
|
||||
</accept>
|
||||
</alias>
|
||||
</fontconfig>
|
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias binding="same">
|
||||
<family>STIXVariants</family>
|
||||
<accept>
|
||||
<family>STIXGeneral</family>
|
||||
</accept>
|
||||
</alias>
|
||||
</fontconfig>
|
124
stix-fonts.spec
124
stix-fonts.spec
@ -10,105 +10,55 @@ 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.0.0
|
||||
Release: 3%{?dist}
|
||||
Version: 1.1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Scientific and engineering fonts
|
||||
|
||||
Group: User Interface/X
|
||||
License: OFL
|
||||
URL: http://www.stixfonts.org/
|
||||
# Download hidden behind a form
|
||||
Source0: %{archivename}.zip
|
||||
Source0: http://downloads.sourceforge.net/stixfonts/%{archivename}.zip
|
||||
Source10: stix-fonts-fontconfig.conf
|
||||
Source11: stix-fonts-pua-fontconfig.conf
|
||||
Source12: stix-fonts-integrals-fontconfig.conf
|
||||
Source13: stix-fonts-sizes-fontconfig.conf
|
||||
Source14: stix-fonts-variants-fontconfig.conf
|
||||
Source11: stix-fonts-math-fontconfig.conf
|
||||
|
||||
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.
|
||||
use in the usual four styles.
|
||||
|
||||
%_font_pkg -f %{fontconf}.conf STIXGeneral*otf
|
||||
%doc License/*.pdf
|
||||
%_font_pkg -f %{fontconf}.conf STIX-*otf
|
||||
%doc License/*.pdf *.pdf
|
||||
|
||||
|
||||
%package -n %{fontname}-pua-fonts
|
||||
Summary: Scientific and engineering fonts, PUA glyphs
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%package -n %{fontname}-math-fonts
|
||||
Summary: Scientific and engineering fonts, PUA glyphs
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description -n %{fontname}-pua-fonts
|
||||
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 fonts containing glyphs called out from the Unicode
|
||||
Private Use Area (PUA) range. Glyphs in this range do not have an official
|
||||
Unicode codepoint. They're generally accessible only through specialised
|
||||
software. Text using them will break if they're ever accepted by the Unicode
|
||||
Consortium and moved to an official codepoint.
|
||||
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 pua -f %{fontconf}-pua.conf STIXNonUni*otf
|
||||
%_font_pkg -n math -f %{fontconf}-math.conf STIXMath*otf
|
||||
|
||||
|
||||
%package -n %{fontname}-integrals-fonts
|
||||
Summary: Scientific and engineering fonts, additional integral glyphs
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description -n %{fontname}-integrals-fonts
|
||||
%common_desc
|
||||
|
||||
This package includes fonts containing additional integrals of various size
|
||||
and slant.
|
||||
|
||||
%_font_pkg -n integrals -f %{fontconf}-integrals.conf STIXInt*.otf
|
||||
|
||||
|
||||
%package -n %{fontname}-sizes-fonts
|
||||
Summary: Scientific and engineering fonts, additional glyph sizes
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description -n %{fontname}-sizes-fonts
|
||||
%common_desc
|
||||
|
||||
This package includes fonts containing glyphs in additional sizes (Mostly
|
||||
"fence" and "piece" glyphs).
|
||||
|
||||
%_font_pkg -n sizes -f %{fontconf}-sizes.conf STIXSiz*.otf
|
||||
|
||||
|
||||
%package -n %{fontname}-variants-fonts
|
||||
Summary: Scientific and engineering fonts, additional glyph variants
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description -n %{fontname}-variants-fonts
|
||||
%common_desc
|
||||
|
||||
This package includes fonts containing alternative variants of some glyphs.
|
||||
|
||||
%_font_pkg -n variants -f %{fontconf}-variants.conf STIXVar*otf
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Scientific and engineering fonts, documentation
|
||||
|
||||
%description doc
|
||||
%common_desc
|
||||
|
||||
This package includes the documentation released by the STIX project.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{archivename}
|
||||
for txt in */*.TXT ; do
|
||||
fold -s $txt > $txt.new
|
||||
sed -i 's/\r//' $txt.new
|
||||
touch -r $txt $txt.new
|
||||
mv $txt.new $txt
|
||||
done
|
||||
%setup -q -c
|
||||
|
||||
|
||||
%build
|
||||
@ -118,7 +68,7 @@ done
|
||||
rm -fr %{buildroot}
|
||||
|
||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||
install -m 0644 -p Fonts/*.otf %{buildroot}%{_fontdir}
|
||||
install -m 0644 -p Fonts/STIX-Word/*.otf %{buildroot}%{_fontdir}
|
||||
|
||||
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||
%{buildroot}%{_fontconfig_confdir}
|
||||
@ -126,19 +76,10 @@ install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||
install -m 0644 -p %{SOURCE10} \
|
||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf
|
||||
install -m 0644 -p %{SOURCE11} \
|
||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-pua.conf
|
||||
install -m 0644 -p %{SOURCE12} \
|
||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-integrals.conf
|
||||
install -m 0644 -p %{SOURCE13} \
|
||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-sizes.conf
|
||||
install -m 0644 -p %{SOURCE14} \
|
||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-variants.conf
|
||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-math.conf
|
||||
|
||||
for fconf in %{fontconf}.conf \
|
||||
%{fontconf}-pua.conf \
|
||||
%{fontconf}-integrals.conf \
|
||||
%{fontconf}-sizes.conf \
|
||||
%{fontconf}-variants.conf ; do
|
||||
%{fontconf}-math.conf ; do
|
||||
ln -s %{_fontconfig_templatedir}/$fconf \
|
||||
%{buildroot}%{_fontconfig_confdir}/$fconf
|
||||
done
|
||||
@ -148,12 +89,13 @@ done
|
||||
rm -fr %{buildroot}
|
||||
|
||||
|
||||
%files doc
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc *.pdf Blocks/ Glyphs/ HTML/ License/
|
||||
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user