2020-05-20 16:53:22 +00:00
|
|
|
%global srcname jaf
|
|
|
|
|
|
|
|
Name: jakarta-activation
|
|
|
|
Version: 1.2.1
|
2020-07-29 21:56:42 +00:00
|
|
|
Release: 7%{?dist}
|
2020-05-20 16:53:22 +00:00
|
|
|
Summary: Jakarta Activation Specification and Implementation
|
|
|
|
License: BSD
|
|
|
|
|
|
|
|
URL: https://eclipse-ee4j.github.io/jaf/
|
|
|
|
Source0: https://github.com/eclipse-ee4j/jaf/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
|
|
|
|
|
|
|
Provides: jaf = %{version}-%{release}
|
|
|
|
Obsoletes: jaf < 1.2.1-5
|
|
|
|
|
|
|
|
%description
|
|
|
|
Jakarta Activation lets you take advantage of standard services to:
|
|
|
|
determine the type of an arbitrary piece of data; encapsulate access to
|
|
|
|
it; discover the operations available on it; and instantiate the
|
|
|
|
appropriate bean to perform the operation(s).
|
|
|
|
|
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: Javadoc for %{name}
|
|
|
|
|
|
|
|
%description javadoc
|
|
|
|
This package contains javadoc for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{srcname}-%{version}
|
|
|
|
|
|
|
|
# remove unnecessary dependency on "org.eclipse.ee4j:project" (not packaged)
|
|
|
|
%pom_remove_parent
|
|
|
|
|
|
|
|
# remove unnecessary maven plugins
|
|
|
|
%pom_remove_plugin :build-helper-maven-plugin
|
|
|
|
%pom_remove_plugin :directory-maven-plugin
|
|
|
|
%pom_remove_plugin :osgiversion-maven-plugin
|
|
|
|
|
|
|
|
# remove custom doclet configuration
|
|
|
|
%pom_remove_plugin :maven-javadoc-plugin activation
|
|
|
|
|
|
|
|
# disable demo submodule
|
|
|
|
%pom_disable_module demo
|
|
|
|
|
|
|
|
# set bundle version manually instead of with osgiversion-maven-plugin
|
|
|
|
# (the plugin is only used to strip off -SNAPSHOT or -Mx qualifiers)
|
|
|
|
sed -i "s/\${activation.osgiversion}/%{version}/g" activation/pom.xml
|
|
|
|
|
2020-07-29 21:56:42 +00:00
|
|
|
# remove maven-compiler-plugin configurations that are broken with Java 11
|
|
|
|
%pom_remove_plugin -r :maven-compiler-plugin
|
|
|
|
|
2020-05-20 16:53:22 +00:00
|
|
|
|
|
|
|
%build
|
2020-07-29 21:56:42 +00:00
|
|
|
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
|
2020-05-20 16:53:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%mvn_install
|
|
|
|
|
|
|
|
|
|
|
|
%files -f .mfiles
|
|
|
|
%license LICENSE.md NOTICE.md
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%license LICENSE.md NOTICE.md
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-07-29 21:56:42 +00:00
|
|
|
* Wed Jul 29 2020 Fabio Valentini <decathorpe@gmail.com> - 1.2.1-7
|
|
|
|
- Override javac source / target versions with 1.8 to fix build with Java 11.
|
|
|
|
|
2020-07-28 02:07:50 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-05-20 16:53:22 +00:00
|
|
|
* Wed May 20 2020 Fabio Valentini <decathorpe@gmail.com> - 1.2.1-5
|
|
|
|
- Package unretired and renamed from jaf.
|
|
|
|
|