2023-08-22 07:30:58 +00:00
|
|
|
%bcond_with bootstrap
|
|
|
|
|
2020-05-20 16:53:22 +00:00
|
|
|
Name: jakarta-activation
|
2023-08-18 07:24:56 +00:00
|
|
|
Version: 2.1.2
|
|
|
|
Release: 1%{?dist}
|
2022-11-24 11:32:38 +00:00
|
|
|
Summary: Jakarta Activation API
|
2023-02-08 10:03:45 +00:00
|
|
|
# the whole project is licensed under (EPL-2.0 or BSD)
|
|
|
|
# the source code additionally can be licensed under GPLv2 with exceptions
|
|
|
|
# we only ship built source code
|
|
|
|
License: EPL-2.0 or BSD or GPLv2 with exceptions
|
2022-11-24 11:32:38 +00:00
|
|
|
URL: https://jakartaee.github.io/jaf-api/
|
2020-05-20 16:53:22 +00:00
|
|
|
BuildArch: noarch
|
2023-07-26 19:01:07 +00:00
|
|
|
%if 0%{?java_arches:1}
|
2022-05-12 20:33:24 +00:00
|
|
|
ExclusiveArch: %{java_arches} noarch
|
2023-07-26 19:01:07 +00:00
|
|
|
%endif
|
2020-05-20 16:53:22 +00:00
|
|
|
|
2021-06-28 08:00:37 +00:00
|
|
|
Source0: https://github.com/eclipse-ee4j/jaf/archive/%{version}/jaf-%{version}.tar.gz
|
|
|
|
|
2023-08-22 07:30:58 +00:00
|
|
|
%if %{with bootstrap}
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
%else
|
2020-05-20 16:53:22 +00:00
|
|
|
BuildRequires: maven-local
|
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
2021-06-28 08:00:37 +00:00
|
|
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
2023-08-22 07:30:58 +00:00
|
|
|
%endif
|
2020-05-20 16:53:22 +00:00
|
|
|
|
|
|
|
%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
|
2022-11-24 11:32:38 +00:00
|
|
|
%setup -q -n jaf-api-%{version}
|
2020-05-20 16:53:22 +00:00
|
|
|
|
2022-11-24 11:32:38 +00:00
|
|
|
pushd api
|
2020-05-20 16:53:22 +00:00
|
|
|
%pom_remove_parent
|
|
|
|
|
|
|
|
# remove custom doclet configuration
|
2022-11-24 11:32:38 +00:00
|
|
|
%pom_remove_plugin :maven-javadoc-plugin
|
2020-05-20 16:53:22 +00:00
|
|
|
|
2023-02-08 10:03:45 +00:00
|
|
|
%pom_remove_plugin -r :buildnumber-maven-plugin
|
|
|
|
%pom_remove_plugin -r :maven-enforcer-plugin
|
2022-11-24 11:32:38 +00:00
|
|
|
popd
|
2020-05-20 16:53:22 +00:00
|
|
|
|
|
|
|
%build
|
2022-11-24 11:32:38 +00:00
|
|
|
pushd api
|
2022-11-24 11:32:53 +00:00
|
|
|
%mvn_build
|
2022-11-24 11:32:38 +00:00
|
|
|
popd
|
2020-05-20 16:53:22 +00:00
|
|
|
|
|
|
|
%install
|
2022-11-24 11:32:38 +00:00
|
|
|
pushd api
|
2020-05-20 16:53:22 +00:00
|
|
|
%mvn_install
|
2022-11-24 11:32:38 +00:00
|
|
|
popd
|
2020-05-20 16:53:22 +00:00
|
|
|
|
2022-11-24 11:32:38 +00:00
|
|
|
%files -f api/.mfiles
|
2020-05-20 16:53:22 +00:00
|
|
|
%doc README.md
|
|
|
|
%license LICENSE.md NOTICE.md
|
|
|
|
|
2022-11-24 11:32:53 +00:00
|
|
|
%files javadoc -f api/.mfiles-javadoc
|
2021-06-28 08:00:37 +00:00
|
|
|
%license LICENSE.md NOTICE.md
|
2020-05-20 16:53:22 +00:00
|
|
|
|
|
|
|
%changelog
|
2023-08-18 07:24:56 +00:00
|
|
|
* Fri Aug 18 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.2-1
|
|
|
|
- Update to upstream version 2.1.2
|
|
|
|
|
2023-07-20 07:47:29 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-02-08 10:03:45 +00:00
|
|
|
* Wed Feb 08 2023 Marian Koncek <mkoncek@redhat.com> - 2.1.1-3
|
|
|
|
- Change license, reduce dependencies
|
|
|
|
|
2023-01-19 13:30:43 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-11-24 11:32:38 +00:00
|
|
|
* Thu Dec 22 2022 Marian Koncek <mkoncek@redhat.com> - 2.1.1-1
|
|
|
|
- Update to upstream version 2.1.1
|
|
|
|
|
2022-07-21 15:01:47 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-02-05 20:08:37 +00:00
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.2.2-6
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
2022-01-20 13:36:11 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-22 08:53:06 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-28 08:00:37 +00:00
|
|
|
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.2-3
|
|
|
|
- Temporarily disable javadoc generation
|
|
|
|
|
2021-01-26 14:38:34 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-29 22:25:22 +00:00
|
|
|
* Wed Jul 29 2020 Fabio Valentini <decathorpe@gmail.com> - 1.2.2-1
|
|
|
|
- Update to version 1.2.2.
|
|
|
|
- Drop custom maven-compiler-plugin overrides in favor of upstream settings.
|
|
|
|
|
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.
|