init
This commit is contained in:
parent
eee4ac6a82
commit
025753d5a2
52
geronimo-jta.spec
Normal file
52
geronimo-jta.spec
Normal 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
|
||||
|
||||
BIN
geronimo-jta_1.1_spec-1.1.1.tar.bz
Normal file
BIN
geronimo-jta_1.1_spec-1.1.1.tar.bz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user