53 lines
1.2 KiB
RPMSpec
53 lines
1.2 KiB
RPMSpec
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
|
|
|