update to 3.9.12 [release 3.9.12-1mamba;Sun Apr 11 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 00:03:49 +01:00
parent 46807fce9e
commit 958ab20a73
2 changed files with 24 additions and 37 deletions

View File

@ -1,7 +1,5 @@
# java-graphx # java-graphx
JGraph X is the next generation of Java Swing Diagramming Library, factoring in 7 years of architectural improvements JGraph X is the next generation of Java Swing Diagramming Library, factoring in 7 years of architectural improvements into a clean, concise design. JGraph X provides a simple, powerful API, as well a more application-centric feature set.
into a clean, concise design. JGraph X provides a simple, powerful API, as well a more application-centric feature set. The result is a low learning curve and faster implementation of customizations in your development. JGraph X shares the core model of mxGraph, so your JGraph X application more easily ports directly to an mxGraph web application.
The result is a low learning curve and faster implementation of customizations in your development. JGraph X shares the
core model of mxGraph, so your JGraph X application more easily ports directly to an mxGraph web application.

View File

@ -1,61 +1,46 @@
%define pkg_version %(echo %version | tr . _)
Name: java-graphx Name: java-graphx
Version: 1.4.1.0 Version: 3.9.12
Release: 1mamba Release: 1mamba
Summary: Java Swing Diagramming Library Summary: Java Swing Diagramming Library
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://www.jgraph.com/ URL: http://www.jgraph.com/
# http://www.jgraph.com/downloads.html Source: https://github.com/jgraph/jgraphx.git/v%{version}/jgraphx-%{version}.tar.bz2
# Download JGraph X 0.99.0.4 - Accept License Agreement
# http://www.mxgraph.com/downloads/jgraphx/
Source: http://www.jgraph.com/downloads/jgraphx/archive/jgraphx-%{pkg_version}.zip
License: BSD, LGPL License: BSD, LGPL
BuildRequires: apache-ant ## AUTOBUILDREQ-BEGIN
BuildRequires: jpackage-utils ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: java-openjdk8
BuildRequires: apache-maven
BuildRequires: javapackages
%description %description
JGraph X is the next generation of Java Swing Diagramming Library, factoring in 7 years of architectural improvements JGraph X is the next generation of Java Swing Diagramming Library, factoring in 7 years of architectural improvements into a clean, concise design. JGraph X provides a simple, powerful API, as well a more application-centric feature set.
into a clean, concise design. JGraph X provides a simple, powerful API, as well a more application-centric feature set. The result is a low learning curve and faster implementation of customizations in your development. JGraph X shares the core model of mxGraph, so your JGraph X application more easily ports directly to an mxGraph web application.
The result is a low learning curve and faster implementation of customizations in your development. JGraph X shares the
core model of mxGraph, so your JGraph X application more easily ports directly to an mxGraph web application.
%package javadoc %package javadoc
Group: Documentation Group: Documentation
Summary: Javadoc for %{name} Summary: Javadoc for %{name}
%description javadoc %description javadoc
JGraph X is the next generation of Java Swing Diagramming Library, factoring in 7 years of architectural improvements
into a clean, concise design. JGraph X provides a simple, powerful API, as well a more application-centric feature set.
The result is a low learning curve and faster implementation of customizations in your development. JGraph X shares the
core model of mxGraph, so your JGraph X application more easily ports directly to an mxGraph web application
This package contains javadoc for %{name}. This package contains javadoc for %{name}.
%prep %prep
%setup -q -n jgraphx-%{version}
%setup -q -n jgraphx sed -i 's/1.5/1.7/g' pom.xml
for j in $(find . -name "*.jar"); do
mv $j ${j}.no
done
for j in $(find . -name "*.class"); do
mv $j ${j}.no
done
%build %build
export JAVA_HOME=/usr/lib/jvm/java # NOTE: scilab 6.1.0 requires this package built with openjdk8
ant all export JAVA_HOME=%{_jvmdir}/java-8-openjdk
mvn -DskipTests=true clean package
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_javadir} mkdir -p %{buildroot}%{_javadir}
install -pm 644 lib/jgraphx.jar \ install -pm 644 target/jgraphx-%{version}.jar \
%{buildroot}%{_javadir}/jgraphx-%{version}.jar %{buildroot}%{_javadir}/jgraphx-%{version}.jar
( (
cd %{buildroot}%{_javadir} cd %{buildroot}%{_javadir}
for jar in *-%{version}.jar; do for jar in *-%{version}.jar; do
@ -74,14 +59,18 @@ ln -sf jgraphx-%{version} %{buildroot}%{_javadocdir}/jgraphx
%defattr(-,root,root) %defattr(-,root,root)
%{_javadir}/jgraphx-%{version}.jar %{_javadir}/jgraphx-%{version}.jar
%{_javadir}/jgraphx.jar %{_javadir}/jgraphx.jar
%doc license.txt examples %doc license.txt
%files javadoc %files javadoc
%defattr(-,root,root) %defattr(-,root,root)
%{_javadocdir}/jgraphx-%{version} %{_javadocdir}/jgraphx-%{version}
%{_javadocdir}/jgraphx %{_javadocdir}/jgraphx
%doc examples
%changelog %changelog
* Sun Apr 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.9.12-1mamba
- update to 3.9.12
* Fri Feb 04 2011 gil <puntogil@libero.it> 1.4.1.0-1mamba * Fri Feb 04 2011 gil <puntogil@libero.it> 1.4.1.0-1mamba
- update to 1.4.1.0 - update to 1.4.1.0