|
|
7e0ff8 |
Name: jakarta-activation2
|
|
|
7e0ff8 |
Version: 2.1.1
|
|
|
7e0ff8 |
Release: 2%{?dist}
|
|
|
7e0ff8 |
Summary: Jakarta Activation API
|
|
|
7e0ff8 |
# the whole project is licensed under (EPL-2.0 or BSD)
|
|
|
7e0ff8 |
# the source code additionally can be licensed under GPLv2 with exceptions
|
|
|
7e0ff8 |
# we only ship built source code
|
|
|
7e0ff8 |
License: EPL-2.0 or BSD or GPLv2 with exceptions
|
|
|
7e0ff8 |
URL: https://jakartaee.github.io/jaf-api/
|
|
|
7e0ff8 |
BuildArch: noarch
|
|
|
7e0ff8 |
|
|
|
7e0ff8 |
Source0: https://github.com/eclipse-ee4j/jaf/archive/%{version}/jaf-%{version}.tar.gz
|
|
|
7e0ff8 |
|
|
|
7e0ff8 |
BuildRequires: maven-local
|
|
|
7e0ff8 |
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
7e0ff8 |
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
|
|
7e0ff8 |
|
|
|
7e0ff8 |
%description
|
|
|
7e0ff8 |
Jakarta Activation lets you take advantage of standard services to:
|
|
|
7e0ff8 |
determine the type of an arbitrary piece of data; encapsulate access to
|
|
|
7e0ff8 |
it; discover the operations available on it; and instantiate the
|
|
|
7e0ff8 |
appropriate bean to perform the operation(s).
|
|
|
7e0ff8 |
|
|
|
7e0ff8 |
%package javadoc
|
|
|
7e0ff8 |
Summary: Javadoc for %{name}
|
|
|
7e0ff8 |
|
|
|
7e0ff8 |
%description javadoc
|
|
|
7e0ff8 |
This package contains javadoc for %{name}.
|
|
|
7e0ff8 |
|
|
|
7e0ff8 |
%prep
|
|
|
7e0ff8 |
%setup -q -n jaf-api-%{version}
|
|
|
7e0ff8 |
|
|
|
7e0ff8 |
pushd api
|
|
|
7e0ff8 |
%pom_remove_parent
|
|
|
7e0ff8 |
|
|
|
7e0ff8 |
# remove custom doclet configuration
|
|
|
7e0ff8 |
%pom_remove_plugin :maven-javadoc-plugin
|
|
|
7e0ff8 |
|
|
|
7e0ff8 |
%pom_remove_plugin -r :buildnumber-maven-plugin
|
|
|
7e0ff8 |
%pom_remove_plugin -r :maven-enforcer-plugin
|
|
|
7e0ff8 |
|
|
|
7e0ff8 |
%mvn_compat_version jakarta*: 2 %{version} 2.1.0 2.0.1 2.0.0
|
|
|
7e0ff8 |
popd
|
|
|
7e0ff8 |
|
|
|
7e0ff8 |
%build
|
|
|
7e0ff8 |
pushd api
|
|
|
7e0ff8 |
%mvn_build
|
|
|
7e0ff8 |
popd
|
|
|
7e0ff8 |
|
|
|
7e0ff8 |
%install
|
|
|
7e0ff8 |
pushd api
|
|
|
7e0ff8 |
%mvn_install
|
|
|
7e0ff8 |
popd
|
|
|
7e0ff8 |
|
|
|
7e0ff8 |
%files -f api/.mfiles
|
|
|
7e0ff8 |
%doc README.md
|
|
|
7e0ff8 |
%license LICENSE.md NOTICE.md
|
|
|
7e0ff8 |
|
|
|
7e0ff8 |
%files javadoc -f api/.mfiles-javadoc
|
|
|
7e0ff8 |
%license LICENSE.md NOTICE.md
|
|
|
7e0ff8 |
|
|
|
7e0ff8 |
%changelog
|
|
|
7e0ff8 |
* Tue Jan 31 2023 Marian Koncek <mkoncek@redhat.com> - 2.1.1-2
|
|
|
7e0ff8 |
- Add major compat version
|
|
|
7e0ff8 |
|
|
|
7e0ff8 |
* Tue Jan 17 2023 Marian Koncek <mkoncek@redhat.com> - 2.1.1-1
|
|
|
7e0ff8 |
- Initial build
|