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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] 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%20E17%20packaging&In-Reply-To=%3C4EA3F286.3020504%40arcor.de%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="009053.html">
<LINK REL="Next" HREF="009083.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] E17 packaging</H1>
<B>Florian Hubold</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20E17%20packaging&In-Reply-To=%3C4EA3F286.3020504%40arcor.de%3E"
TITLE="[Mageia-dev] E17 packaging">doktor5000 at arcor.de
</A><BR>
<I>Sun Oct 23 12:55:02 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="009053.html">[Mageia-dev] E17 packaging
</A></li>
<LI>Next message: <A HREF="009083.html">[Mageia-dev] Re : E17 packaging
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#9082">[ date ]</a>
<a href="thread.html#9082">[ thread ]</a>
<a href="subject.html#9082">[ subject ]</a>
<a href="author.html#9082">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Am 22.10.2011 14:29, schrieb Balcaen John:
><i> Le samedi 22 octobre 2011 14:10:53 Florian Hubold a écrit :
</I>><i> [...]
</I>>><i> Well, there are "stable" snapshots from time to time, but they are
</I>>><i> not done regularly. I'd say if we can make local builds of a newer SVN
</I>>><i> snapshot of the whole E17 before Mageia 2 alpha (i.e. in the next ~20 days)
</I>>><i> then we should at least try it.
</I>>><i>
</I>>><i> BTW: I'd remove the Source URL when only using snapshots or
</I>>><i> change the SPEC in a way that make using SVN snapshots possible
</I>>><i> by only changing a macro.
</I>><i> That's was also suggested on irc :)
</I>><i>
</I>><i> Regards,
</I>><i>
</I>So here's my try, feel free to comment:
(Please don't care about the date format for now :) )
$ svn diff
Index: eina.spec
===================================================================
--- eina.spec (Revision 157462)
+++ eina.spec (Arbeitskopie)
@@ -1,3 +1,13 @@
+%define svndate 23102011
+
+%define svn r64322
+%if %svn
+%define rel 0.%{svn}svn.1
+%else
+%define rel 1
+%endif
+
+
%define major 1
%define libname %mklibname %{name} %major
%define libnamedev %mklibname %{name} -d
@@ -4,11 +14,18 @@
Summary: Data Type Library
Name: eina
-Version: 1.0.1
-Release: %mkrel 2
+Version: 1.0.999
+Release: %mkrel %rel
License: LGPLv2+
Group: Graphical desktop/Enlightenment
+# export latest svn checkout
+# svn export <A HREF="http://svn.enlightenment.org/svn/e/trunk/%{name">http://svn.enlightenment.org/svn/e/trunk/%{name</A>}
%{name}-svn-$(date +%d%m%Y)
+%if %svn
+Source: %{name}-svn-%svndate.tar.bz2
+%else
Source: <A HREF="http://download.enlightenment.org/releases/%{name">http://download.enlightenment.org/releases/%{name</A>}-%{version}.tar.bz2
+%endif
+
URL: <A HREF="http://www.enlightenment.org/">http://www.enlightenment.org/</A>
%description
@@ -32,9 +49,17 @@
%{name} development headers and libraries.
%prep
+%if %svn
+%setup -qn %{name}-svn-%svndate
+%else
%setup -qn %{name}-%{version}
+%endif
+
%build
+%if %svn
+./autogen.sh
+%endif
%configure2_5x
%make
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="009053.html">[Mageia-dev] E17 packaging
</A></li>
<LI>Next message: <A HREF="009083.html">[Mageia-dev] Re : E17 packaging
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#9082">[ date ]</a>
<a href="thread.html#9082">[ thread ]</a>
<a href="subject.html#9082">[ subject ]</a>
<a href="author.html#9082">[ 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>
|