!1 Package init

Merge pull request !1 from openeuler-compute/init
This commit is contained in:
openeuler-ci-bot 2019-12-17 16:46:40 +08:00 committed by Gitee
commit 8f2ad6908a
2 changed files with 52 additions and 0 deletions

52
geronimo-jta.spec Normal file
View File

@ -0,0 +1,52 @@
Name: geronimo-jta
Summary: J2EE JTA v1.1 API
Version: 1.1.1
Release: 25
License: ASL 2.0
URL: http://geronimo.apache.org/
Source0: geronimo-jta_1.1_spec-%{version}.tar.bz
BuildRequires: maven-local geronimo-parent-poms maven-resources-plugin
Provides: jta = %{version}-%{release}
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
BuildArch: noarch
%description
Java Transaction API (JTA) specifies standard Java interfaces between a
transaction manager and the parties involved in a distributed transaction
system: the resource manager, the application server, and the transactional
applications.
%prep
%autosetup -p1 -n geronimo-jta_1.1_spec-%{version}
%build
%mvn_file : %{name} geronimo-jta_1.1_spec jta
%mvn_alias : javax.transaction:jta
%mvn_alias : org.eclipse.jetty.orbit:javax.transaction
%mvn_build -f
%install
%mvn_install
%pre
if [ $1 -gt 1 ]
then
if [ -L %{_javadocdir}/%{name} ]
then
rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
fi
fi
%files -f .mfiles -f .mfiles-javadoc
%doc LICENSE.txt NOTICE.txt
%changelog
* Fri Dec 13 2019 caomeng<caomeng5@huawei.com> - 1.1.1-25
- Package init

Binary file not shown.