Accepting request 231099 from science
Moving some scilab deps to Java:packages where they belong OBS-URL: https://build.opensuse.org/request/show/231099 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jlatexmath?expand=0&rev=1
This commit is contained in:
commit
1ec71f1407
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
3
jlatexmath-src-all-1.0.3.zip
Normal file
3
jlatexmath-src-all-1.0.3.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:58b14f0f30250b7cd3d1e5cfae20a8d5f999c01e9ff5e03508cbdb8f922dd7fd
|
||||||
|
size 1203123
|
42
jlatexmath.changes
Normal file
42
jlatexmath.changes
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 20 11:09:53 UTC 2014 - badshah400@gmail.com
|
||||||
|
|
||||||
|
- Update to version 1.0.3:
|
||||||
|
+ Pound sign was invalid in roman font.
|
||||||
|
+ Fix paths in MANIFEST.MF
|
||||||
|
+ By default, slightly increase left and right insets.
|
||||||
|
+ Allow use of # in code.
|
||||||
|
+ Add macro \fcscore.
|
||||||
|
+ CharBox not correctly drawn in multithread context
|
||||||
|
+ Add macros \texteuro and \euro (and map char € on \euro)
|
||||||
|
+ Add macro \st (i.e. strike-through)
|
||||||
|
+ Fix arrow shift in \overrightarrow macro
|
||||||
|
+ Fix several bugs due to modification in VRowAtom
|
||||||
|
- Specfile corrections:
|
||||||
|
+ Add defattr to %files sections, fixes an rpmlint warning
|
||||||
|
+ Add Copyright, and other minor formatting issues.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 1 04:02:00 UTC 2013 - ierturk@ieee.org
|
||||||
|
|
||||||
|
- Update to version 1.0.2
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 24 00:17:07 UTC 2011 - kirill.kirillov@gmail.com
|
||||||
|
|
||||||
|
- Updated to 0.9.4 version
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 2 09:28:17 UTC 2010 - vincent.lejeune@scilab.org
|
||||||
|
|
||||||
|
- Updated to 0.9.3 version
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 11 20:05:20 UTC 2010 - kirill.kirillov@gmail.com
|
||||||
|
|
||||||
|
- Fix package to be built from source
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 13 14:15:37 UTC 2010 - andrea@opensuse.org
|
||||||
|
|
||||||
|
- New package
|
114
jlatexmath.spec
Normal file
114
jlatexmath.spec
Normal file
@ -0,0 +1,114 @@
|
|||||||
|
#
|
||||||
|
# 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: jpackage-utils
|
||||||
|
BuildRequires: unzip
|
||||||
|
|
||||||
|
Requires: java
|
||||||
|
Requires: jpackage-utils
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
BuildRequires: ant
|
||||||
|
BuildRequires: fop
|
||||||
|
BuildRequires: java-devel
|
||||||
|
BuildRequires: jpackage-utils
|
||||||
|
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: fop
|
||||||
|
Requires: jpackage-utils
|
||||||
|
|
||||||
|
%description fop
|
||||||
|
This package contains the FOP plug-in for %{name}.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: API Documentation for %{name}
|
||||||
|
Group: Documentation
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: jpackage-utils
|
||||||
|
|
||||||
|
%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 $RPM_BUILD_ROOT%{_javadir}
|
||||||
|
cp -p dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
||||||
|
cp -p dist/%{name}-fop-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-fop.jar
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||||
|
cp -rp doc/ $RPM_BUILD_ROOT%{_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
|
15
patched_fop.properties
Normal file
15
patched_fop.properties
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Defines the path to fop
|
||||||
|
# Mandatory are build & run time
|
||||||
|
fop.jar=/usr/share/java/xmlgraphics-fop.jar
|
||||||
|
|
||||||
|
# Mandatory only at runtime
|
||||||
|
xmlgraphics-commons.jar=/usr/share/java/xmlgraphics-commons.jar
|
||||||
|
batik.jar=/usr/share/java/batik.jar
|
||||||
|
avalon-framework.jar=/usr/share/java/avalon-framework.jar
|
||||||
|
commons-io.jar=/usr/share/java/commons-io.jar
|
||||||
|
commons-logging.jar=/usr/share/java/commons-logging.jar
|
||||||
|
xml-apis-ext.jar=/usr/share/java/xml-apis-ext.jar
|
||||||
|
|
||||||
|
# If you have already built jlatexmath, you can give the correct path
|
||||||
|
# else ant will try to build jlatexmath from ../..
|
||||||
|
#jlatexmath.jar=/usr/share/java/jlatexmath.jar
|
Loading…
Reference in New Issue
Block a user