package init

This commit is contained in:
small_leek 2020-07-31 15:44:00 +08:00
parent 91dc8f7298
commit 6976b5f0b9
3 changed files with 54 additions and 0 deletions

50
geronimo-ejb.spec Normal file
View File

@ -0,0 +1,50 @@
Name: geronimo-ejb
Version: 1.0
Release: 1
Summary: Java EE: EJB API v3.1
License: ASL 2.0
URL: http://geronimo.apache.org
BuildArch: noarch
Source0: https://repo1.maven.org/maven2/org/apache/geronimo/specs/%{name}_3.1_spec/%{version}/%{name}_3.1_spec-%{version}-source-release.tar.gz
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.geronimo.specs:geronimo-annotation_1.1_spec)
BuildRequires: mvn(org.apache.geronimo.specs:geronimo-interceptor_1.1_spec)
BuildRequires: mvn(org.apache.geronimo.specs:geronimo-jaxrpc_1.1_spec)
BuildRequires: mvn(org.apache.geronimo.specs:geronimo-jta_1.1_spec)
BuildRequires: mvn(org.apache.geronimo.specs:geronimo-osgi-locator)
BuildRequires: mvn(org.apache.geronimo.specs:specs:pom:)
%description
Contains the Enterprise JavaBeans classes and interfaces that define the
contracts between the enterprise bean and its clients and between the
enterprise bean and the EJB container.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n %{name}_3.1_spec-%{version}
sed -i 's/\r//' LICENSE
%pom_set_parent org.apache.geronimo.specs:specs:1.4
%mvn_alias : org.apache.geronimo.specs:geronimo-ejb_2.1_spec
%mvn_alias : org.apache.geronimo.specs:geronimo-ejb_3.0_spec
%mvn_alias : javax.ejb:ejb
%mvn_alias : javax.ejb:ejb-api
%mvn_file : %{name} ejb
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%license LICENSE NOTICE
%files javadoc -f .mfiles-javadoc
%license LICENSE NOTICE
%changelog
* Sat Jul 25 2020 huanghaitao <huanghaitao8@huawei.com> - 1.0-1
- package init

4
geronimo-ejb.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: NA
src_repo: NA
tag_prefix: NA
seperator: NA

Binary file not shown.