[RPM (6.0)] [DIST generic] grizzly-1.9.34-2.jpp6
Ralph Apel <[email protected]>
| Newsgroups | gmane.linux.jpackage.announce |
|---|---|
| Message-ID | <[email protected]> |
Name : grizzly Relocations: (not relocatable) Version : 1.9.34 Vendor: JPackage Project Release : 2.jpp6 Build Date: Mon 06 Aug 2012 12:22:19 AM CEST Install Date: (not installed) Build Host: linux.fritz.box Group : Networking/Daemons Source RPM: (none) Size : 3020938 License: CDDL Signature : (none) Packager : Ralph Apel <[email protected]> URL : https://grizzly.dev.java.net/ Summary : Grizzly - Java NIO Server Framework Description : Writing scalable server applications in the Java programming language has always been difficult. Before the advent of the Java New I/O API (NIO), thread management issues made it impossible for a server to scale to thousands of users. The Grizzly framework has been designed to help developers to take advantage of the Java NIO API. Originally developed under the GlassFish umbrella, the framework is now available as a standalone project. Grizzly goals is to help developers to build scalable and robust servers using NIO. --------------- Ralph Apel <r.apel at r-apel.de> 0:1.9.34-2 - Promote to free --------------- grizzly.src: W: source-or-patch-not-bzipped grizzly-pom.patch grizzly.src: W: source-or-patch-not-bzipped grizzly-modules-pom.patch grizzly.src: W: source-or-patch-not-bzipped grizzly-extras-pom.patch grizzly.src: W: source-or-patch-not-bzipped grizzly-cometd-client-BayeuxClient.patch grizzly.src: W: source-or-patch-not-bzipped grizzly-cometd-client-BayeuxLoadGenerator.patch grizzly.src: W: source-or-patch-not-bzipped grizzly-1.9.34.tgz grizzly.src: W: non-standard-group Networking/Daemons grizzly.src: W: no-signature grizzly.src: W: name-repeated-in-summary Grizzly grizzly.src: W: invalid-license CDDL 1 packages and 0 specfiles checked; 0 errors, 10 warnings. --------------- Index: grizzly-jpp-depmap.xml =================================================================== RCS file: /home/projects/jpackage/cvs/rpms/free/grizzly/grizzly-jpp-depmap.xml,v retrieving revision 1.1 diff -u -r1.1 grizzly-jpp-depmap.xml --- grizzly-jpp-depmap.xml 5 Jun 2008 10:33:48 -0000 1.1 +++ grizzly-jpp-depmap.xml 5 Aug 2012 22:37:23 -0000 @@ -1,4 +1,31 @@ <dependencies> + + <dependency> + <maven> + <groupId>org.mortbay.jetty</groupId> + <artifactId>servlet-api</artifactId> + <version>2.5-20081211</version> + </maven> + <jpp> + <groupId>JPP</groupId> + <artifactId>servlet_2_5_api</artifactId> + <version>2.5</version> + </jpp> + </dependency> + + <dependency> + <maven> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.7</version> + </maven> + <jpp> + <groupId>JPP</groupId> + <artifactId>junit4</artifactId> + <version>4.8.2</version> + </jpp> + </dependency> + <dependency> <maven> <groupId>xmlpull</groupId> @@ -51,4 +78,193 @@ </jpp> </dependency> + <dependency> + <maven> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-server</artifactId> + <version>1.1.5</version> + </maven> + <jpp> + <groupId>JPP/maven2</groupId> + <artifactId>empty-dep</artifactId> + <version>2.0.8</version> + </jpp> + </dependency> + <dependency> + <maven> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-client</artifactId> + <version>1.1.5</version> + </maven> + <jpp> + <groupId>JPP/maven2</groupId> + <artifactId>empty-dep</artifactId> + <version>2.0.8</version> + </jpp> + </dependency> + + <dependency> + <maven> + <groupId>org.testng</groupId> + <artifactId>testng</artifactId> + <version>5.10</version> + </maven> + <jpp> + <groupId>JPP</groupId> + <artifactId>testng</artifactId> + <version>6.1.1</version> + </jpp> + </dependency> + + <dependency> + <maven> + <groupId>javax.annotation</groupId> + <artifactId>jsr250-api</artifactId> + <version>1.0</version> + </maven> + <jpp> + <groupId>JPP</groupId> + <artifactId>annotation_1_0_api</artifactId> + <version>1.0</version> + </jpp> + </dependency> + + <dependency> + <maven> + <groupId>org.mortbay.jetty</groupId> + <artifactId>cometd-bayeux</artifactId> + <version>6.1.11</version> + </maven> + <jpp> + <groupId>JPP/jetty6/cometd</groupId> + <artifactId>cometd-server</artifactId> + <version>6.1.22</version> + </jpp> + </dependency> + + <dependency> + <maven> + <groupId>org.eclipse.jdt.core.compiler</groupId> + <artifactId>ecj</artifactId> + <version>3.3.1</version> + </maven> + <jpp> + <groupId>JPP</groupId> + <artifactId>ecj3</artifactId> + <version>3.6</version> + </jpp> + </dependency> + <dependency> + <maven> + <groupId>org.apache.tomcat</groupId> + <artifactId>jasper-jdt</artifactId> + <version>6.0.20</version> + </maven> + <jpp> + <groupId>JPP</groupId> + <artifactId>ecj3</artifactId> + <version>3.6</version> + </jpp> + </dependency> + + <dependency> + <maven> + <groupId>org.apache.tomcat</groupId> + <artifactId>el-api</artifactId> + <version>6.0.20</version> + </maven> + <jpp> + <groupId>JPP</groupId> + <artifactId>el_1_0_api</artifactId> + <version>1.0</version> + </jpp> + </dependency> + <dependency> + <maven> + <groupId>org.apache.tomcat</groupId> + <artifactId>jsp-api</artifactId> + <version>6.0.20</version> + </maven> + <jpp> + <groupId>JPP</groupId> + <artifactId>jsp_2_1_api</artifactId> + <version>2.1</version> + </jpp> + </dependency> + <dependency> + <maven> + <groupId>org.apache.tomcat</groupId> + <artifactId>juli</artifactId> + <version>6.0.20</version> + </maven> + <jpp> + <groupId>JPP/tomcat6</groupId> + <artifactId>tomcat-juli</artifactId> + <version>6.0.32</version> + </jpp> + </dependency> + <dependency> + <maven> + <groupId>org.apache.tomcat</groupId> + <artifactId>jasper-el</artifactId> + <version>6.0.20</version> + </maven> + <jpp> + <groupId>JPP/tomcat6</groupId> + <artifactId>jasper-el</artifactId> + <version>6.0.32</version> + </jpp> + </dependency> + <dependency> + <maven> + <groupId>org.apache.tomcat</groupId> + <artifactId>jasper</artifactId> + <version>6.0.20</version> + </maven> + <jpp> + <groupId>JPP/tomcat6</groupId> + <artifactId>jasper</artifactId> + <version>6.0.32</version> + </jpp> + </dependency> + +<dependency> + <maven> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>2.2</version> + </maven> + <jpp> + <groupId>JPP</groupId> + <artifactId>mojo-findbugs-maven-plugin</artifactId> + <version>2.2</version> + </jpp> +</dependency> + +<dependency> + <maven> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.7</version> + </maven> + <jpp> + <groupId>JPP</groupId> + <artifactId>mojo-build-helper-maven-plugin</artifactId> + <version>1.7</version> + </jpp> +</dependency> + +<dependency> + <maven> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.2.1</version> + </maven> + <jpp> + <groupId>JPP</groupId> + <artifactId>mojo-exec-maven-plugin</artifactId> + <version>1.2.1</version> + </jpp> +</dependency> + </dependencies> Index: grizzly-pom.patch =================================================================== RCS file: /home/projects/jpackage/cvs/rpms/free/grizzly/grizzly-pom.patch,v retrieving revision 1.1 diff -u -r1.1 grizzly-pom.patch --- grizzly-pom.patch 5 Jun 2008 10:33:48 -0000 1.1 +++ grizzly-pom.patch 5 Aug 2012 22:37:23 -0000 @@ -1,6 +1,6 @@ ---- pom.xml.sav0 2008-05-15 19:19:40.000000000 +0200 -+++ pom.xml 2008-05-28 16:58:44.000000000 +0200 -@@ -56,11 +56,13 @@ +--- pom.xml.sav0 2011-04-20 06:55:26.000000000 +0200 ++++ pom.xml 2011-06-01 20:02:49.000000000 +0200 +@@ -138,11 +138,13 @@ <outputDirectory>target/classes</outputDirectory> <testOutputDirectory>target/test-classes</testOutputDirectory> <extensions> @@ -8,34 +8,25 @@ <extension> <groupId>org.jvnet.wagon-svn</groupId> <artifactId>wagon-svn</artifactId> - <version>RELEASE</version> + <version>1.9</version> </extension> +--> <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ssh-external</artifactId> -@@ -116,6 +118,7 @@ - </configuration> - </plugin> - +@@ -377,6 +379,7 @@ + <artifactId>cometd-bayeux</artifactId> + <version>6.1.11</version> + </dependency> +<!-- - <plugin> - <inherited>true</inherited> - <groupId>org.apache.maven.plugins</groupId> -@@ -129,6 +132,7 @@ - </execution> - </executions> - </plugin> + <dependency> + <groupId>com.sun.enterprise</groupId> + <artifactId>hk2</artifactId> +@@ -392,6 +395,7 @@ + <artifactId>osgi-adapter</artifactId> + <version>${hk2.version}</version> + </dependency> +--> - </plugins> - </build> - <modules> -@@ -240,7 +244,7 @@ - </distributionManagement> - <properties> - <grizzly-version>1.7.3.3</grizzly-version> -- <grizzly-released-version>1.7.3</grizzly-released-version> -+ <grizzly-released-version>1.7.3.3</grizzly-released-version> - <grizzly-next-version>1.8.0</grizzly-next-version> - <junit-version>3.8.1</junit-version> - <grizzly-jruby-version>0.1.2</grizzly-jruby-version> + <dependency> + <groupId>stax</groupId> + <artifactId>stax</artifactId> Index: grizzly.spec =================================================================== RCS file: /home/projects/jpackage/cvs/rpms/free/grizzly/grizzly.spec,v retrieving revision 1.1 diff -u -r1.1 grizzly.spec --- grizzly.spec 5 Jun 2008 10:33:48 -0000 1.1 +++ grizzly.spec 5 Aug 2012 22:37:23 -0000 @@ -1,4 +1,4 @@ -# Copyright (c) 2000-2008, JPackage Project +# Copyright (c) 2000-2012, JPackage Project # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -28,45 +28,39 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}} - %define section free %define grizzly_jruby_version 0.1.2 +%define _binary_payload w9.gzdio +%define _source_payload w9.gzdio +%define _binary_filedigest_algorithm 1 +%define _source_filedigest_algorithm 1 Name: grizzly Summary: Grizzly - Java NIO Server Framework Url: https://grizzly.dev.java.net/ -Version: 1.7.3.3 -Release: 1jpp +Version: 1.9.34 +Release: 2%{?dist} Epoch: 0 License: CDDL Group: Networking/Daemons -Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:%{_vendor}} -Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} -Source0: grizzly-1.7.3.3.tar.gz +Source0: grizzly-1.9.34.tgz # Steps to reproduce -# svn export https://www.dev.java.net/svn/grizzly/tags/1_7_3_3/ grizzly-1.7.3.3 -# user "guest", password "" +# svn export https://svn.java.net/svn/grizzly~svn/tags/1_9_34 grizzly-1.9.34 +# tar czf ../SOURCES/grizzly-1.9.34.tgz grizzly-1.9.34/ Source1: %{name}-settings.xml Source2: %{name}-jpp-depmap.xml Patch0: %{name}-pom.patch -Patch1: %{name}-contribs-jruby-pom.patch -Patch2: %{name}-http-pom.patch -Patch3: %{name}-http-servlet-pom.patch -Patch4: %{name}-comet-pom.patch -Patch5: %{name}-continuation-pom.patch -Patch6: %{name}-cometd-pom.patch -Patch7: %{name}-grizzlet-pom.patch -Patch8: %{name}-messages-bus-pom.patch -Patch9: %{name}-contribs-pom.patch -Patch10: %{name}-continuation-Continuation.patch +Patch1: %{name}-modules-pom.patch +Patch2: %{name}-extras-pom.patch +Patch3: %{name}-cometd-client-BayeuxClient.patch +Patch4: %{name}-cometd-client-BayeuxLoadGenerator.patch -BuildRequires: jpackage-utils >= 0:1.7.4 -BuildRequires: java-devel = 0:1.5.0 +BuildRequires: jpackage-utils >= 0:1.7.5 +BuildRequires: java-devel >= 0:1.6.0 BuildRequires: junit -BuildRequires: maven2 +BuildRequires: maven2 >= 0:2.0.8 BuildRequires: maven2-plugin-antrun BuildRequires: maven2-plugin-assembly BuildRequires: maven2-plugin-compiler @@ -79,28 +73,45 @@ BuildRequires: maven2-plugin-release BuildRequires: maven2-plugin-resources BuildRequires: maven2-plugin-site -BuildRequires: maven2-plugin-surefire BuildRequires: maven2-plugin-war - -BuildRequires: felix-maven2 -BuildRequires: jakarta-slide-webdavclient - +BuildRequires: maven-surefire-maven-plugin +BuildRequires: mojo-build-helper-maven-plugin +BuildRequires: mojo-exec-maven-plugin +BuildRequires: mojo-findbugs-maven-plugin +BuildRequires: mojo-parent +BuildRequires: jvnet-parent +BuildRequires: apache-felix-maven-bundle-plugin +BuildRequires: istack-commons-maven-plugin +BuildRequires: oss-parent +BuildRequires: testng + +BuildRequires: annotation_1_0_api +BuildRequires: apache-commons-modeler +BuildRequires: ecj3 +BuildRequires: jaf_1_1_api +BuildRequires: jetty6-cometd +BuildRequires: jetty6-ext BuildRequires: jruby >= 0:1.1.1 +BuildRequires: ops4j-pax-exam +BuildRequires: org.osgi.core +BuildRequires: org.osgi.compendium BuildRequires: servlet_2_5_api +BuildRequires: sun-jaxb-2.1-impl +BuildRequires: stax_1_0_api +BuildRequires: tomcat6-lib +BuildRequires: tomcat6-el-1.0-api +BuildRequires: tomcat6-jsp-2.1-api + +Requires: java >= 0:1.6.0 +Requires: apache-commons-modeler +Requires: org.osgi.core +Requires: org.osgi.compendium +Requires: servlet_2_5_api +Requires(post): jpackage-utils >= 0:1.7.5 +Requires(postun): jpackage-utils >= 0:1.7.5 -Requires(post): jpackage-utils >= 0:1.7.4 -Requires(postun): jpackage-utils >= 0:1.7.4 - -%if %{gcj_support} -BuildRequires: gnu-crypto -BuildRequires: java-gcj-compat-devel -Requires(post): java-gcj-compat -Requires(postun): java-gcj-compat -%endif -%if ! %{gcj_support} BuildArch: noarch -%endif BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot %description @@ -114,12 +125,9 @@ standalone project. Grizzly goals is to help developers to build scalable and robust servers using NIO. - %package javadoc Summary: Javadoc for %{name} Group: Development/Documentation -Requires(post): /bin/rm,/bin/ln -Requires(postun): /bin/rm %description javadoc %{summary}. @@ -137,16 +145,8 @@ %patch2 -b .sav2 %patch3 -b .sav3 %patch4 -b .sav4 -%patch5 -b .sav5 -%patch6 -b .sav6 -%patch7 -b .sav7 -%patch8 -b .sav8 -%patch9 -b .sav9 -%patch10 -b .sav10 -rm modules/continuation/src/main/java/com/sun/grizzly/GrizzlyContinuation10.java %build -export JAVA_HOME=%{_jvmdir}/java-1.5.0 sed -i -e "s|<url>__JPP_URL_PLACEHOLDER__</url>|<url>file://`pwd`/.m2/repository</url>|g" settings.xml sed -i -e "s|<url>__JAVADIR_PLACEHOLDER__</url>|<url>file://`pwd`/external_repo</url>|g" settings.xml @@ -160,164 +160,132 @@ ln -s %{_javadir} external_repo/JPP export SETTINGS=$(pwd)/settings.xml -# -Dmaven.test.failure.ignore=true \ -pushd modules/grizzly -mvn-jpp \ - -e \ - -s $SETTINGS \ - -Dmaven2.jpp.depmap.file=%{SOURCE2} \ - -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ - install javadoc:javadoc -popd -pushd modules/http-utils -mvn-jpp \ - -e \ - -s $SETTINGS \ - -Dmaven2.jpp.depmap.file=%{SOURCE2} \ - -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ - install javadoc:javadoc -popd -pushd modules/rcm -mvn-jpp \ - -e \ - -s $SETTINGS \ - -Dmaven2.jpp.depmap.file=%{SOURCE2} \ - -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ - install javadoc:javadoc -popd -pushd modules/portunif -mvn-jpp \ - -e \ - -s $SETTINGS \ - -Dmaven2.jpp.depmap.file=%{SOURCE2} \ - -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ - install javadoc:javadoc -popd -pushd modules/http -mvn-jpp \ - -e \ - -s $SETTINGS \ - -Dmaven2.jpp.depmap.file=%{SOURCE2} \ - -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ - install javadoc:javadoc -popd -pushd modules/http-servlet -mvn-jpp \ - -e \ - -s $SETTINGS \ - -Dmaven2.jpp.depmap.file=%{SOURCE2} \ - -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ - install javadoc:javadoc -popd -pushd modules/comet -mvn-jpp \ - -e \ - -s $SETTINGS \ - -Dmaven2.jpp.depmap.file=%{SOURCE2} \ - -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ - install javadoc:javadoc -popd -pushd modules/compat -mvn-jpp \ - -e \ - -s $SETTINGS \ - -Dmaven2.jpp.depmap.file=%{SOURCE2} \ - -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ - install javadoc:javadoc -popd -pushd modules/cometd -mvn-jpp \ - -e \ - -s $SETTINGS \ - -Dmaven2.jpp.depmap.file=%{SOURCE2} \ - -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ - install javadoc:javadoc -popd -pushd modules/grizzlet -mvn-jpp \ - -e \ - -s $SETTINGS \ - -Dmaven2.jpp.depmap.file=%{SOURCE2} \ - -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ - install javadoc:javadoc -popd -pushd modules/messages-bus -mvn-jpp \ - -e \ - -s $SETTINGS \ - -Dmaven2.jpp.depmap.file=%{SOURCE2} \ - -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ - install javadoc:javadoc -popd -pushd contribs/jruby + +export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m" mvn-jpp \ -e \ -s $SETTINGS \ -Dmaven2.jpp.depmap.file=%{SOURCE2} \ -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ - install javadoc:javadoc -popd + -Dmaven.test.skip=true \ + install +# -Dmaven.test.failure.ignore=true \ -export MAVEN_OPTS="-Xmx512m" mvn-jpp \ -e \ -s $SETTINGS \ -Dmaven2.jpp.depmap.file=%{SOURCE2} \ -Dmaven.repo.local=$MAVEN_REPO_LOCAL \ - install javadoc:javadoc + javadoc:aggregate %install rm -rf $RPM_BUILD_ROOT # jars install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name} -install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/%{name}/bundles install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms - %add_to_maven_depmap com.sun.grizzly grizzly-project %{version} JPP/%{name} project install -m 644 pom.xml \ $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-project.pom +%add_to_maven_depmap com.sun.grizzly grizzly-contribs %{version} JPP/%{name} contribs +install -m 644 contribs/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-contribs.pom + +%add_to_maven_depmap com.sun.grizzly grizzly-contribs-bundles %{version} JPP/%{name} contribs-bundles +install -m 644 contribs/bundles/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-contribs-bundles.pom + +%add_to_maven_depmap com.sun.grizzly.osgi grizzly-httpservice-bundle %{version} JPP/%{name} httpservice-bundle +install -m 644 contribs/bundles/grizzly-httpservice-bundle/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-httpservice-bundle.pom +install -m 644 contribs/bundles/grizzly-httpservice-bundle/target/grizzly-httpservice-bundle-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}/httpservice-bundle-%{version}.jar + +%add_to_maven_depmap com.sun.grizzly.osgi grizzly-httpservice %{version} JPP/%{name} httpservice +install -m 644 contribs/grizzly-httpservice/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-httpservice.pom +install -m 644 contribs/grizzly-httpservice/target/grizzly-httpservice-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}/httpservice-%{version}.jar + +%add_to_maven_depmap com.sun.grizzly grizzly-extra %{version} JPP/%{name} extras +install -m 644 extras/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-extras.pom + +%add_to_maven_depmap grizzly-cachetest grizzly-cachetest %{version} JPP/%{name} cachetest +install -m 644 extras/cachetest/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-cachetest.pom +install -m 644 extras/cachetest/target/grizzly-cachetest-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}/cachetest-%{version}.jar + +%add_to_maven_depmap com.sun.grizzly grizzly-cometd-client %{version} JPP/%{name} cometd-client +install -m 644 extras/cometd-client/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-cometd-client.pom +install -m 644 extras/cometd-client/target/grizzly-cometd-client-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}/cometd-client-%{version}.jar + +%add_to_maven_depmap com.sun.grizzly grizzly-ajp %{version} JPP/%{name} ajp +install -m 644 extras/http-ajp/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-ajp.pom +install -m 644 extras/http-ajp/target/grizzly-ajp-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}/ajp-%{version}.jar + +%add_to_maven_depmap com.sun.grizzly grizzly-lzma %{version} JPP/%{name} lzma +install -m 644 extras/lzma/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-lzma.pom +install -m 644 extras/lzma/target/grizzly-lzma-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}/lzma-%{version}.jar + +%add_to_maven_depmap com.sun.grizzly grizzly-modules %{version} JPP/%{name} modules +install -m 644 modules/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-modules.pom + %add_to_maven_depmap com.sun.grizzly grizzly-bundles %{version} JPP/%{name} bundles install -m 644 modules/bundles/pom.xml \ $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-bundles.pom -%add_to_maven_depmap com.sun.grizzly grizzly-cometd-webserver %{version} JPP/%{name}/bundles cometd-webserver +%add_to_maven_depmap com.sun.grizzly grizzly-cometd-webserver %{version} JPP/%{name} cometd-webserver install -m 644 modules/bundles/cometd/pom.xml \ - $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}.bundles-cometd-webserver.pom + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-cometd-webserver.pom install -m 644 modules/bundles/cometd/target/grizzly-cometd-webserver-%{version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}/bundles/cometd-webserver-%{version}.jar + $RPM_BUILD_ROOT%{_javadir}/%{name}/cometd-webserver-%{version}.jar -%add_to_maven_depmap com.sun.grizzly grizzly-comet-webserver %{version} JPP/%{name}/bundles comet-webserver +%add_to_maven_depmap com.sun.grizzly grizzly-comet-webserver %{version} JPP/%{name} comet-webserver install -m 644 modules/bundles/comet/pom.xml \ - $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}.bundles-comet-webserver.pom + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-comet-webserver.pom install -m 644 modules/bundles/comet/target/grizzly-comet-webserver-%{version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}/bundles/comet-webserver-%{version}.jar + $RPM_BUILD_ROOT%{_javadir}/%{name}/comet-webserver-%{version}.jar -%add_to_maven_depmap com.sun.grizzly grizzly-grizzlet-webserver %{version} JPP/%{name}/bundles grizzlet-webserver -install -m 644 modules/bundles/grizzlet/pom.xml \ - $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}.bundles-grizzlet-webserver.pom -install -m 644 modules/bundles/grizzlet/target/grizzly-grizzlet-webserver-%{version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}/bundles/grizzlet-webserver-%{version}.jar +%add_to_maven_depmap com.sun.grizzly grizzly-nio-framework %{version} JPP/%{name} nio-framework +install -m 644 modules/bundles/framework/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-nio-framework.pom +install -m 644 modules/bundles/framework/target/grizzly-nio-framework-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}/nio-framework-%{version}.jar + +%add_to_maven_depmap com.sun.grizzly grizzly-http-servlet-deployer %{version} JPP/%{name} http-servlet-deployer +install -m 644 modules/bundles/http-servlet-deployer/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-http-servlet-deployer.pom +install -m 644 modules/bundles/http-servlet-deployer/target/grizzly-http-servlet-deployer-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}/http-servlet-deployer-%{version}.jar -%add_to_maven_depmap com.sun.grizzly grizzly-servlet-webserver %{version} JPP/%{name}/bundles servlet-webserver +%add_to_maven_depmap com.sun.grizzly grizzly-servlet-webserver %{version} JPP/%{name} servlet-webserver install -m 644 modules/bundles/http-servlet/pom.xml \ - $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}.bundles-servlet-webserver.pom + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-servlet-webserver.pom install -m 644 modules/bundles/http-servlet/target/grizzly-servlet-webserver-%{version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}/bundles/servlet-webserver-%{version}.jar + $RPM_BUILD_ROOT%{_javadir}/%{name}/servlet-webserver-%{version}.jar -%add_to_maven_depmap com.sun.grizzly grizzly-http-webserver %{version} JPP/%{name}/bundles http-webserver +%add_to_maven_depmap com.sun.grizzly grizzly-http-webserver %{version} JPP/%{name} http-webserver install -m 644 modules/bundles/http/pom.xml \ - $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}.bundles-http-webserver.pom + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-http-webserver.pom install -m 644 modules/bundles/http/target/grizzly-http-webserver-%{version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}/bundles/http-webserver-%{version}.jar + $RPM_BUILD_ROOT%{_javadir}/%{name}/http-webserver-%{version}.jar -%add_to_maven_depmap com.sun.grizzly grizzly-messagesbus-webserver %{version} JPP/%{name}/bundles messagesbus-webserver -install -m 644 modules/bundles/messagesbus/pom.xml \ - $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}.bundles-messagesbus-webserver.pom -install -m 644 modules/bundles/messagesbus/target/grizzly-messagesbus-webserver-%{version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}/bundles/messagesbus-webserver-%{version}.jar +%add_to_maven_depmap com.sun.grizzly grizzly-webserver %{version} JPP/%{name} webserver +install -m 644 modules/bundles/webserver/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-webserver.pom +install -m 644 modules/bundles/webserver/target/grizzly-webserver-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}/webserver-%{version}.jar %add_to_maven_depmap com.sun.grizzly grizzly-cometd %{version} JPP/%{name} cometd install -m 644 modules/cometd/pom.xml \ @@ -337,25 +305,23 @@ install -m 644 modules/compat/target/grizzly-compat-%{version}.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}/compat-%{version}.jar -%add_to_maven_depmap com.sun.grizzly grizzly-continuation %{version} JPP/%{name} continuation -install -m 644 modules/continuation/pom.xml \ - $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-continuation.pom -install -m 644 modules/continuation/target/grizzly-continuation-%{version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}/continuation-%{version}.jar - -%add_to_maven_depmap com.sun.grizzly grizzly-grizzlet %{version} JPP/%{name} grizzlet -install -m 644 modules/grizzlet/pom.xml \ - $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-grizzlet.pom -install -m 644 modules/grizzlet/target/grizzly-grizzlet-%{version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}/grizzlet-%{version}.jar - %add_to_maven_depmap com.sun.grizzly grizzly-framework %{version} JPP/%{name} framework install -m 644 modules/grizzly/pom.xml \ $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-framework.pom install -m 644 modules/grizzly/target/grizzly-framework-%{version}.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}/framework-%{version}.jar -install -m 644 modules/grizzly/target/grizzly-framework-%{version}-tests.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}/framework-tests-%{version}.jar + +%add_to_maven_depmap com.sun.grizzly grizzly-servlet-deployer %{version} JPP/%{name} servlet-deployer +install -m 644 modules/http-servlet-deployer/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-servlet-deployer.pom +install -m 644 modules/http-servlet-deployer/target/grizzly-servlet-deployer-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}/servlet-deployer-%{version}.jar + +%add_to_maven_depmap com.sun.grizzly grizzly-http-servlet %{version} JPP/%{name} http-servlet +install -m 644 modules/http-servlet/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-http-servlet.pom +install -m 644 modules/http-servlet/target/grizzly-http-servlet-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}/http-servlet-%{version}.jar %add_to_maven_depmap com.sun.grizzly grizzly-http-servlet %{version} JPP/%{name} http-servlet install -m 644 modules/http-servlet/pom.xml \ @@ -369,18 +335,6 @@ install -m 644 modules/http/target/grizzly-http-%{version}.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}/http-%{version}.jar -%add_to_maven_depmap com.sun.grizzly grizzly-http-utils %{version} JPP/%{name} http-utils -install -m 644 modules/http-utils/pom.xml \ - $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-http-utils.pom -install -m 644 modules/http-utils/target/grizzly-http-utils-%{version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}/http-utils-%{version}.jar - -%add_to_maven_depmap com.sun.grizzly grizzly-messagesbus %{version} JPP/%{name} messagesbus -install -m 644 modules/messages-bus/pom.xml \ - $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-messagesbus.pom -install -m 644 modules/messages-bus/target/grizzly-messagesbus-%{version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}/messagesbus-%{version}.jar - %add_to_maven_depmap com.sun.grizzly grizzly-portunif %{version} JPP/%{name} portunif install -m 644 modules/portunif/pom.xml \ $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-portunif.pom @@ -393,77 +347,96 @@ install -m 644 modules/rcm/target/grizzly-rcm-%{version}.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}/rcm-%{version}.jar -%add_to_maven_depmap com.sun.grizzly grizzly-jruby-webserver %{version} JPP/%{name}/bundles jruby-webserver -install -m 644 contribs/bundles/jruby/pom.xml \ - $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}.bundles-jruby-webserver.pom -install -m 644 contribs/bundles/jruby/target/grizzly-jruby-webserver-%{version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}/bundles/jruby-webserver-%{version}.jar - -%add_to_maven_depmap com.sun.grizzly grizzly-jruby %{grizzly_jruby_version} JPP/%{name} jruby -install -m 644 contribs/jruby/pom.xml \ - $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-jruby.pom -install -m 644 contribs/jruby/target/grizzly-jruby-%{grizzly_jruby_version}.jar \ - $RPM_BUILD_ROOT%{_javadir}/%{name}/jruby-%{grizzly_jruby_version}.jar +%add_to_maven_depmap com.sun.grizzly grizzly-utils %{version} JPP/%{name} utils +install -m 644 modules/utils/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-utils.pom +install -m 644 modules/utils/target/grizzly-utils-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}/utils-%{version}.jar + +%add_to_maven_depmap com.sun.grizzly grizzly-websockets %{version} JPP/%{name} websockets +install -m 644 modules/websockets/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-websockets.pom +install -m 644 modules/websockets/target/grizzly-websockets-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}/websockets-%{version}.jar + +%add_to_maven_depmap com.sun.grizzly.samples grizzly-samples %{version} JPP/%{name} samples +install -m 644 samples/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-samples.pom + +%add_to_maven_depmap com.sun.grizzly.samples grizzly-framework-samples %{version} JPP/%{name} framework-samples +install -m 644 samples/framework/filters-samples/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-framework-samples.pom +install -m 644 samples/framework/filters-samples/target/grizzly-framework-samples-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}/framework-samples-%{version}.jar + +%add_to_maven_depmap com.sun.grizzly.samples grizzly-embed-samples %{version} JPP/%{name} embed-samples +install -m 644 samples/http/http-embed/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-embed-samples.pom +install -m 644 samples/http/http-embed/target/grizzly-embed-samples-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}/embed-samples-%{version}.jar + +%add_to_maven_depmap com.sun.grizzly.samples grizzly-multiple-adapter %{version} JPP/%{name} multiple-adapter +install -m 644 samples/http/multiple-adapter/pom.xml \ + $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}-multiple-adapter.pom +install -m 644 samples/http/multiple-adapter/target/grizzly-multiple-adapter-%{version}.jar \ + $RPM_BUILD_ROOT%{_javadir}/%{name}/multiple-adapter-%{version}.jar (cd $RPM_BUILD_ROOT%{_javadir}/%{name} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) -(cd $RPM_BUILD_ROOT%{_javadir}/%{name}/bundles && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) -(cd $RPM_BUILD_ROOT%{_javadir}/%{name} && for jar in *-%{grizzly_jruby_version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{grizzly_jruby_version}||g"`; done) + +install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name} +install -m 644 samples/comet/comet-chat-iframe/target/grizzly-comet-chat-iframe.war \ + $RPM_BUILD_ROOT%{_datadir}/%{name}/comet-chat-iframe-%{version}.war +install -m 644 samples/comet/comet-chat/target/grizzly-comet-chat.war \ + $RPM_BUILD_ROOT%{_datadir}/%{name}/comet-chat-%{version}.war +install -m 644 samples/comet/comet-counter/target/grizzly-comet-counter.war \ + $RPM_BUILD_ROOT%{_datadir}/%{name}/comet-counter-%{version}.war +install -m 644 samples/comet/cometd-chat/target/grizzly-cometd-chat.war \ + $RPM_BUILD_ROOT%{_datadir}/%{name}/cometd-chat-%{version}.war +install -m 644 samples/comet/cometd-echo/target/grizzly-cometd-echo.war \ + $RPM_BUILD_ROOT%{_datadir}/%{name}/cometd-echo-%{version}.war +install -m 644 samples/comet/cometd-javaapiupdate-chat/target/grizzly-cometd-bayeux.war \ + $RPM_BUILD_ROOT%{_datadir}/%{name}/cometd-bayeux-%{version}.war +install -m 644 samples/comet/comet-hidden/target/grizzly-comet-hidden.war \ + $RPM_BUILD_ROOT%{_datadir}/%{name}/comet-hidden-%{version}.war +install -m 644 samples/comet/comet-jmaki/target/grizzly-jmaki.war \ + $RPM_BUILD_ROOT%{_datadir}/%{name}/comet-jmaki-%{version}.war +install -m 644 samples/comet/twitter/target/grizzly-twitter.war \ + $RPM_BUILD_ROOT%{_datadir}/%{name}/twitter-%{version}.war +install -m 644 samples/websockets/chat/target/grizzly-websockets-chat.war \ + $RPM_BUILD_ROOT%{_datadir}/%{name}/websockets-chat-%{version}.war # javadoc install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/ ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink -%if %{gcj_support} -export CLASSPATH=$(build-classpath gnu-crypto) -%{_bindir}/aot-compile-rpm -%endif - %clean rm -rf $RPM_BUILD_ROOT -%post javadoc -rm -f %{_javadocdir}/%{name} -ln -s %{name}-%{version} %{_javadocdir}/%{name} - -%postun javadoc -if [ "$1" = "0" ]; then - rm -f %{_javadocdir}/%{name} -fi - %post %update_maven_depmap -%if %{gcj_support} -if [ -x %{_bindir}/rebuild-gcj-db ] -then - %{_bindir}/rebuild-gcj-db -fi -%endif %postun %update_maven_depmap -%if %{gcj_support} -if [ -x %{_bindir}/rebuild-gcj-db ] -then - %{_bindir}/rebuild-gcj-db -fi -%endif %files %defattr(-,root,root) %{_javadir}/%{name} +%{_datadir}/%{name} %{_datadir}/maven2/poms %{_mavendepmapfragdir} -%if %{gcj_support} -%attr(-,root,root) %dir %{_libdir}/gcj/%{name} -%attr(-,root,root) %{_libdir}/gcj/%{name}/*-%{version}.jar.* -%endif %files javadoc %defattr(-,root,root) %doc %{_javadocdir}/%{name}-%{version} -%ghost %doc %{_javadocdir}/%{name} +%doc %{_javadocdir}/%{name} %changelog +* Sun Aug 05 2012 Ralph Apel <r.apel at r-apel.de> 0:1.9.34-2 +- Promote to free + +* Thu Jul 21 2011 Ralph Apel <r.apel at r-apel.de> 0:1.9.34-1 +- 1.9.34 + * Thu Jun 05 2008 Ralph Apel <r.apel at r-apel.de> 0:1.7.3.3-1jpp - First release