[eclipse-jbosstools/f19: 35/36] Add new subpackages for 4.1.0
Gerard Ryan
galileo at fedoraproject.org
Sun Aug 18 15:23:49 UTC 2013
commit 37d31d21d88dcb857aba0c51cac5413e4b4da917
Author: Gerard Ryan <gerard at ryan.lt>
Date: Sun Aug 18 15:04:42 2013 +0100
Add new subpackages for 4.1.0
eclipse-jbosstools.spec | 73 ++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 66 insertions(+), 7 deletions(-)
---
diff --git a/eclipse-jbosstools.spec b/eclipse-jbosstools.spec
index 678888a..b6261ec 100644
--- a/eclipse-jbosstools.spec
+++ b/eclipse-jbosstools.spec
@@ -381,6 +381,40 @@ JBoss Runtime Detection
#OpenShift Tools provides wizards and views for
#creating and maintaining OpenShift applications.
+%package base
+Summary: JBoss Base Tools
+
+%description base
+POM for %{summary}.
+
+%package foundation
+Summary: JBoss Tools Foundation
+
+%description foundation
+%{summary} provides utility classes and infrastructure for all other
+plugins.
+
+%package stacks
+Summary: JBoss Stacks Tools
+
+%description stacks
+JBoss Stacks consumer which helps provide models for use by other
+plugins.
+
+%package javaee
+Summary: JBoss JavaEE Tools
+
+%description javaee
+JavaEE Tools provides Eclipse plugins for features related to development
+on JavaEE. This includes CDI, Seam, JSF and Struts.
+
+%package server
+Summary: JBoss Server Tools
+
+%description server
+Server Tools provide the JBoss Server Adapter for Eclipse WTP, project
+archive tooling and JMX views.
+
%prep
%setup -q -n %{name}-%{version}.%{rls_tag}
@@ -522,14 +556,17 @@ install -d -m 755 %{buildroot}%{_mavenpomdir}
pushd %{build_base}
-# parent POM
-pushd parent/*-SNAPSHOT/
- install -pm 644 parent-*.pom \
- %{buildroot}%{_mavenpomdir}/JPP-%{name}-parent.pom
- %add_maven_depmap JPP-%{name}-parent.pom -f parent
-popd
+# POM-only artifacts
+for pom in parent base javaee.all server.all; do
+ pushd ${pom}/*-SNAPSHOT/
+ install -pm 644 ${pom}-*.pom \
+ %{buildroot}%{_mavenpomdir}/JPP-%{name}-${pom}.pom
+ %add_maven_depmap JPP-%{name}-${pom}.pom -f ${pom}
+ popd
+done
-for tool in common usage archives jmx as jst cdi ws freemarker runtime; do
+# Normal feature/plugin projects
+for tool in common usage archives jmx as jst cdi ws freemarker runtime stacks foundation; do
install -d -m 755 %{buildroot}%{eclipse_dropins}/%{name}-${tool}/eclipse/features
install -d -m 755 %{buildroot}%{eclipse_dropins}/%{name}-${tool}/eclipse/plugins
@@ -632,6 +669,28 @@ popd;
%{_mavenpomdir}/JPP-%{name}-runtime.pom
%{_mavendepmapfragdir}/%{name}-runtime
+%files base
+%{_mavenpomdir}/JPP-%{name}-base.pom
+%{_mavendepmapfragdir}/%{name}-base
+
+%files foundation
+%{eclipse_dropins}/%{name}-foundation
+%{_mavenpomdir}/JPP-%{name}-foundation.pom
+%{_mavendepmapfragdir}/%{name}-foundation
+
+%files stacks
+%{eclipse_dropins}/%{name}-stacks
+%{_mavenpomdir}/JPP-%{name}-stacks.pom
+%{_mavendepmapfragdir}/%{name}-stacks
+
+%files javaee
+%{_mavenpomdir}/JPP-%{name}-javaee.all.pom
+%{_mavendepmapfragdir}/%{name}-javaee.all
+
+%files server
+%{_mavenpomdir}/JPP-%{name}-server.all.pom
+%{_mavendepmapfragdir}/%{name}-server.all
+
#files openshift
#{eclipse_dropins}/%{name}-openshift
#{_mavenpomdir}/JPP-%{name}-openshift.pom
More information about the scm-commits
mailing list