Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
jlatexmath
jlatexmath.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jlatexmath.spec of Package jlatexmath
# # spec file for package jlatexmath # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ # Name: jlatexmath Version: 1.0.3 Release: 0 Summary: Java API to display mathematical formulas written in LaTeX License: GPL-2.0+ Group: Development/Libraries Url: http://forge.scilab.org/index.php/p/jlatexmath/ Source0: http://forge.scilab.org/index.php/p/jlatexmath/downloads/get/%{name}-src-all-%{version}.zip Source1: patched_fop.properties BuildRequires: ant BuildRequires: java-devel BuildRequires: javapackages-tools BuildRequires: unzip BuildRequires: xmlgraphics-fop Requires: java Requires: javapackages-tools BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description The goal of this Java API is to display mathematical formulas written in LaTeX. The default encoding is UTF-8 and most of LaTeX commands are available. JLaTeXMath is a fork of the excellent project JMathTeX. %package fop Summary: FOP plug-in for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: javapackages-tools Requires: xmlgraphics-fop %description fop This package contains the FOP plug-in for %{name}. %package javadoc Summary: API Documentation for %{name} Group: Documentation Requires: %{name} = %{version}-%{release} %description javadoc This package contains the API documentation for %{name}. %prep %setup -q rm fop.properties cp -a %{SOURCE1} fop.properties find -name '*.class' -exec rm -f '{}' \; find -name '*.jar' -exec rm -f '{}' \; # Fix class-path-in-manifest error sed -i '/class-path/I d' plugin/fop/MANIFEST.MF %build ant buildJar ant fop ant doc %install mkdir -p %{buildroot}%{_javadir} cp -p dist/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar cp -p dist/%{name}-fop-%{version}.jar %{buildroot}%{_javadir}/%{name}-fop.jar mkdir -p %{buildroot}%{_javadocdir}/%{name} cp -rp doc/ %{buildroot}%{_javadocdir}/%{name} %files %defattr(-,root,root) %{_javadir}/%{name}.jar %doc README %doc COPYING %doc LICENSE %files fop %defattr(-,root,root) %{_javadir}/%{name}-fop.jar %doc plugin/fop/COPYING %doc plugin/fop/LICENSE %files javadoc %defattr(-,root,root) %{_javadocdir}/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor