Hello,<br><br>sorry for double posting to devel and java-devel but the last seems not so crowded.<br><br>On 24 May 2012 12:04, Simone Caronni <span dir="ltr">&lt;<a href="mailto:negativo17@gmail.com" target="_blank">negativo17@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
following the mail in fedora-devel, I&#39;m posting here some progress in<br>
packaging the Guacamole stack for Fedora. I hope to get some advice<br>
from Fedora Java gurus...<br></blockquote><br>guacamole-common and guacamole-common-ext are now into rawhide and I&#39;ve been struggling a couple of days for the next parts.<br>I need some help with the guacamole-common-js [1][2]; the last step before packaging the web application itself [3].<br>

<br>The build itself is normally generated with the command &quot;maven 
package&quot;; so replacing it with &quot;mvn-rpmbuild package&quot; generates the 
following file.<br><br>How&#39;s the supposed guideline for packaging it? Where should I put the zip file and how should the spec file be structured?<br>
All the other java classes for Guacamole are into jars in /usr/share/java/guacamole/.<br><br>I
 can&#39;t find any useful information for it in the Java packaging pages 
[4]. I tried to look at at least 20 java packages in fedora and could 
not find one that was not packaging a jar file.<br>
<br>$ unzip -l ./target/guacamole-common-js-<div>0.6.0-guacamole-common-js.zip<br>Archive:  ./target/guacamole-common-js-0.6.0-guacamole-common-js.zip<br>  Length      Date    Time    Name<br>---------  ---------- -----   ----<br>

        0  05-05-2012 04:32   guacamole-common-js/<br>    17214  05-05-2012 04:32   guacamole-common-js/mouse.js<br>    31710  05-05-2012 04:32   guacamole-common-js/guacamole.js<br>    17640  05-05-2012 04:32   guacamole-common-js/oskeyboard.js<br>

    12621  05-05-2012 04:32   guacamole-common-js/keyboard.js<br>    24977  05-05-2012 04:32   guacamole-common-js/tunnel.js<br>    37152  05-05-2012 04:32   guacamole-common-js/layer.js<br>---------                     -------<br>

   141314                     7 files<br><br>[1] <a href="http://guac-dev.org/guacamole-common-js" target="_blank">http://guac-dev.org/guacamole-common-js</a><br>[2] <a href="http://slaanesh.fedorapeople.org/guacamole-common-js-0.6.0-1.fc17.src.rpm" target="_blank">http://slaanesh.fedorapeople.org/guacamole-common-js-0.6.0-1.fc17.src.rpm</a><br>

[3] <a href="http://guac-dev.org/guacamole" target="_blank">http://guac-dev.org/guacamole</a><br>[4] <a href="https://fedoraproject.org/wiki/Packaging:Java" target="_blank">https://fedoraproject.org/wiki/Packaging:Java</a><br>
<br><br>Thanks,<br>--Simone<br><br></div><br clear="all"><br>-- <br>You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson).<br><br>