2024-01-06 00:06:56 +01:00
|
|
|
Name: java-jlatexmath
|
2024-01-06 00:06:57 +01:00
|
|
|
Version: 1.0.7
|
2024-01-06 00:06:56 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A Java API to render LaTeX
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 00:06:57 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/opencollab/jlatexmath
|
|
|
|
Source: https://repo1.maven.org/maven2/org/scilab/forge/jlatexmath/%{version}/jlatexmath-%{version}.jar
|
|
|
|
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
|
2024-01-06 00:06:56 +01:00
|
|
|
License: GPL
|
2024-01-06 00:06:57 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: javapackages
|
2024-01-06 00:06:56 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The goal of this Java API is to display mathematical formulas written in LaTeX.
|
|
|
|
The default encoding is UTF-8.
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 00:06:57 +01:00
|
|
|
%setup -q -c
|
2024-01-06 00:06:56 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 00:06:57 +01:00
|
|
|
cp %{SOURCE2} .
|
2024-01-06 00:06:56 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 00:06:57 +01:00
|
|
|
install -D -m644 %{SOURCE0} %{buildroot}%{_javadir}/jlatexmath-%{version}.jar
|
|
|
|
ln -s jlatexmath-%{version}.jar %{buildroot}%{_javadir}/jlatexmath.jar
|
2024-01-06 00:06:56 +01:00
|
|
|
|
2024-01-06 00:06:57 +01:00
|
|
|
install -D -m644 %{SOURCE1} %{buildroot}%{_javadir}/jlatexmath-fop-%{version}.jar
|
|
|
|
ln -s jlatexmath-%{version}.jar %{buildroot}%{_javadir}/jlatexmath-fop.jar
|
2024-01-06 00:06:56 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/jlatexmath-%{version}.jar
|
|
|
|
%{_javadir}/jlatexmath.jar
|
|
|
|
%{_javadir}/jlatexmath-fop-%{version}.jar
|
|
|
|
%{_javadir}/jlatexmath-fop.jar
|
2024-01-06 00:06:57 +01:00
|
|
|
%doc LICENSE
|
2024-01-06 00:06:56 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 00:06:57 +01:00
|
|
|
* Sun Apr 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.7-1mamba
|
|
|
|
- update to 1.0.7
|
|
|
|
|
2024-01-06 00:06:56 +01:00
|
|
|
* Fri Feb 04 2011 gil <puntogil@libero.it> 0.9.4-1mamba
|
|
|
|
- package created by autospec
|