forked from pool/mathjax
Accepting request 908511 from Java:packages
fix build on systems that have no %%_fontsdir macro OBS-URL: https://build.opensuse.org/request/show/908511 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mathjax?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 26 16:50:13 UTC 2021 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Define _fontsdir for building on systems that don't have it
|
||||
defined
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 1 17:05:15 UTC 2016 - toddrme2178@gmail.com
|
||||
|
||||
|
14
mathjax.spec
14
mathjax.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package spec
|
||||
# spec file for package mathjax
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,22 +12,24 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{!?_fontsdir:%global _fontsdir %{_datadir}/fonts}
|
||||
Name: mathjax
|
||||
Version: 2.6.0
|
||||
Release: 0
|
||||
Summary: JavaScript library to render math in the browser
|
||||
Group: Development/Libraries/Java
|
||||
License: Apache-2.0
|
||||
Url: http://mathjax.org
|
||||
URL: http://mathjax.org
|
||||
Source0: https://github.com/mathjax/MathJax/archive/%{version}.tar.gz
|
||||
BuildRequires: fontpackages-devel
|
||||
Requires: %{name}-ams-fonts
|
||||
Requires: %{name}-caligraphic-fonts
|
||||
Requires: %{name}-fraktur-fonts %{name}-main-fonts
|
||||
Requires: %{name}-fraktur-fonts
|
||||
Requires: %{name}-main-fonts
|
||||
Requires: %{name}-math-fonts
|
||||
Requires: %{name}-sansserif-fonts
|
||||
Requires: %{name}-script-fonts
|
||||
@@ -263,4 +265,4 @@ done
|
||||
%defattr(-,root,root)
|
||||
%{_fontsdir}/MathJax_WinChrome-*.*
|
||||
|
||||
%changelog
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user