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 - 1.0-1 - package init