Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package jgraphx for openSUSE:Factory checked in at 2022-04-10 00:42:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jgraphx (Old) and /work/SRC/openSUSE:Factory/.jgraphx.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jgraphx" Sun Apr 10 00:42:13 2022 rev:8 rq:968022 version:4.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/jgraphx/jgraphx.changes 2022-03-22 19:41:30.819172579 +0100 +++ /work/SRC/openSUSE:Factory/.jgraphx.new.1900/jgraphx.changes 2022-04-10 00:42:19.144837088 +0200 @@ -1,0 +2,6 @@ +Sat Apr 9 14:35:57 UTC 2022 - Fridrich Strba <fst...@suse.com> + +- Install as maven artifact +- Package also the javadoc + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jgraphx.spec ++++++ --- /var/tmp/diff_new_pack.XVdhWp/_old 2022-04-10 00:42:19.928828371 +0200 +++ /var/tmp/diff_new_pack.XVdhWp/_new 2022-04-10 00:42:19.936828281 +0200 @@ -25,10 +25,10 @@ URL: https://github.com/jgraph Source0: https://github.com/jgraph/%{name}/archive/refs/tags/v%{version}.tar.gz BuildRequires: ant +BuildRequires: fdupes BuildRequires: java-devel >= 1.8 -BuildRequires: jpackage-utils +BuildRequires: javapackages-local Requires: java >= 1.8 -Requires: jpackage-utils BuildArch: noarch %description @@ -37,6 +37,13 @@ for diagrams. Object and relations can be displayed in any Swing UI via provided zoomable component. +%package javadoc +Summary: API documentation for %{name} +Group: Documentation/HTML + +%description javadoc +API documentation for %{name}. + %prep %setup -q @@ -54,18 +61,23 @@ rm -rf build/src dist/%{name}-%{version}-src %install +# jar +install -dm 0755 %{buildroot}%{_javadir} +install -pm 0644 lib/jgraphx.jar %{buildroot}%{_javadir}/%{name}.jar +# pom +install -dm 0755 %{buildroot}%{_mavenpomdir} +install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom +%add_maven_depmap %{name}.pom %{name}.jar +# javadoc +install -dm 0755 %{buildroot}%{_javadocdir}/%{name} +cp -pr docs/api/* %{buildroot}%{_javadocdir}/%{name}/ +%fdupes -s %{buildroot}%{_javadocdir} -# jars -mkdir -p %{buildroot}%{_javadir} -cp -p lib/jgraphx.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar -pushd %{buildroot}%{_javadir} - #create symlink - ln -s %{name}-%{version}.jar %{name}.jar -popd +%files -f .mfiles +%license license.txt -%files +%files javadoc %license license.txt -%{_javadir}/%{name}.jar -%{_javadir}/%{name}-%{version}.jar +%{_javadocdir}/%{name} %changelog