summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20111023/a4450b4a/attachment.html
blob: d4b10465e753e9eb6f0a5d1ba908f04aa9d83e52 (plain)
1
2
3
4
5
6
7
8
<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span>Thanks for this feedback,</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span><br></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span>here the new eina.spec with all feedbacks :</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span><br></span></div><div>&nbsp;Index: eina/SPECS/eina.spec<br></div><div>===================================================================</div><div>--- eina/SPECS/eina.spec &nbsp; &nbsp; &nbsp; &nbsp;(révision 157379)</div><div>+++ eina/SPECS/eina.spec &nbsp; &nbsp; &nbsp; &nbsp;(copie de travail)</div><div>@@ -1,18 +1,32
 @@</div><div>&nbsp;%define major 1</div><div>&nbsp;%define libname %mklibname %{name} %major</div><div>&nbsp;%define libnamedev %mklibname %{name} -d</div><div>+%define svn r64324</div><div>+%define rel 1</div><div>+%if %svn</div><div>+%define release %mkrel -c %svn %rel</div><div>+%else</div><div>+%define release %mkrel %rel</div><div>+%endif</div><div>&nbsp;</div><div>&nbsp;Summary: Data Type Library</div><div>&nbsp;Name: eina</div><div>-Version: 1.0.1</div><div>-Release: %mkrel 2</div><div>+Version: 1.1.0</div><div>+Release: %{release}</div><div>&nbsp;License: LGPLv2+</div><div>&nbsp;Group: Graphical desktop/Enlightenment</div><div>-Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2</div><div>-URL: http://www.enlightenment.org/</div><div>+# creating archive is quite simple:</div><div>+# svn co http://svn.enlightenment.org/svn/e/trunk/eina eina</div><div>+# tar cJf eina-r&lt;svnrevision&gt;.tar.xz eina</div><div>+%if
 %svn</div><div>+Source: %name-%svn.tar.xz</div><div>+%else</div><div>+Source: http://download.enlightenment.org/releases/%name-%version.tar.bz2</div><div>+%endif</div><div>+URL: http://trac.enlightenment.org/e/wiki/Eina</div><div><div>&nbsp;</div><div>&nbsp;%description</div><div>-Eina is a data type library.</div><div>+Eina is a core data structure and common utility library.</div><div>&nbsp;</div><div>&nbsp;%package -n %libname</div><div>&nbsp;Summary: Libraries for the %{name} package</div><div>@@ -32,10 +46,17 @@</div><div>&nbsp;%{name} development headers and libraries.</div><div>&nbsp;</div><div>&nbsp;%prep</div><div>-%setup -qn %{name}-%{version}</div><div>+%if %svn</div><div>+%setup -qn %name</div><div>+%else</div><div>+%setup -qn %name-%version</div><div>+%endif</div><div>&nbsp;</div><div>&nbsp;%build</div><div>-%configure2_5x</div><div>+%if %svn</div><div>+NOCONFIGURE=1 ./autogen.sh</div><div>+%endif</div><div>+%configure2_5x
 --disable-static</div><div>&nbsp;%make</div><div>&nbsp;</div><div>&nbsp;%install</div><div>@@ -44,18 +65,13 @@</div><div>&nbsp;</div><div>&nbsp;find %buildroot -name *.la | xargs rm</div><div><div>&nbsp;</div><div>-%clean</div><div>-rm -fr %buildroot</div><div>-</div><div>&nbsp;%files -n %libname</div><div>-%defattr(-,root,root)</div><div>+%doc AUTHORS README</div><div>&nbsp;%{_libdir}/*.so.%{major}*</div><div>&nbsp;</div><div>&nbsp;%files -n %libnamedev</div><div>-%defattr(-,root,root)</div><div>&nbsp;%{_libdir}/pkgconfig/*</div><div>&nbsp;%{_libdir}/*.so</div><div>-%{_libdir}/*.a</div><div>&nbsp;%{_includedir}/*</div><div>&nbsp;</div><div>&nbsp;</div><div><br></div><div>regards,</div><div>trem</div><div><br></div></div></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div style="font-size: 12pt; font-family:
 'times new roman', 'new york', times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">De&nbsp;:</span></b> Florian Hubold &lt;doktor5000@arcor.de&gt;<br><b><span style="font-weight: bold;">À&nbsp;:</span></b> mageia-dev@mageia.org<br><b><span style="font-weight: bold;">Envoyé le :</span></b> Dimanche 23 Octobre 2011 12h55<br><b><span style="font-weight: bold;">Objet&nbsp;:</span></b> Re: [Mageia-dev] E17 packaging<br></font><br>Am 22.10.2011 14:29, schrieb Balcaen John:<br>&gt; Le samedi 22 octobre 2011 14:10:53 Florian Hubold a écrit :<br>&gt; [...]<br>&gt;&gt; Well, there are "stable" snapshots from time to time, but they are<br>&gt;&gt; not done regularly. I'd say if we can make local builds of a newer SVN<br>&gt;&gt; snapshot of the whole E17 before Mageia 2 alpha (i.e. in the next ~20 days)<br>&gt;&gt; then we should at least try it.<br>&gt;&gt; <br>&gt;&gt; BTW: I'd remove the Source URL when only using
 snapshots or<br>&gt;&gt; change the SPEC in a way that make using SVN snapshots possible<br>&gt;&gt; by only changing a macro.<br>&gt; That's was also suggested on irc :)<br>&gt; <br>&gt; Regards,<br>&gt; <br>So here's my try, feel free to comment:<br>(Please don't care about the date format for now :) )<br><br>&nbsp;  $ svn diff<br>&nbsp;  Index: eina.spec<br>&nbsp;  ===================================================================<br>&nbsp;  --- eina.spec&nbsp;  (Revision 157462)<br>&nbsp;  +++ eina.spec&nbsp;  (Arbeitskopie)<br>&nbsp;  @@ -1,3 +1,13 @@<br>&nbsp;  +%define svndate 23102011<br>&nbsp;  +<br>&nbsp;  +%define svn r64322<br>&nbsp;  +%if %svn<br>&nbsp;  +%define rel 0.%{svn}svn.1<br>&nbsp;  +%else<br>&nbsp;  +%define rel 1<br>&nbsp;  +%endif<br>&nbsp;  +<br>&nbsp;  +<br>&nbsp; &nbsp;  %define major 1<br>&nbsp; &nbsp;  %define libname %mklibname %{name} %major<br>&nbsp; &nbsp;  %define libnamedev %mklibname %{name} -d<br>&nbsp;  @@ -4,11
 +14,18 @@<br><br>&nbsp; &nbsp;  Summary: Data Type Library<br>&nbsp; &nbsp;  Name: eina<br>&nbsp;  -Version: 1.0.1<br>&nbsp;  -Release: %mkrel 2<br>&nbsp;  +Version: 1.0.999<br>&nbsp;  +Release: %mkrel %rel<br>&nbsp; &nbsp;  License: LGPLv2+<br>&nbsp; &nbsp;  Group: Graphical desktop/Enlightenment<br>&nbsp;  +# export latest svn checkout<br>&nbsp;  +# svn export <a href="http://svn.enlightenment.org/svn/e/trunk/%" target="_blank">http://svn.enlightenment.org/svn/e/trunk/%</a>{name}<br>&nbsp;  %{name}-svn-$(date +%d%m%Y)<br>&nbsp;  +%if %svn<br>&nbsp;  +Source: %{name}-svn-%svndate.tar.bz2<br>&nbsp;  +%else<br>&nbsp; &nbsp;  Source: <a href="http://download.enlightenment.org/releases/%" target="_blank">http://download.enlightenment.org/releases/%</a>{name}-%{version}.tar.bz2<br>&nbsp;  +%endif<br>&nbsp;  +<br>&nbsp; &nbsp;  URL: <a href="http://www.enlightenment.org/" target="_blank">http://www.enlightenment.org/</a><br><br>&nbsp; &nbsp; 
 %description<br>&nbsp;  @@ -32,9 +49,17 @@<br>&nbsp; &nbsp;  %{name} development headers and libraries.<br><br>&nbsp; &nbsp;  %prep<br>&nbsp;  +%if %svn<br>&nbsp;  +%setup -qn %{name}-svn-%svndate<br>&nbsp;  +%else<br>&nbsp; &nbsp;  %setup -qn %{name}-%{version}<br>&nbsp;  +%endif<br><br>&nbsp;  +<br>&nbsp; &nbsp;  %build<br>&nbsp;  +%if %svn<br>&nbsp;  +./autogen.sh<br>&nbsp;  +%endif<br>&nbsp; &nbsp;  %configure2_5x<br>&nbsp; &nbsp;  %make<br><br><br><br></div></div></div></body></html>