This commit is contained in:
parent
e4798f1ed2
commit
108c4b1b70
3
1.0.3.tar.gz
Normal file
3
1.0.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a7ddd9fdc9b59136e98d7343757720b9c59ad2dddf65f1cda021f9ab3b9fcf75
|
||||||
|
size 1250492
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:58b14f0f30250b7cd3d1e5cfae20a8d5f999c01e9ff5e03508cbdb8f922dd7fd
|
|
||||||
size 1203123
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 22 17:03:06 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Build with java source and target levels 8
|
||||||
|
- Fetch the tarball from github, since the other location does
|
||||||
|
not exist any more
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 19 08:31:24 UTC 2017 - fstrba@suse.com
|
Tue Sep 19 08:31:24 UTC 2017 - fstrba@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package jlatexmath
|
# spec file for package jlatexmath
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -20,20 +20,18 @@ Name: jlatexmath
|
|||||||
Version: 1.0.3
|
Version: 1.0.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Java API to display mathematical formulas written in LaTeX
|
Summary: Java API to display mathematical formulas written in LaTeX
|
||||||
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
|
License: GPL-2.0-or-later
|
||||||
License: GPL-2.0+
|
Group: Development/Libraries/Java
|
||||||
Group: Development/Libraries
|
URL: https://github.com/opencollab/jlatexmath/
|
||||||
Url: http://forge.scilab.org/index.php/p/jlatexmath/
|
Source0: https://github.com/opencollab/%{name}/archive/refs/tags/%{version}.tar.gz
|
||||||
Source0: http://forge.scilab.org/index.php/p/jlatexmath/downloads/get/%{name}-src-all-%{version}.zip
|
|
||||||
Source1: patched_fop.properties
|
Source1: patched_fop.properties
|
||||||
Patch0: jlatexmath-1.0.3-nosource.patch
|
Patch0: jlatexmath-1.0.3-nosource.patch
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: javapackages-tools
|
BuildRequires: javapackages-tools
|
||||||
BuildRequires: unzip
|
|
||||||
BuildRequires: xmlgraphics-fop
|
BuildRequires: xmlgraphics-fop
|
||||||
Requires: java
|
Requires: java >= 1.8
|
||||||
Requires: javapackages-tools
|
Requires: javapackages-tools
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -45,8 +43,7 @@ JLaTeXMath is a fork of the excellent project JMathTeX.
|
|||||||
|
|
||||||
%package fop
|
%package fop
|
||||||
Summary: FOP plug-in for %{name}
|
Summary: FOP plug-in for %{name}
|
||||||
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
|
Group: Development/Libraries/Java
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: javapackages-tools
|
Requires: javapackages-tools
|
||||||
Requires: xmlgraphics-fop
|
Requires: xmlgraphics-fop
|
||||||
@ -56,8 +53,7 @@ This package contains the FOP plug-in for %{name}.
|
|||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
Summary: API Documentation for %{name}
|
Summary: API Documentation for %{name}
|
||||||
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
|
Group: Documentation/HTML
|
||||||
Group: Documentation
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description javadoc
|
%description javadoc
|
||||||
@ -77,7 +73,7 @@ find -name '*.jar' -exec rm -f '{}' \;
|
|||||||
sed -i '/class-path/I d' plugin/fop/MANIFEST.MF
|
sed -i '/class-path/I d' plugin/fop/MANIFEST.MF
|
||||||
|
|
||||||
%build
|
%build
|
||||||
ant -Djava_version=1.6 buildJar fop doc
|
ant -Djava_version=1.8 buildJar fop doc
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
@ -92,13 +88,13 @@ cp -rp doc/ %{buildroot}%{_javadocdir}/%{name}
|
|||||||
%files
|
%files
|
||||||
%{_javadir}/%{name}.jar
|
%{_javadir}/%{name}.jar
|
||||||
%doc README
|
%doc README
|
||||||
%doc COPYING
|
%license COPYING
|
||||||
%doc LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%files fop
|
%files fop
|
||||||
%{_javadir}/%{name}-fop.jar
|
%{_javadir}/%{name}-fop.jar
|
||||||
%doc plugin/fop/COPYING
|
%license plugin/fop/COPYING
|
||||||
%doc plugin/fop/LICENSE
|
%license plugin/fop/LICENSE
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%{_javadocdir}/%{name}
|
%{_javadocdir}/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user