Blame SPECS/jakarta-activation.spec

2a1b23
Name:           jakarta-activation
2a1b23
Version:        1.2.2
2a1b23
Release:        5%{?dist}
2a1b23
Summary:        Jakarta Activation Specification and Implementation
2a1b23
License:        BSD
2a1b23
URL:            https://eclipse-ee4j.github.io/jaf/
2a1b23
BuildArch:      noarch
2a1b23
2a1b23
Source0:        https://github.com/eclipse-ee4j/jaf/archive/%{version}/jaf-%{version}.tar.gz
2a1b23
2a1b23
BuildRequires:  maven-local
2a1b23
BuildRequires:  mvn(junit:junit)
2a1b23
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
2a1b23
BuildRequires:  mvn(org.apache.maven.plugins:maven-dependency-plugin)
2a1b23
BuildRequires:  mvn(org.apache.maven.plugins:maven-source-plugin)
2a1b23
BuildRequires:  mvn(org.codehaus.mojo:build-helper-maven-plugin)
2a1b23
2a1b23
%description
2a1b23
Jakarta Activation lets you take advantage of standard services to:
2a1b23
determine the type of an arbitrary piece of data; encapsulate access to
2a1b23
it; discover the operations available on it; and instantiate the
2a1b23
appropriate bean to perform the operation(s).
2a1b23
2a1b23
%package javadoc
2a1b23
Summary:        Javadoc for %{name}
2a1b23
2a1b23
%description javadoc
2a1b23
This package contains javadoc for %{name}.
2a1b23
2a1b23
%prep
2a1b23
%setup -q -n jaf-%{version}
2a1b23
2a1b23
%pom_remove_parent
2a1b23
%pom_disable_module demo
2a1b23
2a1b23
%pom_remove_plugin :directory-maven-plugin
2a1b23
sed -i 's/${main.basedir}/${basedir}/' pom.xml
2a1b23
2a1b23
# remove custom doclet configuration
2a1b23
%pom_remove_plugin :maven-javadoc-plugin activation
2a1b23
2a1b23
# set bundle version manually instead of with osgiversion-maven-plugin
2a1b23
# (the plugin is only used to strip off -SNAPSHOT or -Mx qualifiers)
2a1b23
%pom_remove_plugin :osgiversion-maven-plugin
2a1b23
sed -i "s/\${activation.osgiversion}/%{version}/g" activation/pom.xml
2a1b23
2a1b23
%build
2a1b23
# javadoc temporairly disabled due to https://github.com/fedora-java/xmvn/issues/58
2a1b23
%mvn_build -j
2a1b23
2a1b23
%install
2a1b23
%mvn_install
2a1b23
2a1b23
%files -f .mfiles
2a1b23
%doc README.md
2a1b23
%license LICENSE.md NOTICE.md
2a1b23
2a1b23
# javadoc temporairly disabled due to https://github.com/fedora-java/xmvn/issues/58
2a1b23
#%files javadoc -f .mfiles-javadoc
2a1b23
%files javadoc
2a1b23
%license LICENSE.md NOTICE.md
2a1b23
2a1b23
%changelog
2a1b23
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.2-5
2a1b23
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
2a1b23
  Related: rhbz#1991688
2a1b23
2a1b23
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.2.2-4
2a1b23
- Temporarily disable javadoc generation
2a1b23
- Resolves: rhbz#1976997
2a1b23
2a1b23
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.2-3
2a1b23
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
2a1b23
2a1b23
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-2
2a1b23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2a1b23
2a1b23
* Wed Jul 29 2020 Fabio Valentini <decathorpe@gmail.com> - 1.2.2-1
2a1b23
- Update to version 1.2.2.
2a1b23
- Drop custom maven-compiler-plugin overrides in favor of upstream settings.
2a1b23
2a1b23
* Wed Jul 29 2020 Fabio Valentini <decathorpe@gmail.com> - 1.2.1-7
2a1b23
- Override javac source / target versions with 1.8 to fix build with Java 11.
2a1b23
2a1b23
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-6
2a1b23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2a1b23
2a1b23
* Wed May 20 2020 Fabio Valentini <decathorpe@gmail.com> - 1.2.1-5
2a1b23
- Package unretired and renamed from jaf.
2a1b23