summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-October/009084.html
blob: f606c7842b946c77f043c69b265a52545fc47a9a (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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Re :  E17 packaging
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Re%20%3A%20%20E17%20packaging&In-Reply-To=%3C4EA40925.1090100%40arcor.de%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="009083.html">
   <LINK REL="Next"  HREF="009085.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Re :  E17 packaging</H1>
    <B>Florian Hubold</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Re%20%3A%20%20E17%20packaging&In-Reply-To=%3C4EA40925.1090100%40arcor.de%3E"
       TITLE="[Mageia-dev] Re :  E17 packaging">doktor5000 at arcor.de
       </A><BR>
    <I>Sun Oct 23 14:31:33 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="009083.html">[Mageia-dev] Re :  E17 packaging
</A></li>
        <LI>Next message: <A HREF="009085.html">[Mageia-dev] Re :  Re :  E17 packaging
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#9084">[ date ]</a>
              <a href="thread.html#9084">[ thread ]</a>
              <a href="subject.html#9084">[ subject ]</a>
              <a href="author.html#9084">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Am 23.10.2011 14:18, schrieb Philippe Reynes:
&gt;<i> Thanks for this feedback,
</I>&gt;<i>
</I>&gt;<i> here the new eina.spec with all feedbacks :
</I>&gt;<i>
</I>&gt;<i>  Index: eina/SPECS/eina.spec
</I>&gt;<i> ===================================================================
</I>&gt;<i> --- eina/SPECS/eina.spec        (r&#233;vision 157379)
</I>&gt;<i> +++ eina/SPECS/eina.spec        (copie de travail)
</I>&gt;<i> @@ -1,18 +1,32 @@
</I>&gt;<i>  %define major 1
</I>&gt;<i>  %define libname %mklibname %{name} %major
</I>&gt;<i>  %define libnamedev %mklibname %{name} -d
</I>&gt;<i> +%define svn r64324
</I>&gt;<i> +%define rel 1
</I>&gt;<i> +%if %svn
</I>&gt;<i> +%define release %mkrel -c %svn %rel
</I>&gt;<i> +%else
</I>&gt;<i> +%define release %mkrel %rel
</I>&gt;<i> +%endif
</I>&gt;<i>  Summary: Data Type Library
</I>&gt;<i>  Name: eina
</I>&gt;<i> -Version: 1.0.1
</I>&gt;<i> -Release: %mkrel 2
</I>&gt;<i> +Version: 1.1.0
</I>&gt;<i> +Release: %{release}
</I>&gt;<i>  License: LGPLv2+
</I>&gt;<i>  Group: Graphical desktop/Enlightenment
</I>&gt;<i> -Source: <A HREF="http://download.enlightenment.org/releases/%{name">http://download.enlightenment.org/releases/%{name</A>}-%{version}.tar.bz2
</I>&gt;<i> -URL: <A HREF="http://www.enlightenment.org/">http://www.enlightenment.org/</A>
</I>&gt;<i> +# creating archive is quite simple:
</I>&gt;<i> +# svn co <A HREF="http://svn.enlightenment.org/svn/e/trunk/eina">http://svn.enlightenment.org/svn/e/trunk/eina</A> eina
</I>&gt;<i> +# tar cJf eina-r&lt;svnrevision&gt;.tar.xz eina
</I>&gt;<i> +%if %svn
</I>&gt;<i> +Source: %name-%svn.tar.xz
</I>&gt;<i> +%else
</I>&gt;<i> +Source: <A HREF="http://download.enlightenment.org/releases/%name-%version.tar.bz2">http://download.enlightenment.org/releases/%name-%version.tar.bz2</A>
</I>&gt;<i> +%endif
</I>&gt;<i> +URL: <A HREF="http://trac.enlightenment.org/e/wiki/Eina">http://trac.enlightenment.org/e/wiki/Eina</A>
</I>&gt;<i>  %description
</I>&gt;<i> -Eina is a data type library.
</I>&gt;<i> +Eina is a core data structure and common utility library.
</I>&gt;<i>  %package -n %libname
</I>&gt;<i>  Summary: Libraries for the %{name} package
</I>&gt;<i> @@ -32,10 +46,17 @@
</I>&gt;<i>  %{name} development headers and libraries.
</I>&gt;<i>  %prep
</I>&gt;<i> -%setup -qn %{name}-%{version}
</I>&gt;<i> +%if %svn
</I>&gt;<i> +%setup -qn %name
</I>&gt;<i> +%else
</I>&gt;<i> +%setup -qn %name-%version
</I>&gt;<i> +%endif
</I>&gt;<i>  %build
</I>&gt;<i> -%configure2_5x
</I>&gt;<i> +%if %svn
</I>&gt;<i> +NOCONFIGURE=1 ./autogen.sh
</I>&gt;<i> +%endif
</I>&gt;<i> +%configure2_5x --disable-static
</I>&gt;<i>  %make
</I>&gt;<i>  %install
</I>&gt;<i> @@ -44,18 +65,13 @@
</I>&gt;<i>  find %buildroot -name *.la | xargs rm
</I>&gt;<i> -%clean
</I>&gt;<i> -rm -fr %buildroot
</I>&gt;<i> -
</I>&gt;<i>  %files -n %libname
</I>&gt;<i> -%defattr(-,root,root)
</I>&gt;<i> +%doc AUTHORS README
</I>&gt;<i>  %{_libdir}/*.so.%{major}*
</I>&gt;<i>  %files -n %libnamedev
</I>&gt;<i> -%defattr(-,root,root)
</I>&gt;<i>  %{_libdir}/pkgconfig/*
</I>&gt;<i>  %{_libdir}/*.so
</I>&gt;<i> -%{_libdir}/*.a
</I>&gt;<i>  %{_includedir}/*
</I>&gt;<i>
</I>&gt;<i> regards,
</I>&gt;<i> trem
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> -------------------------------------------------------------------------------
</I>&gt;<i> *De :* Florian Hubold &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">doktor5000 at arcor.de</A>&gt;
</I>&gt;<i> *&#192; :* <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia-dev at mageia.org</A>
</I>&gt;<i> *Envoy&#233; le :* Dimanche 23 Octobre 2011 12h55
</I>&gt;<i> *Objet :* Re: [Mageia-dev] E17 packaging
</I>&gt;<i>
</I>&gt;<i> Am 22.10.2011 14:29, schrieb Balcaen John:
</I>&gt;<i> &gt; Le samedi 22 octobre 2011 14:10:53 Florian Hubold a &#233;crit :
</I>&gt;<i> &gt; [...]
</I>&gt;<i> &gt;&gt; Well, there are &quot;stable&quot; snapshots from time to time, but they are
</I>&gt;<i> &gt;&gt; not done regularly. I'd say if we can make local builds of a newer SVN
</I>&gt;<i> &gt;&gt; snapshot of the whole E17 before Mageia 2 alpha (i.e. in the next ~20 days)
</I>&gt;<i> &gt;&gt; then we should at least try it.
</I>&gt;<i> &gt;&gt;
</I>&gt;<i> &gt;&gt; BTW: I'd remove the Source URL when only using snapshots or
</I>&gt;<i> &gt;&gt; change the SPEC in a way that make using SVN snapshots possible
</I>&gt;<i> &gt;&gt; by only changing a macro.
</I>&gt;<i> &gt; That's was also suggested on irc :)
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; Regards,
</I>&gt;<i> &gt;
</I>&gt;<i> So here's my try, feel free to comment:
</I>&gt;<i> (Please don't care about the date format for now :) )
</I>&gt;<i>
</I>&gt;<i>   $ svn diff
</I>&gt;<i>   Index: eina.spec
</I>&gt;<i>   ===================================================================
</I>&gt;<i>   --- eina.spec  (Revision 157462)
</I>&gt;<i>   +++ eina.spec  (Arbeitskopie)
</I>&gt;<i>   @@ -1,3 +1,13 @@
</I>&gt;<i>   +%define svndate 23102011
</I>&gt;<i>   +
</I>&gt;<i>   +%define svn r64322
</I>&gt;<i>   +%if %svn
</I>&gt;<i>   +%define rel 0.%{svn}svn.1
</I>&gt;<i>   +%else
</I>&gt;<i>   +%define rel 1
</I>&gt;<i>   +%endif
</I>&gt;<i>   +
</I>&gt;<i>   +
</I>&gt;<i>     %define major 1
</I>&gt;<i>     %define libname %mklibname %{name} %major
</I>&gt;<i>     %define libnamedev %mklibname %{name} -d
</I>&gt;<i>   @@ -4,11 +14,18 @@
</I>&gt;<i>
</I>&gt;<i>     Summary: Data Type Library
</I>&gt;<i>     Name: eina
</I>&gt;<i>   -Version: 1.0.1
</I>&gt;<i>   -Release: %mkrel 2
</I>&gt;<i>   +Version: 1.0.999
</I>&gt;<i>   +Release: %mkrel %rel
</I>&gt;<i>     License: LGPLv2+
</I>&gt;<i>     Group: Graphical desktop/Enlightenment
</I>&gt;<i>   +# export latest svn checkout
</I>&gt;<i>   +# svn export <A HREF="http://svn.enlightenment.org/svn/e/trunk/%{name">http://svn.enlightenment.org/svn/e/trunk/%{name</A>}
</I>&gt;<i>   %{name}-svn-$(date +%d%m%Y)
</I>&gt;<i>   +%if %svn
</I>&gt;<i>   +Source: %{name}-svn-%svndate.tar.bz2
</I>&gt;<i>   +%else
</I>&gt;<i>     Source: <A HREF="http://download.enlightenment.org/releases/%{name">http://download.enlightenment.org/releases/%{name</A>}-%{version}.tar.bz2
</I>&gt;<i>   +%endif
</I>&gt;<i>   +
</I>&gt;<i>     URL: <A HREF="http://www.enlightenment.org/">http://www.enlightenment.org/</A>
</I>&gt;<i>
</I>&gt;<i>     %description
</I>&gt;<i>   @@ -32,9 +49,17 @@
</I>&gt;<i>     %{name} development headers and libraries.
</I>&gt;<i>
</I>&gt;<i>     %prep
</I>&gt;<i>   +%if %svn
</I>&gt;<i>   +%setup -qn %{name}-svn-%svndate
</I>&gt;<i>   +%else
</I>&gt;<i>     %setup -qn %{name}-%{version}
</I>&gt;<i>   +%endif
</I>&gt;<i>
</I>&gt;<i>   +
</I>&gt;<i>     %build
</I>&gt;<i>   +%if %svn
</I>&gt;<i>   +./autogen.sh
</I>&gt;<i>   +%endif
</I>&gt;<i>     %configure2_5x
</I>&gt;<i>     %make
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>Don't do an svn checkout for such purposes, an svn export is much lighter
and already excludes all the .svn internal VCS files. Also the version is not 
correct,
eina is not at 1.1.0 as e17 is also not at version 0.17.
</PRE>

















<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="009083.html">[Mageia-dev] Re :  E17 packaging
</A></li>
	<LI>Next message: <A HREF="009085.html">[Mageia-dev] Re :  Re :  E17 packaging
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#9084">[ date ]</a>
              <a href="thread.html#9084">[ thread ]</a>
              <a href="subject.html#9084">[ subject ]</a>
              <a href="author.html#9084">[ 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>