Blame SPECS/jakarta-activation2.spec

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