4218d59
%global fontname oflb-asana-math
4218d59
%global fontconf 63-%{fontname}.conf
4218d59
4218d59
Name:           %{fontname}-fonts
9b10364
Version:        0.954
2e2b961
Release:        1%{?dist}
4218d59
Summary:        An OpenType font with a MATH table
4218d59
4218d59
Group:          User Interface/X
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
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
4218d59
4218d59
%_font_pkg -f %{fontconf} *.otf
4218d59
%doc README.license License.txt
4218d59
4218d59
4218d59
%changelog
9b10364
* Wed Nov 05 2014 Parag Nemade <pnemade AT redha DOT com> - 0.954-1
9b10364
- update to 954 update
9b10364
2e2b961
* Tue Sep 30 2014 Parag Nemade <pnemade AT redha DOT com> - 0.952-1
2e2b961
- update to 952 update
2e2b961
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