From 064bae64208996436fbe4f20374c00f17d74cf7f4ecbae5ef328eb3f227d0144 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 16 Oct 2023 13:30:12 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/geronimo-specs?expand=0&rev=53 --- geronimo-specs.build.xml | 205 ++------------------------------------- geronimo-specs.spec | 62 +----------- 2 files changed, 11 insertions(+), 256 deletions(-) diff --git a/geronimo-specs.build.xml b/geronimo-specs.build.xml index 53fc287..0372df5 100644 --- a/geronimo-specs.build.xml +++ b/geronimo-specs.build.xml @@ -24,20 +24,6 @@ - - - - - - - - - - - - - - @@ -170,7 +156,7 @@ - + @@ -179,11 +165,6 @@ - - - @@ -282,45 +263,6 @@ artifactId=${gbuild.id} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -414,28 +356,31 @@ artifactId=${gbuild.id} - + + - + + - + + @@ -443,7 +388,7 @@ artifactId=${gbuild.id} - + @@ -508,12 +453,13 @@ artifactId=${gbuild.id} - + + @@ -556,137 +502,6 @@ artifactId=${gbuild.id} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/geronimo-specs.spec b/geronimo-specs.spec index 55762f8..9adcedc 100644 --- a/geronimo-specs.spec +++ b/geronimo-specs.spec @@ -74,13 +74,12 @@ Source0: %{name}-%{version}-src.tar.bz2 Source1000: geronimo-specs.build.xml Source1001: undot.py BuildRequires: ant +BuildRequires: axis BuildRequires: fdupes BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local >= 6 BuildRequires: junit >= 3.8.1 -BuildConflicts: java-devel >= 11 BuildConflicts: java-devel-openj9 -BuildConflicts: java-headless >= 11 BuildConflicts: java-headless-openj9 BuildArch: noarch @@ -155,28 +154,6 @@ J2EE-Specifications Note: You should use the subpackages for the Specifications that you actually need. The ones installed by the main package are deprecated and will disapear in future releases. -%package -n geronimo-corba-1_0-apis -Summary: Geronimo J2EE server J2EE specifications -Group: Development/Languages/Java -Provides: corba_1_0_apis = %{version} -Provides: corba_apis = 1.0 -Obsoletes: %{name}-poms - -%description -n geronimo-corba-1_0-apis -Geronimo is Apache's ASF-licenced J2EE server project. These are the -J2EE-Specifications: CORBA 1.0 Spec - -%package -n geronimo-corba-2_3-apis -Summary: Geronimo J2EE server J2EE specifications -Group: Development/Languages/Java -Provides: corba_2_3_apis = %{version} -Provides: corba_apis = 2.3 -Obsoletes: %{name}-poms - -%description -n geronimo-corba-2_3-apis -Geronimo is Apache's ASF-licenced J2EE server project. These are the -J2EE-Specifications: CORBA 2.3 Spec - %package -n geronimo-ejb-2_1-api Summary: Geronimo J2EE server J2EE specifications Group: Development/Languages/Java @@ -253,8 +230,6 @@ Group: Development/Languages/Java Requires(pre): update-alternatives Provides: commonj_1_1_apis = %{version} Provides: commonj_apis = 1.1 -Provides: corba_2_3_apis = %{version} -Provides: corba_apis = 2.3 Provides: ejb_2_1_api = %{version} Provides: ejb_api = 2.1 Provides: j2ee_connector_1_5_api = %{version} @@ -289,7 +264,6 @@ Provides: servlet_api = 2.4 # # Provides: commonj = 1.1 Provides: ejb = 2.1 -# Provides: corba = 2.3 Provides: j2ee-connector = 1.5 Provides: j2ee-deployment = 1.1 Provides: j2ee-management = 1.0 @@ -305,8 +279,6 @@ Provides: jta = 1.0.1B Provides: saaj = 1.1 Provides: servlet = 2.4 # added Epoch -Provides: geronimo-corba-2_3-apis = %{version} -# added Epoch Provides: geronimo-qname-1_1-api = %{version} Obsoletes: %{name}-poms @@ -683,9 +655,6 @@ mkdir external_repo ln -s %{_javadir} external_repo/JPP cp %{SOURCE1000} build.xml %pom_xpath_set pom:project/pom:version 1.0 geronimo-spec-commonj -%pom_xpath_set pom:project/pom:version 1.0 geronimo-spec-corba -%pom_xpath_set pom:project/pom:version 1.1 geronimo-spec-corba-2.3 -%pom_xpath_set pom:project/pom:version 1.1 geronimo-spec-corba-3.0 %pom_xpath_set pom:project/pom:version 1.1.1 geronimo-spec-j2ee %build @@ -719,20 +688,6 @@ install -m 0644 \ %{buildroot}/%{_mavenpomdir}/JPP-geronimo-annotation-1.0-api.pom %add_maven_depmap JPP-geronimo-annotation-1.0-api.pom geronimo-annotation-1.0-api.jar -a "javax.annotation:jsr250-api,org.eclipse.jetty.orbit:javax.annotation" -f annotation-1.0-api -install -m 0644 \ - geronimo-spec-corba-2.3/target/geronimo-corba_2.3_spec-null.jar \ - %{buildroot}%{_javadir}/geronimo-corba-2.3-apis.jar -%{mvn_install_pom} geronimo-spec-corba-2.3/pom.xml \ - %{buildroot}/%{_mavenpomdir}/JPP-geronimo-corba-2.3-apis.pom -%add_maven_depmap JPP-geronimo-corba-2.3-apis.pom geronimo-corba-2.3-apis.jar -f corba-2.3-apis - -install -m 0644 \ - geronimo-spec-corba/target/geronimo-spec-corba-null.jar \ - %{buildroot}%{_javadir}/geronimo-corba-1.0-apis.jar -%{mvn_install_pom} geronimo-spec-corba/pom.xml \ - %{buildroot}/%{_mavenpomdir}/JPP-geronimo-corba-1.0-apis.pom -%add_maven_depmap JPP-geronimo-corba-1.0-apis.pom geronimo-corba-1.0-apis.jar -f corba-1.0-apis - install -m 0644 \ geronimo-ejb_2.1_spec-1.1/target/geronimo-ejb_2.1_spec-1.1.jar \ %{buildroot}%{_javadir}/geronimo-ejb-2.1-api.jar @@ -954,14 +909,6 @@ update-alternatives --remove jaf_1_1_api %{_javadir}/geronimo-jaf-1.1-api.jar update-alternatives --remove annotation_api %{_javadir}/geronimo-annotation-1.0-api.jar update-alternatives --remove annotation_1_0_api %{_javadir}/geronimo-annotation-1.0-api.jar -%pre -n geronimo-corba-1_0-apis -update-alternatives --remove corba_apis %{_javadir}/geronimo-corba-1.0-apis.jar -update-alternatives --remove corba_1_0_apis %{_javadir}/geronimo-corba-1.0-apis.jar - -%pre -n geronimo-corba-2_3-apis -update-alternatives --remove corba_apis %{_javadir}/geronimo-corba-2.3-apis.jar -update-alternatives --remove corba_2_3_apis %{_javadir}/geronimo-corba-2.3-apis.jar - %pre -n geronimo-ejb-2_1-api update-alternatives --remove ejb %{_javadir}/geronimo-ejb-2.1-api.jar update-alternatives --remove ejb_api %{_javadir}/geronimo-ejb-2.1-api.jar @@ -1092,8 +1039,6 @@ update-alternatives --remove jaf_api %{_javadir}/geronimo-j2ee-1.4-apis.jar update-alternatives --remove jaf_1_0_2_api %{_javadir}/geronimo-j2ee-1.4-apis.jar update-alternatives --remove commonj_apis %{_javadir}/geronimo-j2ee-1.4-apis.jar update-alternatives --remove commonj_1_1_apis %{_javadir}/geronimo-j2ee-1.4-apis.jar -update-alternatives --remove corba_apis %{_javadir}/geronimo-j2ee-1.4-apis.jar -update-alternatives --remove corba_2_3_apis %{_javadir}/geronimo-j2ee-1.4-apis.jar update-alternatives --remove ejb_api %{_javadir}/geronimo-j2ee-1.4-apis.jar update-alternatives --remove ejb_2_1_api %{_javadir}/geronimo-j2ee-1.4-apis.jar update-alternatives --remove j2ee-connector %{_javadir}/geronimo-j2ee-connector-1.5-api.jar @@ -1136,11 +1081,6 @@ update-alternatives --remove servlet_2_4_api %{_javadir}/geronimo-j2ee-1.4-apis. %files -n geronimo-annotation-1_0-api -f .mfiles-annotation-1.0-api %license geronimo-annotation_1.0_spec-1.1.0/LICENSE.txt -%files -n geronimo-corba-1_0-apis -f .mfiles-corba-1.0-apis - -%files -n geronimo-corba-2_3-apis -f .mfiles-corba-2.3-apis -%license geronimo-spec-corba-2.3/LICENSE.txt - %files -n geronimo-ejb-2_1-api -f .mfiles-ejb-2.1-api %license geronimo-ejb_2.1_spec-1.1/LICENSE.txt