JavaBeans Activation Framework
40ab7e967ebcfd2dff9c9b5c3836e25ce52f1444..631fec506c13f21abde8a2747e944bbdb6958db5
2019-03-13 CentOS Sources
import rh-jmc-jaf-1.2.1-3.el7
631fec diff | tree
3 files added
1 files deleted
99 ■■■■■ changed files
.gitignore 1 ●●●● patch | view | raw | blame | history
.rh-jmc-jaf.metadata 1 ●●●● patch | view | raw | blame | history
README.md 4 ●●●● patch | view | raw | blame | history
SPECS/jaf.spec 93 ●●●●● patch | view | raw | blame | history
.gitignore
New file
@@ -0,0 +1 @@
SOURCES/1.2.1.tar.gz
.rh-jmc-jaf.metadata
New file
@@ -0,0 +1 @@
5e47e6a48553033ca43ea1b7e09ff532ddc701be SOURCES/1.2.1.tar.gz
README.md
File was deleted
SPECS/jaf.spec
New file
@@ -0,0 +1,93 @@
# https://src.fedoraproject.org/rpms/jaf/raw/jmc/f/jaf.spec
%{?scl:%scl_package jaf}
%{!?scl:%global pkg_name %{name}}
Name:     %{scl_prefix}jaf
Version:  1.2.1
Release:  3%{?dist}
Summary:  JavaBeans Activation Framework
License:  BSD
URL:      https://github.com/eclipse-ee4j/jaf
Source0:  https://github.com/eclipse-ee4j/jaf/archive/1.2.1.tar.gz
BuildArch:  noarch
BuildRequires:  %{?scl_prefix_maven}maven-local
BuildRequires:  %{?scl_prefix_maven}mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires:  %{?scl_prefix_maven}mvn(org.apache.maven.plugins:maven-dependency-plugin)
BuildRequires:  %{?scl_prefix_maven}mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildRequires:  %{?scl_prefix_maven}mvn(org.apache.maven.plugins:maven-source-plugin)
BuildRequires:  %{?scl_prefix_maven}mvn(org.codehaus.mojo:build-helper-maven-plugin)
BuildRequires:  %{?scl_prefix_eclipse}mvn(org.glassfish.hk2:osgiversion-maven-plugin)
BuildRequires:  %{?scl_prefix_jmc}mvn(org.commonjava.maven.plugins:directory-maven-plugin)
BuildRequires:  %{?scl_prefix_jmc}mvn(org.eclipse.ee4j:project:pom:)
%description
The JavaBeans Activation Framework (JAF) is a standard extension to the
Java platform that 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
%{summary}.
%prep
%setup -q -n %{pkg_name}-%{version}
%pom_disable_module demo
%pom_remove_plugin :maven-javadoc-plugin activation
%pom_remove_plugin org.apache.maven.plugins:maven-javadoc-plugin
# maven-dependency-plugin doesn't work correctly without access to remote repos
%pom_remove_plugin :maven-dependency-plugin activationapi
mkdir -p %{_builddir}/%{pkg_name}-%{version}/activationapi/target/sources/
cp -r %{_builddir}/%{pkg_name}-%{version}/activation/src/main/java/javax/ %{_builddir}/%{pkg_name}-%{version}/activationapi/target/sources/
%pom_xpath_inject "/pom:project"  "<dependencies>
<dependency>
  <groupId>com.sun.activation</groupId>
  <artifactId>jakarta.activation</artifactId>
  <version>1.2.1</version>
</dependency>
</dependencies>" "activationapi/pom.xml"
%build
%{?scl:scl enable %{scl_maven} %{scl_eclipse} %{scl} - << "EOFSCL"}
%mvn_build
%{?scl:EOFSCL}
%install
%{?scl:scl enable %{scl_maven} %{scl_eclipse} %{scl} - << "EOFSCL"}
%mvn_install
%{?scl:EOFSCL}
%files -f .mfiles
%license LICENSE.md
%license NOTICE.md
%doc README.md
%files javadoc -f .mfiles-javadoc
%license LICENSE.md
%license NOTICE.md
%doc README.md
%changelog
* Fri Nov 23 2018 Jie Kang <jkang@redhat.com> - 1.2.1-3
- SCL-ize package
* Thu Nov 22 2018 Salman Siddiqui <sasiddiq@redhat.com> - 1.2.1-2
- Use official version 1.2.1 release
* Fri Sep 21 2018 Salman Siddiqui <sasiddiq@redhat.com> - 1.2.1-1
- Initial packaging