From e6b4ca9cf939ce03c7699ddbe1de836e9a718ba7 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 31 Oct 2024 13:58:18 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.1.3-1mamba;Wed Oct 30 2024] --- README.md | 1 + jakarta-activation.spec | 48 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 jakarta-activation.spec diff --git a/README.md b/README.md index c0c3528..a40977d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # jakarta-activation +Jakarta Activation defines a set of standard services to: determine the MIME 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). diff --git a/jakarta-activation.spec b/jakarta-activation.spec new file mode 100644 index 0000000..f856875 --- /dev/null +++ b/jakarta-activation.spec @@ -0,0 +1,48 @@ +Name: jakarta-activation +Version: 2.1.3 +Release: 1mamba +Summary: Jakarta Activation API +Group: System/Libraries/Java +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://jakarta.ee/specifications/activation/2.1/ +Source: https://github.com/jakartaee/jaf-api/archive/%{version}/jaf-%{version}.tar.gz +License: BSD, GPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: apache-maven +BuildRequires: javapackages + +%description +Jakarta Activation defines a set of standard services to: determine the MIME 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). + +#% debug_package + +%prep +%setup -q -n jaf-api-%{version} + +%build +cd api +mvn -Dmaven.test.skip=true \ + -Dmaven.repo.local=$PWD/m2_repo \ + clean install + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +cd api +install -D -m0644 target/jakarta.activation-api-%{version}.jar -t %{buildroot}%{_javadir} +ln -s jakarta.activation-api-%{version}.jar %{buildroot}%{_javadir}/jakarta.activation-api.jar + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_javadir}/jakarta.activation-api-%{version}.jar +%{_javadir}/jakarta.activation-api.jar +%doc LICENSE.md + +%changelog +* Wed Oct 30 2024 Silvan Calarco 2.1.3-1mamba +- package created using the webbuild interface