4218d59
%global fontname oflb-asana-math
4218d59
%global fontconf 63-%{fontname}.conf
4218d59
4218d59
Name:           %{fontname}-fonts
1962970
Version:        0.954
2c44d93
Release:        4%{?dist}
4218d59
Summary:        An OpenType font with a MATH table
4218d59
4218d59
License:        OFL
4218d59
## Note that upstream is dead and there is no download link available at this minute
4218d59
## so please don't report FTBFS bugs for this package.
4713462
URL:            http://www.ctan.org/tex-archive/fonts/Asana-Math/
2e2b961
Source0:        http://mirrors.ctan.org/fonts/Asana-Math/Asana-Math.otf
4218d59
Source1:        %{name}-fontconfig.conf
4218d59
Source2:        README.license
4218d59
#license text extracted from font file
4218d59
Source3:        License.txt
259e1cc
Source4:        %{fontname}.metainfo.xml
4218d59
4218d59
BuildArch:      noarch
4218d59
BuildRequires:  fontpackages-devel
4218d59
Requires:       fontpackages-filesystem
4218d59
Obsoletes:      asana-math-fonts < 0.914-8
4218d59
Provides:       asana-math-fonts = %{version}-%{release}
4218d59
4218d59
%description
4218d59
An OpenType font with a MATH table that can be used with XeTeX to typeset math
4218d59
content
4218d59
4218d59
4218d59
%prep
4218d59
cp -p %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} .
4218d59
4218d59
%build
4218d59
#nothing to do
4218d59
4218d59
%install
4218d59
install -m 0755 -d %{buildroot}%{_fontdir}
4218d59
install -m 0644 -p %{SOURCE0} %{buildroot}%{_fontdir}
4218d59
4218d59
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
4218d59
                   %{buildroot}%{_fontconfig_confdir}
4218d59
4218d59
install -m 0644 -p %{SOURCE1} \
4218d59
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
4218d59
ln -s %{_fontconfig_templatedir}/%{fontconf} \
4218d59
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
4218d59
259e1cc
# Add AppStream metadata
259e1cc
install -Dm 0644 -p %{SOURCE4} \
259e1cc
        %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
4218d59
4218d59
%_font_pkg -f %{fontconf} *.otf
4218d59
%doc README.license License.txt
259e1cc
%{_datadir}/appdata/%{fontname}.metainfo.xml
4218d59
4218d59
4218d59
%changelog
2c44d93
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.954-4
2c44d93
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2c44d93
e3ae0d2
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.954-3
e3ae0d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e3ae0d2
1f934ef
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.954-2
1f934ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1f934ef
1962970
* Wed Nov 05 2014 Parag Nemade <pnemade AT redha DOT com> - 0.954-1
1962970
- update to 954 update
1962970
259e1cc
* Thu Oct 16 2014 Parag Nemade <pnemade AT redhat.com> - 0.952-2
259e1cc
- Add metainfo file to show this font in gnome-software
259e1cc
2e2b961
* Tue Sep 30 2014 Parag Nemade <pnemade AT redha DOT com> - 0.952-1
2e2b961
- update to 952 update
2e2b961
1d8413f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.930-6
1d8413f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1d8413f
de5e492
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.930-5
de5e492
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
de5e492
f1057d7
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.930-4
f1057d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f1057d7
dd7d097
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.930-3
dd7d097
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
dd7d097
6c6e991
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.930-2
6c6e991
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6c6e991
4713462
* Thu Aug 25 2011 Parag Nemade <pnemade AT redha DOT com> - 0.930-1
4713462
- Update to next upstream release
4713462
59b8fec
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.914-9
59b8fec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
59b8fec
4218d59
* Tue Jul 13 2010 Parag Nemade <pnemade AT redhat.com> - 0.914-8
4218d59
- Initial package to rename from asana-math-fonts.
4218d59
- updated/renamed this package according to fonts packaging guidelines.
4218d59