Blame SPECS/jakarta-activation2.spec

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