stix-fonts/stix-fonts.spec

196 lines
6.7 KiB
RPMSpec
Raw Normal View History

2009-02-17 19:09:25 +00:00
%global fontname stix
%global fontconf 61-%{fontname}
2007-11-01 18:20:55 +00:00
%global archivename STIXv%{version}
2007-11-01 15:37:32 +00:00
2009-02-17 19:09:25 +00:00
%global common_desc \
2008-12-17 19:58:52 +00:00
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.
2007-11-01 15:37:32 +00:00
Name: %{fontname}-fonts
2012-07-08 15:06:55 +00:00
Version: 1.1.0
Release: 16%{?dist}
Summary: Scientific and engineering fonts
License: OFL
URL: http://www.stixfonts.org/
2012-07-08 15:06:55 +00:00
Source0: http://downloads.sourceforge.net/stixfonts/%{archivename}.zip
Source10: stix-fonts-fontconfig.conf
2012-07-08 15:06:55 +00:00
Source11: stix-fonts-math-fontconfig.conf
Source20: %{fontname}.metainfo.xml
Source21: %{fontname}-math.metainfo.xml
2008-12-17 19:58:52 +00:00
BuildArch: noarch
BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem
2007-11-01 15:37:32 +00:00
2012-07-08 15:06:55 +00:00
Obsoletes: stix-fonts-doc < 1.1.0
2007-11-01 15:37:32 +00:00
%description
2008-12-17 19:58:52 +00:00
%common_desc
2007-11-01 15:37:32 +00:00
This package includes base Unicode fonts containing most glyphs for standard
2012-07-08 15:06:55 +00:00
use in the usual four styles.
2012-07-08 15:06:55 +00:00
%_font_pkg -f %{fontconf}.conf STIX-*otf
%doc License/*.pdf *.pdf
%{_datadir}/appdata/%{fontname}.metainfo.xml
2007-11-01 15:37:32 +00:00
2012-07-08 15:06:55 +00:00
%package -n %{fontname}-math-fonts
Summary: Scientific and engineering fonts, PUA glyphs
Requires: %{name} = %{version}-%{release}
2007-11-01 15:37:32 +00:00
2012-07-08 15:06:55 +00:00
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
2007-11-01 15:37:32 +00:00
2008-12-17 19:58:52 +00:00
2012-07-08 15:06:55 +00:00
%description -n %{fontname}-math-fonts
2008-12-17 19:58:52 +00:00
%common_desc
2007-11-01 15:37:32 +00:00
2012-07-08 15:06:55 +00:00
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.
2007-11-01 15:37:32 +00:00
2012-07-08 15:06:55 +00:00
%_font_pkg -n math -f %{fontconf}-math.conf STIXMath*otf
%{_datadir}/appdata/%{fontname}-math.metainfo.xml
2008-12-17 19:58:52 +00:00
2007-11-01 15:37:32 +00:00
%prep
2012-07-08 15:06:55 +00:00
%setup -q -c
2007-11-01 15:37:32 +00:00
%build
%install
2008-12-17 19:58:52 +00:00
install -m 0755 -d %{buildroot}%{_fontdir}
2012-07-08 15:06:55 +00:00
install -m 0644 -p Fonts/STIX-Word/*.otf %{buildroot}%{_fontdir}
2008-12-17 19:58:52 +00:00
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
install -m 0644 -p %{SOURCE10} \
2008-12-17 19:58:52 +00:00
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf
install -m 0644 -p %{SOURCE11} \
2012-07-08 15:06:55 +00:00
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-math.conf
2008-12-17 19:58:52 +00:00
2009-01-16 21:27:32 +00:00
for fconf in %{fontconf}.conf \
2012-07-08 15:06:55 +00:00
%{fontconf}-math.conf ; do
2009-01-16 21:27:32 +00:00
ln -s %{_fontconfig_templatedir}/$fconf \
%{buildroot}%{_fontconfig_confdir}/$fconf
2008-12-17 19:58:52 +00:00
done
2007-11-01 17:53:36 +00:00
# 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
2007-11-01 15:37:32 +00:00
2008-12-17 19:58:52 +00:00
%changelog
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Nov 18 2014 Parag Nemade <pnemade AT redhat DOT com> - 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 <rel-eng@lists.fedoraproject.org> - 1.1.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Nov 08 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.1.0-3
- Upstream changed their tarball with new pdf, rebuild
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-07-08 15:06:55 +00:00
* 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
* 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
2009-02-16 23:33:24 +00:00
* 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>
2009-01-16 21:27:32 +00:00
- 0.9-10
Convert to new naming guidelines
2009-02-16 23:33:24 +00:00
* Sun Nov 23 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2008-12-17 19:58:52 +00:00
- 0.9-9
rpm-fonts renamed to “fontpackages”
2007-11-01 15:37:32 +00:00
2009-02-16 23:33:24 +00:00
* Fri Nov 14 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2008-12-17 19:58:52 +00:00
- 0.9-8
Rebuild using new « rpm-fonts »
2007-11-01 15:37:32 +00:00
2009-02-16 23:33:24 +00:00
* Fri Jul 11 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 0.9-7
Fedora 10 alpha general package cleanup
2009-02-16 23:33:24 +00:00
* Thu Nov 1 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
2007-11-01 18:20:55 +00:00
0.9-6
2007-11-01 17:53:36 +00:00
Add some fontconfig aliasing rules
2007-11-01 15:37:32 +00:00
0.9-4
Initial experimental packaging