jakarta-activation/jakarta-activation.spec

101 lines
3.2 KiB
RPMSpec
Raw Normal View History

2020-05-20 16:53:22 +00:00
Name: jakarta-activation
2022-11-24 11:32:38 +00:00
Version: 2.1.1
2023-02-08 10:03:45 +00:00
Release: 3%{?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
ExclusiveArch: %{java_arches} noarch
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
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)
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-02-08 10:03:45 +00:00
* Wed Feb 08 2023 Marian Koncek <mkoncek@redhat.com> - 2.1.1-3
- Change license, reduce dependencies
* 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
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 1.2.2-6
- Rebuilt for java-17-openjdk as system jdk
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* 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
* 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.
* 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.
* 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.