From ace2727f8e988abb4678dc1eaa77917e89066d3b Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Tue, 26 Nov 2024 16:46:01 +0300 Subject: [PATCH] import jakarta-activation-2.1.2-6.el10 --- .gitignore | 1 + .jakarta-activation.metadata | 1 + SPECS/jakarta-activation.spec | 132 ++++++++++++++++++++++++++++++++++ 3 files changed, 134 insertions(+) create mode 100644 .gitignore create mode 100644 .jakarta-activation.metadata create mode 100644 SPECS/jakarta-activation.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..28f8c7a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jaf-2.1.2.tar.gz diff --git a/.jakarta-activation.metadata b/.jakarta-activation.metadata new file mode 100644 index 0000000..90e18e5 --- /dev/null +++ b/.jakarta-activation.metadata @@ -0,0 +1 @@ +d47047df898a5d89014a31e9096d900cb2ed3d39 SOURCES/jaf-2.1.2.tar.gz diff --git a/SPECS/jakarta-activation.spec b/SPECS/jakarta-activation.spec new file mode 100644 index 0000000..be856bd --- /dev/null +++ b/SPECS/jakarta-activation.spec @@ -0,0 +1,132 @@ +%bcond_with bootstrap + +Name: jakarta-activation +Version: 2.1.2 +Release: 6%{?dist} +Summary: Jakarta Activation API +# the whole project is licensed under (EPL-2.0 or BSD) +# the source code additionally can be licensed under GPLv2 with exceptions +# we only ship built source code +License: EPL-2.0 OR BSD-3-Clause OR GPL-2.0-only WITH Classpath-exception-2.0 +URL: https://jakartaee.github.io/jaf-api/ +BuildArch: noarch +%if 0%{?java_arches:1} +ExclusiveArch: %{java_arches} noarch +%endif + +Source0: https://github.com/eclipse-ee4j/jaf/archive/%{version}/jaf-%{version}.tar.gz + +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else +BuildRequires: maven-local +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) +%endif + +%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-api-%{version} + +pushd api +%pom_remove_parent + +# remove custom doclet configuration +%pom_remove_plugin :maven-javadoc-plugin + +%pom_remove_plugin -r :buildnumber-maven-plugin +%pom_remove_plugin -r :maven-enforcer-plugin +popd + +%build +pushd api +%mvn_build +popd + +%install +pushd api +%mvn_install +popd + +%files -f api/.mfiles +%doc README.md +%license LICENSE.md NOTICE.md + +%files javadoc -f api/.mfiles-javadoc +%license LICENSE.md NOTICE.md + +%changelog +* Tue Nov 26 2024 MSVSphere Packaging Team - 2.1.2-6 +- Rebuilt for MSVSphere 10 + +* Thu Aug 01 2024 Troy Dawson - 2.1.2-6 +- Bump release for Aug 2024 java mass rebuild + +* Mon Jun 24 2024 Troy Dawson - 2.1.2-5 +- Bump release for June 2024 mass rebuild + +* Wed Jan 24 2024 Fedora Release Engineering - 2.1.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jan 20 2024 Fedora Release Engineering - 2.1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Sep 01 2023 Mikolaj Izdebski - 2.1.2-2 +- Convert License tag to SPDX format + +* Fri Aug 18 2023 Mikolaj Izdebski - 2.1.2-1 +- Update to upstream version 2.1.2 + +* Thu Jul 20 2023 Fedora Release Engineering - 2.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Feb 08 2023 Marian Koncek - 2.1.1-3 +- Change license, reduce dependencies + +* Thu Jan 19 2023 Fedora Release Engineering - 2.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Dec 22 2022 Marian Koncek - 2.1.1-1 +- Update to upstream version 2.1.1 + +* Thu Jul 21 2022 Fedora Release Engineering - 1.2.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Feb 05 2022 Jiri Vanek - 1.2.2-6 +- Rebuilt for java-17-openjdk as system jdk + +* Thu Jan 20 2022 Fedora Release Engineering - 1.2.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 1.2.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Jun 28 2021 Mikolaj Izdebski - 1.2.2-3 +- Temporarily disable javadoc generation + +* Tue Jan 26 2021 Fedora Release Engineering - 1.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fabio Valentini - 1.2.2-1 +- Update to version 1.2.2. +- Drop custom maven-compiler-plugin overrides in favor of upstream settings. + +* Wed Jul 29 2020 Fabio Valentini - 1.2.1-7 +- Override javac source / target versions with 1.8 to fix build with Java 11. + +* Tue Jul 28 2020 Fedora Release Engineering - 1.2.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed May 20 2020 Fabio Valentini - 1.2.1-5 +- Package unretired and renamed from jaf.