2024-01-06 00:03:49 +01:00
|
|
|
Name: java-graphx
|
2024-01-06 00:03:50 +01:00
|
|
|
Version: 4.2.2
|
2024-01-06 00:03:49 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Java Swing Diagramming Library
|
|
|
|
Group: Development/Libraries/Java
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 00:03:49 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 00:03:50 +01:00
|
|
|
URL: https://www.diagrams.net/
|
2024-01-06 00:03:49 +01:00
|
|
|
Source: https://github.com/jgraph/jgraphx.git/v%{version}/jgraphx-%{version}.tar.bz2
|
2024-01-06 00:03:49 +01:00
|
|
|
License: BSD, LGPL
|
2024-01-06 00:03:49 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: java-openjdk8
|
|
|
|
BuildRequires: apache-maven
|
|
|
|
BuildRequires: javapackages
|
2024-01-06 00:03:49 +01:00
|
|
|
|
|
|
|
%description
|
2024-01-06 00:03:49 +01:00
|
|
|
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.
|
2024-01-06 00:03:49 +01:00
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Group: Documentation
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
This package contains javadoc for %{name}.
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 00:03:49 +01:00
|
|
|
%setup -q -n jgraphx-%{version}
|
|
|
|
sed -i 's/1.5/1.7/g' pom.xml
|
2024-01-06 00:03:49 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 00:03:49 +01:00
|
|
|
# NOTE: scilab 6.1.0 requires this package built with openjdk8
|
|
|
|
export JAVA_HOME=%{_jvmdir}/java-8-openjdk
|
|
|
|
mvn -DskipTests=true clean package
|
|
|
|
|
2024-01-06 00:03:49 +01:00
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_javadir}
|
2024-01-06 00:03:49 +01:00
|
|
|
install -pm 644 target/jgraphx-%{version}.jar \
|
2024-01-06 00:03:49 +01:00
|
|
|
%{buildroot}%{_javadir}/jgraphx-%{version}.jar
|
|
|
|
(
|
|
|
|
cd %{buildroot}%{_javadir}
|
|
|
|
for jar in *-%{version}.jar; do
|
|
|
|
ln -sf ${jar} ${jar/-%{version}/}
|
|
|
|
done
|
|
|
|
)
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_javadocdir}/jgraphx-%{version}
|
|
|
|
cp -pr docs/* %{buildroot}%{_javadocdir}/jgraphx-%{version}
|
|
|
|
ln -sf jgraphx-%{version} %{buildroot}%{_javadocdir}/jgraphx
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadir}/jgraphx-%{version}.jar
|
|
|
|
%{_javadir}/jgraphx.jar
|
2024-01-06 00:03:49 +01:00
|
|
|
%doc license.txt
|
2024-01-06 00:03:49 +01:00
|
|
|
|
|
|
|
%files javadoc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_javadocdir}/jgraphx-%{version}
|
|
|
|
%{_javadocdir}/jgraphx
|
2024-01-06 00:03:49 +01:00
|
|
|
%doc examples
|
2024-01-06 00:03:49 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 00:03:50 +01:00
|
|
|
* Tue Mar 14 2023 Automatic Build System <autodist@mambasoft.it> 4.2.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 00:03:49 +01:00
|
|
|
* Sun Apr 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.9.12-1mamba
|
|
|
|
- update to 3.9.12
|
|
|
|
|
2024-01-06 00:03:49 +01:00
|
|
|
* Fri Feb 04 2011 gil <puntogil@libero.it> 1.4.1.0-1mamba
|
|
|
|
- update to 1.4.1.0
|
|
|
|
|
|
|
|
* Sat Apr 18 2009 gil <puntogil@libero.it> 0.99.0.4-1mamba
|
|
|
|
- package created by autospec
|