commit f055edcecbd57d19c6470e75347f41f0f4954207c326e5fe9a589f00eeb105f1 Author: Fridrich Strba Date: Wed Dec 15 11:59:19 2021 +0000 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jakarta-activation?expand=0&rev=1 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/jaf-2.1.0.tar.gz b/jaf-2.1.0.tar.gz new file mode 100644 index 0000000..6294779 --- /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.changes b/jakarta-activation.changes new file mode 100644 index 0000000..acea984 --- /dev/null +++ b/jakarta-activation.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +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..cd22fd9 --- /dev/null +++ b/jakarta-activation.spec @@ -0,0 +1,70 @@ +# +# spec file for package jakarta-activation +# +# Copyright (c) 2021 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/ +# + + +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 +BuildRequires: fdupes +BuildRequires: java-devel >= 9 +BuildRequires: maven-local +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +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} + +%pom_remove_parent api +%pom_remove_plugin :maven-enforcer-plugin api +%pom_remove_plugin :build-helper-maven-plugin api +%pom_remove_plugin :buildnumber-maven-plugin api + +%build +pushd api +%{mvn_build} -f +popd + +%install +pushd api +%mvn_install +popd +%fdupes -s %{buildroot}%{_javadocdir} + +%files -f api/.mfiles +%doc README.md +%license LICENSE.md NOTICE.md + +%files javadoc -f api/.mfiles-javadoc +%license LICENSE.md NOTICE.md + +%changelog