commit 6a0a8461142a99530e5adc214de7334e71899628c1893d75a22df990c18357d6 Author: Adrian Schröter Date: Fri May 3 12:52:19 2024 +0200 Sync from SUSE:SLFO:Main glassfish-jaxb-api revision 743e1674ed3aa92f6439225d12046c7f diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/2.4.0.tar.gz b/2.4.0.tar.gz new file mode 100644 index 0000000..c54e566 --- /dev/null +++ b/2.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bc7984fe1f9c442ecec5f31c24dadd469a6fff67ccdc4f8f8fd87d04af28a361 +size 170271 diff --git a/glassfish-jaxb-api-build.xml b/glassfish-jaxb-api-build.xml new file mode 100644 index 0000000..c6147cf --- /dev/null +++ b/glassfish-jaxb-api-build.xml @@ -0,0 +1,184 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/glassfish-jaxb-api.changes b/glassfish-jaxb-api.changes new file mode 100644 index 0000000..97b5318 --- /dev/null +++ b/glassfish-jaxb-api.changes @@ -0,0 +1,35 @@ +------------------------------------------------------------------- +Sun Apr 10 19:13:12 UTC 2022 - Fridrich Strba + +- Assure that every dependency has a version, or at least "any" + * fixes use with gradle + +------------------------------------------------------------------- +Fri Mar 18 05:54:50 UTC 2022 - Fridrich Strba + +- Install the jar directly to the /usr/share/java as + glassfish-jaxb-api.jar + +------------------------------------------------------------------- +Thu Mar 17 06:55:49 UTC 2022 - Fridrich Strba + +- Rewrite to build using ant, since this package might be a + dependency of many once he JavaEE modules are not part of our + OpenJDK build. + +------------------------------------------------------------------- +Fri Mar 4 18:05:56 UTC 2022 - Fridrich Strba + +- Remove the alias to the new jakarta name. It will be provided + by a dedicated package. +- Install artifact in its default directory. + +------------------------------------------------------------------- +Tue Apr 14 09:06:51 UTC 2020 - Fridrich Strba + +- Add alias to the new jakarta name + +------------------------------------------------------------------- +Mon Mar 9 11:09:06 UTC 2020 - Fridrich Strba + +- Initial packaging of glassfish-jaxb-api 2.4.0 diff --git a/glassfish-jaxb-api.spec b/glassfish-jaxb-api.spec new file mode 100644 index 0000000..17273dd --- /dev/null +++ b/glassfish-jaxb-api.spec @@ -0,0 +1,106 @@ +# +# spec file for package glassfish-jaxb-api +# +# Copyright (c) 2022 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%global oname jaxb-spec +%global bundle jaxb-api +Name: glassfish-jaxb-api +Version: 2.4.0 +Release: 0 +Summary: Java Architecture for XML Binding +License: CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0 +Group: Development/Libraries/Java +URL: https://jaxb.java.net/ +Source0: https://github.com/javaee/%{oname}/archive/%{version}.tar.gz +Source1: %{name}-build.xml +BuildRequires: ant +BuildRequires: fdupes +BuildRequires: glassfish-activation-api +BuildRequires: java-devel >= 9 +BuildRequires: javapackages-local +BuildRequires: unzip +Requires: mvn(javax.activation:javax.activation-api) +BuildArch: noarch + +%description +Glassfish - JAXB (JSR 222) API. + +%package javadoc +Summary: Javadoc for %{oname} +Group: Documentation/HTML + +%description javadoc +Glassfish - JAXB (JSR 222) API. + +This package contains javadoc for %{name}. + +%prep +%setup -q -n %{oname}-%{version} +cp %{SOURCE1} jaxb-api/build.xml + +%pom_disable_module jaxb-api-test + +%pom_remove_plugin org.codehaus.mojo:buildnumber-maven-plugin jaxb-api +%pom_remove_plugin org.glassfish.copyright:glassfish-copyright-maven-plugin jaxb-api +%pom_remove_plugin org.glassfish.build:gfnexus-maven-plugin jaxb-api +%pom_remove_plugin :findbugs-maven-plugin jaxb-api +%pom_remove_plugin :maven-enforcer-plugin jaxb-api +%pom_remove_plugin :cobertura-maven-plugin jaxb-api +%pom_remove_plugin :maven-dependency-plugin jaxb-api + +%pom_remove_parent jaxb-api +%pom_xpath_inject pom:project " + javax.xml.bind + %{version}" jaxb-api + +%pom_xpath_inject "pom:plugin[pom:artifactId = 'maven-javadoc-plugin']/pom:configuration" " + + module-info.java + " jaxb-api + +%pom_change_dep ::::: ::::: jaxb-api + +%build +pushd jaxb-api +mkdir -p lib +build-jar-repository -s lib glassfish-activation-api +%{ant} jar javadoc +popd + +%install +# jar +install -d -m 755 %{buildroot}%{_javadir} +install -m 644 %{bundle}/target/%{bundle}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar + +# pom +install -d -m 755 %{buildroot}%{_mavenpomdir} +install -pm 644 %{bundle}/pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom +%add_maven_depmap %{name}.pom %{name}.jar + +# javadoc +install -d -m 755 %{buildroot}%{_javadocdir}/%{name} +cp -r %{bundle}/target/site/apidocs/* %{buildroot}/%{_javadocdir}/%{name} +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f .mfiles +%license LICENSE.txt + +%files javadoc +%{_javadocdir}/%{name} +%license LICENSE.txt + +%changelog