Blame SPECS/jakarta-activation.spec

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