2023-08-10 11:01:44 +00:00
|
|
|
%bcond_with bootstrap
|
|
|
|
|
2020-11-06 10:38:30 +00:00
|
|
|
Name: jakarta-mail
|
2022-11-24 11:43:56 +00:00
|
|
|
Version: 2.1.0
|
|
|
|
Release: 1%{?dist}
|
2020-11-06 10:38:30 +00:00
|
|
|
Summary: Jakarta Mail API
|
2023-08-21 10:44:17 +00:00
|
|
|
License: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0
|
2020-11-06 10:38:30 +00:00
|
|
|
URL: https://github.com/eclipse-ee4j/mail
|
|
|
|
BuildArch: noarch
|
2022-07-08 13:30:45 +00:00
|
|
|
ExclusiveArch: %{java_arches} noarch
|
2020-11-06 10:38:30 +00:00
|
|
|
|
2021-06-28 10:01:33 +00:00
|
|
|
Source0: https://github.com/eclipse-ee4j/mail/archive/%{version}/mail-%{version}.tar.gz
|
|
|
|
|
2023-08-10 11:01:44 +00:00
|
|
|
%if %{with bootstrap}
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
%else
|
2020-11-06 10:38:30 +00:00
|
|
|
BuildRequires: maven-local
|
2022-11-24 11:43:56 +00:00
|
|
|
BuildRequires: mvn(jakarta.activation:jakarta.activation-api)
|
2021-06-28 10:01:33 +00:00
|
|
|
BuildRequires: mvn(junit:junit)
|
2020-11-06 10:38:30 +00:00
|
|
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
|
|
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
2023-08-10 11:01:44 +00:00
|
|
|
%endif
|
2020-11-06 10:38:30 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Jakarta Mail API provides a platform-independent and
|
|
|
|
protocol-independent framework to build mail and messaging applications.
|
|
|
|
|
2022-11-24 11:43:56 +00:00
|
|
|
%package javadoc
|
|
|
|
Summary: Javadoc for %{name}
|
2020-11-06 10:38:30 +00:00
|
|
|
|
2022-11-24 11:43:56 +00:00
|
|
|
%description javadoc
|
|
|
|
This package contains javadoc for %{name}.
|
2020-11-06 10:38:30 +00:00
|
|
|
|
2022-11-24 11:43:56 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n mail-api-%{version}
|
2020-11-06 10:38:30 +00:00
|
|
|
|
2022-11-24 11:43:56 +00:00
|
|
|
pushd api
|
|
|
|
# Remove unnecessary dependency on parent POM
|
|
|
|
%pom_remove_parent
|
2021-11-02 17:44:59 +00:00
|
|
|
|
2022-11-24 11:43:56 +00:00
|
|
|
%pom_remove_plugin :buildnumber-maven-plugin
|
2020-11-06 10:38:30 +00:00
|
|
|
|
2022-11-24 11:43:56 +00:00
|
|
|
# Missing dependency
|
|
|
|
%pom_remove_dep :angus-activation
|
|
|
|
rm src/test/java/jakarta/mail/internet/NonAsciiFileNamesTest.java
|
|
|
|
popd
|
2020-11-06 10:38:30 +00:00
|
|
|
|
|
|
|
%build
|
2022-11-24 11:43:56 +00:00
|
|
|
pushd api
|
|
|
|
%mvn_build
|
|
|
|
popd
|
2020-11-06 10:38:30 +00:00
|
|
|
|
|
|
|
%install
|
2022-11-24 11:43:56 +00:00
|
|
|
pushd api
|
2020-11-06 10:38:30 +00:00
|
|
|
%mvn_install
|
2022-11-24 11:43:56 +00:00
|
|
|
popd
|
2020-11-06 10:38:30 +00:00
|
|
|
|
2022-11-24 11:43:56 +00:00
|
|
|
%files -f api/.mfiles
|
2020-11-06 10:38:30 +00:00
|
|
|
%license LICENSE.md NOTICE.md
|
|
|
|
%doc README.md
|
|
|
|
|
2022-11-24 11:43:56 +00:00
|
|
|
%files javadoc -f api/.mfiles-javadoc
|
|
|
|
%license LICENSE.md NOTICE.md
|
|
|
|
|
2020-11-06 10:38:30 +00:00
|
|
|
%changelog
|
2022-11-24 11:43:56 +00:00
|
|
|
* Mon Aug 21 2023 Marian Koncek <mkoncek@redhat.com> - 2.1.0-1
|
|
|
|
- Update to upstream version 2.1.0
|
|
|
|
|
2023-07-20 07:48:30 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.7-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-19 13:31:42 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.7-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-21 15:02:35 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-08 13:30:45 +00:00
|
|
|
* Fri Jul 08 2022 Jiri Vanek <jvanek@redhat.com> - 1.6.7-2
|
|
|
|
- Rebuilt for Drop i686 JDKs
|
|
|
|
|
2022-04-29 12:14:49 +00:00
|
|
|
* Fri Apr 29 2022 Marian Koncek <mkoncek@redhat.com> - 1.6.7-1
|
|
|
|
- Update to upstream version 1.6.7
|
|
|
|
|
2022-04-27 06:22:28 +00:00
|
|
|
* Wed Apr 27 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6.5-9
|
|
|
|
- Workaround build issue with RPM 4.18
|
|
|
|
|
2022-02-05 20:11:36 +00:00
|
|
|
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.6.5-8
|
|
|
|
- Rebuilt for java-17-openjdk as system jdk
|
|
|
|
|
2022-01-20 13:36:57 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.5-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2022-01-05 07:36:22 +00:00
|
|
|
* Wed Jan 05 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6.5-6
|
|
|
|
- Disable tests failing due to glibc rhbz#2033020
|
2022-01-05 07:40:58 +00:00
|
|
|
- Remove obsoletes/provides on javamail
|
2022-01-05 07:36:22 +00:00
|
|
|
|
2021-11-02 17:44:59 +00:00
|
|
|
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6.5-5
|
|
|
|
- Fix build with OpenJDK 17
|
|
|
|
|
2021-07-22 08:53:58 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-28 10:01:33 +00:00
|
|
|
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.6.5-3
|
|
|
|
- Add build-dependency on junit
|
|
|
|
|
2021-01-26 14:39:22 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-11-06 10:38:30 +00:00
|
|
|
* Sat Sep 19 2020 Fabio Valentini <decathorpe@gmail.com> - 1.6.5-1
|
|
|
|
- Initial package renamed from javamail.
|