sorry for double posting to devel and java-devel but the last seems not so crowded.
On 24 May 2012 12:04, Simone Caronni <negativo17@xxxxxxxxx> wrote:
following the mail in fedora-devel, I'm posting here some progress in
packaging the Guacamole stack for Fedora. I hope to get some advice
from Fedora Java gurus...
guacamole-common and guacamole-common-ext are now into rawhide and I've been struggling a couple of days for the next parts.
I need some help with the guacamole-common-js [1][2]; the last step before packaging the web application itself [3].
The build itself is normally generated with the command "maven package"; so replacing it with "mvn-rpmbuild package" generates the following file.
How's the supposed guideline for packaging it? Where should I put the zip file and how should the spec file be structured?
All the other java classes for Guacamole are into jars in /usr/share/java/guacamole/.
I can'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.
$ unzip -l ./target/guacamole-common-js-
0.6.0-guacamole-common-js.zip
Archive: ./target/guacamole-common-js-0.6.0-guacamole-common-js.zip
Length Date Time Name
--------- ---------- ----- ----
0 05-05-2012 04:32 guacamole-common-js/
17214 05-05-2012 04:32 guacamole-common-js/mouse.js
31710 05-05-2012 04:32 guacamole-common-js/guacamole.js
17640 05-05-2012 04:32 guacamole-common-js/oskeyboard.js
12621 05-05-2012 04:32 guacamole-common-js/keyboard.js
24977 05-05-2012 04:32 guacamole-common-js/tunnel.js
37152 05-05-2012 04:32 guacamole-common-js/layer.js
--------- -------
141314 7 files
[1] http://guac-dev.org/guacamole-common-js
[2] http://slaanesh.fedorapeople.org/guacamole-common-js-0.6.0-1.fc17.src.rpm
[3] http://guac-dev.org/guacamole
[4] https://fedoraproject.org/wiki/Packaging:Java
Thanks,
--Simone
Archive: ./target/guacamole-common-js-0.6.0-guacamole-common-js.zip
Length Date Time Name
--------- ---------- ----- ----
0 05-05-2012 04:32 guacamole-common-js/
17214 05-05-2012 04:32 guacamole-common-js/mouse.js
31710 05-05-2012 04:32 guacamole-common-js/guacamole.js
17640 05-05-2012 04:32 guacamole-common-js/oskeyboard.js
12621 05-05-2012 04:32 guacamole-common-js/keyboard.js
24977 05-05-2012 04:32 guacamole-common-js/tunnel.js
37152 05-05-2012 04:32 guacamole-common-js/layer.js
--------- -------
141314 7 files
[1] http://guac-dev.org/guacamole-common-js
[2] http://slaanesh.fedorapeople.org/guacamole-common-js-0.6.0-1.fc17.src.rpm
[3] http://guac-dev.org/guacamole
[4] https://fedoraproject.org/wiki/Packaging:Java
Thanks,
--Simone
--
You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson).
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel