Blame SPECS/jakarta-activation2.spec

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