update to 1.0.7 [release 1.0.7-1mamba;Sun Apr 11 2021]
This commit is contained in:
parent
5e31158cdb
commit
35ac315b18
35
LICENSE
Normal file
35
LICENSE
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
JLaTeXMath-FOP Library - Enables inclusion of LaTeX formulas in fo.
|
||||||
|
|
||||||
|
Copyright (C) 2010-2011 DENIZET Calixte
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; see the file COPYING. If not, write to the
|
||||||
|
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
|
||||||
|
MA 02110-1301, USA.
|
||||||
|
|
||||||
|
Linking this library statically or dynamically with other modules
|
||||||
|
is making a combined work based on this library. Thus, the terms
|
||||||
|
and conditions of the GNU General Public License cover the whole
|
||||||
|
combination.
|
||||||
|
|
||||||
|
As a special exception, the copyright holders of this library give you
|
||||||
|
permission to link this library with independent modules to produce
|
||||||
|
an executable, regardless of the license terms of these independent
|
||||||
|
modules, and to copy and distribute the resulting executable under terms
|
||||||
|
of your choice, provided that you also meet, for each linked independent
|
||||||
|
module, the terms and conditions of the license of that module.
|
||||||
|
An independent module is a module which is not derived from or based
|
||||||
|
on this library. If you modify this library, you may extend this exception
|
||||||
|
to your version of the library, but you are not obliged to do so.
|
||||||
|
If you do not wish to do so, delete this exception statement from your
|
||||||
|
version.
|
@ -1,86 +1,38 @@
|
|||||||
Name: java-jlatexmath
|
Name: java-jlatexmath
|
||||||
Version: 0.9.4
|
Version: 1.0.7
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A Java API to render LaTeX
|
Summary: A Java API to render LaTeX
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: gil <puntogil@libero.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://forge.scilab.org/index.php/p/jlatexmath/
|
URL: https://github.com/opencollab/jlatexmath
|
||||||
# http://forge.scilab.org/index.php/p/jlatexmath/downloads/186/get/
|
Source: https://repo1.maven.org/maven2/org/scilab/forge/jlatexmath/%{version}/jlatexmath-%{version}.jar
|
||||||
Source: jlatexmath-src-all-%{version}.zip
|
Source1: https://repo1.maven.org/maven2/org/scilab/forge/jlatexmath-fop/%{version}/jlatexmath-fop-%{version}.jar
|
||||||
|
Source2: https://github.com/opencollab/jlatexmath/raw/%{version}/jlatexmath-fop/LICENSE
|
||||||
License: GPL
|
License: GPL
|
||||||
BuildRequires: apache-ant
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: apache-batik
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: apache-fop == 0.95
|
BuildRequires: javapackages
|
||||||
BuildRequires: jakarta-commons-io == 1.4
|
|
||||||
BuildRequires: jakarta-commons-logging == 1.1.1
|
|
||||||
BuildRequires: java-excalibur-avalon-framework
|
|
||||||
BuildRequires: java-openjdk
|
|
||||||
BuildRequires: jpackage-utils
|
|
||||||
BuildRequires: xmlgraphics-commons == 1.3.1
|
|
||||||
BuildRequires: xml-commons-apis
|
|
||||||
Requires: jpackage-utils
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The goal of this Java API is to display mathematical formulas written in LaTeX.
|
The goal of this Java API is to display mathematical formulas written in LaTeX.
|
||||||
The default encoding is UTF-8.
|
The default encoding is UTF-8.
|
||||||
|
|
||||||
%package javadoc
|
|
||||||
Group: Documentation
|
|
||||||
Summary: Javadoc for %{name}
|
|
||||||
|
|
||||||
%description javadoc
|
|
||||||
JLaTeXMath - A Java API to render LaTeX.
|
|
||||||
|
|
||||||
This package contains documentation for %{name}.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n jlatexmath-%{version}
|
%setup -q -c
|
||||||
|
|
||||||
for j in $(find . -name "*.jar"); do
|
|
||||||
rm -rf $j
|
|
||||||
done
|
|
||||||
|
|
||||||
cat > fop.properties << ___GIL
|
|
||||||
fop.jar=$(build-classpath fop)
|
|
||||||
xmlgraphics-commons.jar=$(build-classpath xmlgraphics-commons)
|
|
||||||
batik.jar=$(build-classpath batik-all)
|
|
||||||
avalon-framework.jar=$(build-classpath excalibur/avalon-framework)
|
|
||||||
commons-io.jar=$(build-classpath commons-io)
|
|
||||||
commons-logging.jar=$(build-classpath commons-logging)
|
|
||||||
xml-apis-ext.jar=$(build-classpath xml-commons-apis-ext)
|
|
||||||
___GIL
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
cp %{SOURCE2} .
|
||||||
ant \
|
|
||||||
-Dxmlgraphics-commons.jar=$(build-classpath xmlgraphics-commons) \
|
|
||||||
-Dfop.jar=$(build-classpath fop) \
|
|
||||||
all doc
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_javadir}
|
install -D -m644 %{SOURCE0} %{buildroot}%{_javadir}/jlatexmath-%{version}.jar
|
||||||
|
ln -s jlatexmath-%{version}.jar %{buildroot}%{_javadir}/jlatexmath.jar
|
||||||
|
|
||||||
install -pm 644 dist/jlatexmath-%{version}.jar %{buildroot}%{_javadir}/
|
install -D -m644 %{SOURCE1} %{buildroot}%{_javadir}/jlatexmath-fop-%{version}.jar
|
||||||
install -pm 644 dist/jlatexmath-embedded-fop-%{version}.jar %{buildroot}%{_javadir}/
|
ln -s jlatexmath-%{version}.jar %{buildroot}%{_javadir}/jlatexmath-fop.jar
|
||||||
install -pm 644 dist/jlatexmath-fop-%{version}.jar %{buildroot}%{_javadir}/
|
|
||||||
install -pm 644 dist/jlatexmath-minimal-%{version}.jar %{buildroot}%{_javadir}/
|
|
||||||
install -pm 644 dist/jlm_cyrillic.jar %{buildroot}%{_javadir}/jlm_cyrillic-%{version}.jar
|
|
||||||
install -pm 644 dist/jlm_greek.jar %{buildroot}%{_javadir}/jlm_greek-%{version}.jar
|
|
||||||
|
|
||||||
(
|
|
||||||
cd %{buildroot}%{_javadir}
|
|
||||||
for jar in *-%{version}*; do
|
|
||||||
ln -sf ${jar} ${jar/-%{version}/}
|
|
||||||
done
|
|
||||||
)
|
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_javadocdir}/jlatexmath
|
|
||||||
cp -pr doc/* %{buildroot}%{_javadocdir}/jlatexmath
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -89,22 +41,13 @@ cp -pr doc/* %{buildroot}%{_javadocdir}/jlatexmath
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_javadir}/jlatexmath-%{version}.jar
|
%{_javadir}/jlatexmath-%{version}.jar
|
||||||
%{_javadir}/jlatexmath.jar
|
%{_javadir}/jlatexmath.jar
|
||||||
%{_javadir}/jlatexmath-embedded-fop-%{version}.jar
|
|
||||||
%{_javadir}/jlatexmath-embedded-fop.jar
|
|
||||||
%{_javadir}/jlatexmath-fop-%{version}.jar
|
%{_javadir}/jlatexmath-fop-%{version}.jar
|
||||||
%{_javadir}/jlatexmath-fop.jar
|
%{_javadir}/jlatexmath-fop.jar
|
||||||
%{_javadir}/jlatexmath-minimal-%{version}.jar
|
%doc LICENSE
|
||||||
%{_javadir}/jlatexmath-minimal.jar
|
|
||||||
%{_javadir}/jlm_cyrillic-%{version}.jar
|
|
||||||
%{_javadir}/jlm_cyrillic.jar
|
|
||||||
%{_javadir}/jlm_greek-%{version}.jar
|
|
||||||
%{_javadir}/jlm_greek.jar
|
|
||||||
%doc COPYING LICENSE README
|
|
||||||
|
|
||||||
%files javadoc
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_javadocdir}/jlatexmath
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Apr 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.7-1mamba
|
||||||
|
- update to 1.0.7
|
||||||
|
|
||||||
* Fri Feb 04 2011 gil <puntogil@libero.it> 0.9.4-1mamba
|
* Fri Feb 04 2011 gil <puntogil@libero.it> 0.9.4-1mamba
|
||||||
- package created by autospec
|
- package created by autospec
|
||||||
|
Loading…
Reference in New Issue
Block a user