summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110111/002068.html
blob: 79b1122bedd8deabea13f14848f1324ef7fc4add (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Java-Policy first draft published
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Java-Policy%20first%20draft%20published&In-Reply-To=%3C4D2C768F.60506%40iki.fi%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002065.html">
   <LINK REL="Next"  HREF="002069.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Java-Policy first draft published</H1>
    <B>Anssi Hannula</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Java-Policy%20first%20draft%20published&In-Reply-To=%3C4D2C768F.60506%40iki.fi%3E"
       TITLE="[Mageia-dev] Java-Policy first draft published">anssi.hannula at iki.fi
       </A><BR>
    <I>Tue Jan 11 16:26:07 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002065.html">[Mageia-dev] Java-Policy first draft published
</A></li>
        <LI>Next message: <A HREF="002069.html">[Mageia-dev] Proposal for Mageia: implement bitorrent protocol to	allow updates download
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2068">[ date ]</a>
              <a href="thread.html#2068">[ thread ]</a>
              <a href="subject.html#2068">[ subject ]</a>
              <a href="author.html#2068">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 10.01.2011 22:02, Farfouille wrote:
&gt;<i> Hi
</I>&gt;<i> 
</I>&gt;<i> I have published a first draft of Java application package policy. <A HREF="http://mageia.org/wiki/doku.php?id=java_applications_policy">http://mageia.org/wiki/doku.php?id=java_applications_policy</A>
</I>&gt;<i> 
</I>&gt;<i> Corrections and comments are welcome.
</I>
BuildRequires: java-devel [&gt;= specific_version]
BuildRequires:  jpackage-utils

These are satisfied by *any* java compiler, however we want packages to
be always built by a specific compiler.

On Mandriva we solved this by replacing &quot;BuildRequires: java-devel&quot; with
&quot;BuildRequires: java-rpmbuild&quot; which is used to pull the &quot;main&quot; java
compiler (openjdk on all archs where it is supported, gcj/ecj on others).

BuildRequires: ant
...
%build
...
ant


Replace &quot;ant&quot; with &quot;%ant&quot;. This ensures ant is called with the specific
java compiler as mentioned above.


Also, the policy should mention %jar, %java, %javac, %javadoc,
%java_home that should be used when those tools/paths are needed.

&gt;<i> Questions/Points :
</I>&gt;<i> 
</I>&gt;<i> Section Specfile Template for ant and maven, I am not sure that the definition of Release is correct.
</I>&gt;<i> 
</I>&gt;<i> Shouldn't it be useful to have a general policy about package name and versioning (like Fedora : <A HREF="http://fedoraproject.org/wiki/Packaging/NamingGuidelines">http://fedoraproject.org/wiki/Packaging/NamingGuidelines</A>) ?
</I>
Yes.

MDV wiki has something on those, but not much indeed:
<A HREF="http://wiki.mandriva.com/en/Development/Howto/RPM_Advanced#Naming_a_package">http://wiki.mandriva.com/en/Development/Howto/RPM_Advanced#Naming_a_package</A>
<A HREF="http://wiki.mandriva.com/en/Development/Howto/RPM_Advanced#Releasing_pre-versions">http://wiki.mandriva.com/en/Development/Howto/RPM_Advanced#Releasing_pre-versions</A>


&gt;<i> As I have never used maven, a deep reread is required
</I>&gt;<i> 
</I>&gt;<i> Licence discrepency : dokuwiki template says licence is 'CC Attribution-Share Alike 3.0 Unported' but web application policy (<A HREF="http://mageia.org/wiki/doku.php?id=web_applications_policy">http://mageia.org/wiki/doku.php?id=web_applications_policy</A>) claims 'Creative Commons Attribution-ShareAlike 2.5 License' (end of the page)
</I>&gt;<i> 
</I>&gt;<i> Cheers
</I>&gt;<i> 
</I>&gt;<i> --
</I>&gt;<i> Farfouille
</I>&gt;<i> 
</I>

-- 
Anssi Hannula
</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002065.html">[Mageia-dev] Java-Policy first draft published
</A></li>
	<LI>Next message: <A HREF="002069.html">[Mageia-dev] Proposal for Mageia: implement bitorrent protocol to	allow updates download
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2068">[ date ]</a>
              <a href="thread.html#2068">[ thread ]</a>
              <a href="subject.html#2068">[ subject ]</a>
              <a href="author.html#2068">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>