!1 package init

Merge pull request !1 from small_leek/master
This commit is contained in:
openeuler-ci-bot 2020-08-22 17:15:47 +08:00 committed by Gitee
commit 0e9a1057dc
3 changed files with 57 additions and 0 deletions

53
geronimo-ejb.spec Normal file
View File

@ -0,0 +1,53 @@
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 help
Summary: Javadoc for %{name}
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
%description help
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 help -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.