package created using the webbuild interface [release 2.1.3-1mamba;Wed Oct 30 2024]
This commit is contained in:
parent
41b7e1178f
commit
e6b4ca9cf9
@ -1,2 +1,3 @@
|
|||||||
# jakarta-activation
|
# 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).
|
||||||
|
48
jakarta-activation.spec
Normal file
48
jakarta-activation.spec
Normal file
@ -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 <silvan.calarco@mambasoft.it>
|
||||||
|
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 <silvan.calarco@mambasoft.it> 2.1.3-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user