forked from pool/glassfish-activation
This commit is contained in:
parent
61d1616f22
commit
abe3e7ac37
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 18 05:48:14 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Rename package to glassfish-activation and split it into two,
|
||||
the whole activation jar and the jar with only the apis
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 17 03:01:43 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package jaf
|
||||
# spec file for package glassfish-activation
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
Name: jaf
|
||||
Name: glassfish-activation
|
||||
Version: 1.2.0
|
||||
Release: 0
|
||||
Summary: JavaBeans Activation Framework
|
||||
@ -28,6 +28,7 @@ Source1: activation-build.xml
|
||||
BuildRequires: ant
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: javapackages-local
|
||||
Obsoletes: jaf
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -37,6 +38,18 @@ 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 api
|
||||
Summary: JavaBeans Activation Framework API jar
|
||||
|
||||
%description api
|
||||
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).
|
||||
|
||||
This package contains a Java library with only the APIs
|
||||
|
||||
%package javadoc
|
||||
Summary: Javadoc for %{name}
|
||||
Group: Documentation/HTML
|
||||
@ -66,21 +79,21 @@ cp %{SOURCE1} activation/build.xml
|
||||
|
||||
%build
|
||||
pushd activation
|
||||
%ant package javadoc
|
||||
%{ant} package javadoc
|
||||
popd
|
||||
|
||||
%install
|
||||
# jar
|
||||
install -d -m 755 %{buildroot}%{_javadir}/%{name}
|
||||
install -m 644 activation/target/javax.activation-%{version}.jar %{buildroot}%{_javadir}/%{name}/javax.activation.jar
|
||||
install -m 644 activation/target/javax.activation-api-%{version}.jar %{buildroot}%{_javadir}/%{name}/javax.activation-api.jar
|
||||
install -d -m 755 %{buildroot}%{_javadir}/
|
||||
install -m 644 activation/target/javax.activation-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||
install -m 644 activation/target/javax.activation-api-%{version}.jar %{buildroot}%{_javadir}/%{name}-api.jar
|
||||
|
||||
# pom
|
||||
install -d -m 755 %{buildroot}%{_mavenpomdir}/%{name}
|
||||
install -pm 644 activation/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/javax.activation.pom
|
||||
install -pm 644 activationapi/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/javax.activation-api.pom
|
||||
%add_maven_depmap %{name}/javax.activation.pom %{name}/javax.activation.jar
|
||||
%add_maven_depmap %{name}/javax.activation-api.pom %{name}/javax.activation-api.jar -a javax.activation:activation
|
||||
install -pm 644 activation/pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||
install -pm 644 activationapi/pom.xml %{buildroot}%{_mavenpomdir}/%{name}-api.pom
|
||||
%add_maven_depmap %{name}.pom %{name}.jar
|
||||
%add_maven_depmap %{name}-api.pom %{name}-api.jar -a javax.activation:activation -f api
|
||||
|
||||
# javadoc
|
||||
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
||||
@ -91,6 +104,9 @@ cp -r activation/target/site/apidocs/* %{buildroot}/%{_javadocdir}/%{name}
|
||||
%license LICENSE.txt
|
||||
%doc README.md
|
||||
|
||||
%files api -f .mfiles-api
|
||||
%license LICENSE.txt
|
||||
|
||||
%files javadoc
|
||||
%{_javadocdir}/%{name}
|
||||
%license LICENSE.txt
|
Loading…
Reference in New Issue
Block a user