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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Re : Re : Re : 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%20Re%20%3A%20%20Re%20%3A%20%20Re%20%3A%20%20E17%20packaging&In-Reply-To=%3C1319386576.32379.YahooMailNeo%40web29503.mail.ird.yahoo.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="009087.html">
<LINK REL="Next" HREF="009091.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Re : Re : Re : Re : E17 packaging</H1>
<B>Philippe Reynes</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Re%20%3A%20%20Re%20%3A%20%20Re%20%3A%20%20Re%20%3A%20%20E17%20packaging&In-Reply-To=%3C1319386576.32379.YahooMailNeo%40web29503.mail.ird.yahoo.com%3E"
TITLE="[Mageia-dev] Re : Re : Re : Re : E17 packaging">tremyfr at yahoo.fr
</A><BR>
<I>Sun Oct 23 18:16:16 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="009087.html">[Mageia-dev] Re : Re : Re : E17 packaging
</A></li>
<LI>Next message: <A HREF="009091.html">[Mageia-dev] Re : Re : Re : Re : E17 packaging
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#9088">[ date ]</a>
<a href="thread.html#9088">[ thread ]</a>
<a href="subject.html#9088">[ subject ]</a>
<a href="author.html#9088">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hi,
I've updated (yes, yet another time ...) the eina.spec :
Index: eina/SPECS/eina.spec
===================================================================
--- eina/SPECS/eina.spec        (révision 157379)
+++ eina/SPECS/eina.spec        (copie de travail)
@@ -1,18 +1,32 @@
 %define major 1
 %define libname %mklibname %{name} %major
 %define libnamedev %mklibname %{name} -d
+%define svn r64327
+%define rel 1
+%if %svn
+%define release %mkrel -c %svn %rel
+%else
+%define release %mkrel %rel
+%endif
 
 Summary: Data Type Library
 Name: eina
-Version: 1.0.1
-Release: %mkrel 2
+Version: 1.0.999
+Release: %{release}
 License: LGPLv2+
 Group: Graphical desktop/Enlightenment
-Source: <A HREF="http://download.enlightenment.org/releases/%{name">http://download.enlightenment.org/releases/%{name</A>}-%{version}.tar.bz2
-URL: <A HREF="http://www.enlightenment.org/">http://www.enlightenment.org/</A>
+# creating archive is quite simple:
+# svn export <A HREF="http://svn.enlightenment.org/svn/e/trunk/%name">http://svn.enlightenment.org/svn/e/trunk/%name</A> %name
+# tar cJf %name-%svn.tar.xz %name
+%if %svn
+Source: %name-%svn.tar.xz
+%else
+Source: <A HREF="http://download.enlightenment.org/releases/%name-%version.tar.bz2">http://download.enlightenment.org/releases/%name-%version.tar.bz2</A>
+%endif
+URL: <A HREF="http://trac.enlightenment.org/e/wiki/Eina">http://trac.enlightenment.org/e/wiki/Eina</A>
 %description
-Eina is a data type library.
+Eina is a core data structure and common utility library.
 
 %package -n %libname
 Summary: Libraries for the %{name} package
@@ -32,10 +46,17 @@
 %{name} development headers and libraries.
 
 %prep
-%setup -qn %{name}-%{version}
+%if %svn
+%setup -qn %name
+%else
+%setup -qn %name-%version
+%endif
 
 %build
-%configure2_5x
+%if %svn
+NOCONFIGURE=1 ./autogen.sh
+%endif
+%configure2_5x --disable-static
 %make
 
 %install
@@ -44,18 +65,13 @@
 
 find %buildroot -name *.la | xargs rm
 
-%clean
-rm -fr %buildroot
-
 %files -n %libname
-%defattr(-,root,root)
+%doc AUTHORS README
 %{_libdir}/*.so.%{major}*
 
 %files -n %libnamedev
-%defattr(-,root,root)
 %{_libdir}/pkgconfig/*
 %{_libdir}/*.so
-%{_libdir}/*.a
 %{_includedir}/*
 
 
This version is better ?
I can commit ?
regards,
trem
________________________________
De : Philippe Reynes <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">tremyfr at yahoo.fr</A>>
À : Mageia development mailing-list <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia-dev at mageia.org</A>>
Envoyé le : Dimanche 23 Octobre 2011 16h22
Objet : [Mageia-dev] Re : Re : Re : E17 packaging
Hi,
You're right, the package version isn't very good.
I've looked in the file configure.ac, and there is a 
version: 1.0.999
When in svn mode, I propose to use the version
indicated in configure.ac. Do you agree ?
About svn export, I'll try if the compilation works
fine with it. If yes, you're right again, it's far better
to use it.
regards,
trem
________________________________
De : Florian Hubold <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">doktor5000 at arcor.de</A>>
À : Mageia development mailing-list <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia-dev at mageia.org</A>>
Envoyé le : Dimanche 23 Octobre 2011 16h02
Objet : Re: [Mageia-dev] Re : Re : E17 packaging
Am 23.10.2011 14:47, schrieb Philippe Reynes:
><i>
</I>><i> In fact, autogen.sh use svnversion to generate some files.
</I>><i> So, if I only do an svn export, the compilation fails.
</I>><i>
</I>><i> I've used eina 1.1.0, because, it should be the next release.
</I>><i> But I could use another "version", if people prefers.
</I>No, tarballs generated by svn export allow for normal compilation.
Just tested for most of the EFL with a current tarball.
And as we are using the real version for e
package itself, i'd prefer
to use the same versioning scheme throughout all of EFL.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-dev/attachments/20111023/11f464b9/attachment.html>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="009087.html">[Mageia-dev] Re : Re : Re : E17 packaging
</A></li>
<LI>Next message: <A HREF="009091.html">[Mageia-dev] Re : Re : Re : Re : E17 packaging
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#9088">[ date ]</a>
<a href="thread.html#9088">[ thread ]</a>
<a href="subject.html#9088">[ subject ]</a>
<a href="author.html#9088">[ 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>
|