From 1562144f753826361a4b1b8b6cffac4d0306f90d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 16 2023 06:19:27 +0000 Subject: import jakarta-activation2-2.1.1-2.module+el8.8.0+18042+89a504d5 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8025ad0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jaf-2.1.1.tar.gz diff --git a/.jakarta-activation2.metadata b/.jakarta-activation2.metadata new file mode 100644 index 0000000..2151a30 --- /dev/null +++ b/.jakarta-activation2.metadata @@ -0,0 +1 @@ +b41d525d1476addca256d81c228977c8b475bf59 SOURCES/jaf-2.1.1.tar.gz diff --git a/SPECS/jakarta-activation2.spec b/SPECS/jakarta-activation2.spec new file mode 100644 index 0000000..1f2c87b --- /dev/null +++ b/SPECS/jakarta-activation2.spec @@ -0,0 +1,67 @@ +Name: jakarta-activation2 +Version: 2.1.1 +Release: 2%{?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 or GPLv2 with exceptions +URL: https://jakartaee.github.io/jaf-api/ +BuildArch: noarch + +Source0: https://github.com/eclipse-ee4j/jaf/archive/%{version}/jaf-%{version}.tar.gz + +BuildRequires: maven-local +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) + +%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 + +%mvn_compat_version jakarta*: 2 %{version} 2.1.0 2.0.1 2.0.0 +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 Jan 31 2023 Marian Koncek - 2.1.1-2 +- Add major compat version + +* Tue Jan 17 2023 Marian Koncek - 2.1.1-1 +- Initial build