From fa977a5955bee25a760c5773c0ce4b2609889008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 14 Oct 2024 14:33:17 +0200 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 jakarta-activation revision bf9677461346a71687f4e0027ef40bdc --- .gitattributes | 23 ++++++ jaf-2.1.0.tar.gz | 3 + jakarta-activation-build.xml | 144 +++++++++++++++++++++++++++++++++++ jakarta-activation.changes | 10 +++ jakarta-activation.spec | 83 ++++++++++++++++++++ 5 files changed, 263 insertions(+) create mode 100644 .gitattributes create mode 100644 jaf-2.1.0.tar.gz create mode 100644 jakarta-activation-build.xml create mode 100644 jakarta-activation.changes create mode 100644 jakarta-activation.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /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/jaf-2.1.0.tar.gz b/jaf-2.1.0.tar.gz new file mode 100644 index 0000000..34e8c66 --- /dev/null +++ b/jaf-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d402190ec514a2557ed166dc133de2266cee1e135de7ae455d527223dd3b0ec +size 118833 diff --git a/jakarta-activation-build.xml b/jakarta-activation-build.xml new file mode 100644 index 0000000..8662f95 --- /dev/null +++ b/jakarta-activation-build.xml @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
<![CDATA[<a href="https://reload4j.qos.ch"> + <img src="https://reload4j.qos.ch/images/logos/reload4j.jpg" height="40"/></a>]]>
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/jakarta-activation.changes b/jakarta-activation.changes new file mode 100644 index 0000000..d78e558 --- /dev/null +++ b/jakarta-activation.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Thu Mar 3 14:26:41 UTC 2022 - Fridrich Strba + +- Rewrite build system to build with ant + +------------------------------------------------------------------- +Wed Dec 15 11:58:19 UTC 2021 - Fridrich Strba + +- Initial packaging of the new jakarta-activation 2.1.0 + diff --git a/jakarta-activation.spec b/jakarta-activation.spec new file mode 100644 index 0000000..b945057 --- /dev/null +++ b/jakarta-activation.spec @@ -0,0 +1,83 @@ +# +# spec file for package jakarta-activation +# +# 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 artifact_name jakarta.activation-api +Name: jakarta-activation +Version: 2.1.0 +Release: 0 +Summary: Jakarta Activation Specification and Implementation +License: BSD-3-Clause +URL: https://eclipse-ee4j.github.io/jaf/ +Source0: https://github.com/eclipse-ee4j/jaf/archive/%{version}/jaf-%{version}.tar.gz +Source1: %{name}-build.xml +BuildRequires: ant +BuildRequires: fdupes +BuildRequires: java-devel >= 9 +BuildRequires: javapackages-local +BuildArch: noarch + +%description +Jakarta Activation lets you take advantage of standard services to: +determine the type of an arbitrary piece of data; encapsulate access to +it; discover the operations available on it; and instantiate the +appropriate bean to perform the operation(s). + +%package javadoc +Summary: Javadoc for %{name} + +%description javadoc +This package contains javadoc for %{name}. + +%prep +%setup -q -n jaf-%{version} +cp %{SOURCE1} api/build.xml + +%pom_remove_parent api + +%build +pushd api +%{ant} package javadoc +popd + +%install +pushd api +# jars +mkdir -p %{buildroot}%{_javadir}/%{name} +cp -a target/%{artifact_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}/%{artifact_name}.jar + +#pom +install -d -m 755 %{buildroot}%{_mavenpomdir}/%{name} +install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{artifact_name}.pom +%add_maven_depmap %{name}/%{artifact_name}.pom %{name}/%{artifact_name}.jar + +# javadoc +mkdir -p %{buildroot}%{_javadocdir}/%{name} +cp -a target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name} +popd + +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f api/.mfiles +%doc README.md +%license LICENSE.md NOTICE.md + +%files javadoc +%{_javadocdir}/%{name} +%license LICENSE.md NOTICE.md + +%changelog