Blame SPECS/jakarta-activation2.spec

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