jakarta-activation/jakarta-activation.spec

92 lines
3.1 KiB
RPMSpec
Raw Normal View History

2020-05-20 16:53:22 +00:00
Name: jakarta-activation
2020-07-29 22:25:22 +00:00
Version: 1.2.2
Release: 6%{?dist}
2020-05-20 16:53:22 +00:00
Summary: Jakarta Activation Specification and Implementation
License: BSD
URL: https://eclipse-ee4j.github.io/jaf/
BuildArch: noarch
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(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-source-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
2021-06-28 08:00:37 +00:00
%setup -q -n jaf-%{version}
2020-05-20 16:53:22 +00:00
%pom_remove_parent
2021-06-28 08:00:37 +00:00
%pom_disable_module demo
2020-05-20 16:53:22 +00:00
%pom_remove_plugin :directory-maven-plugin
2021-06-28 08:00:37 +00:00
sed -i 's/${main.basedir}/${basedir}/' pom.xml
2020-05-20 16:53:22 +00:00
# remove custom doclet configuration
%pom_remove_plugin :maven-javadoc-plugin activation
# set bundle version manually instead of with osgiversion-maven-plugin
# (the plugin is only used to strip off -SNAPSHOT or -Mx qualifiers)
2021-06-28 08:00:37 +00:00
%pom_remove_plugin :osgiversion-maven-plugin
2020-05-20 16:53:22 +00:00
sed -i "s/\${activation.osgiversion}/%{version}/g" activation/pom.xml
%build
2021-06-28 08:00:37 +00:00
# javadoc temporairly disabled due to https://github.com/fedora-java/xmvn/issues/58
%mvn_build -j
2020-05-20 16:53:22 +00:00
%install
%mvn_install
%files -f .mfiles
%doc README.md
%license LICENSE.md NOTICE.md
2021-06-28 08:00:37 +00:00
# javadoc temporairly disabled due to https://github.com/fedora-java/xmvn/issues/58
#%files javadoc -f .mfiles-javadoc
%files javadoc
%license LICENSE.md NOTICE.md
2020-05-20 16:53:22 +00:00
%changelog
* 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.