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> Index: eina/SPECS/eina.spec<br></div><div>===================================================================</div><div>--- eina/SPECS/eina.spec (révision 157379)</div><div>+++ eina/SPECS/eina.spec (copie de travail)</div><div>@@ -1,18 +1,32
@@</div><div> %define major 1</div><div> %define libname %mklibname %{name} %major</div><div> %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> </div><div> Summary: Data Type Library</div><div> 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> License: LGPLv2+</div><div> 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<svnrevision>.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> </div><div> %description</div><div>-Eina is a data type library.</div><div>+Eina is a core data structure and common utility library.</div><div> </div><div> %package -n %libname</div><div> Summary: Libraries for the %{name} package</div><div>@@ -32,10 +46,17 @@</div><div> %{name} development headers and libraries.</div><div> </div><div> %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> </div><div> %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> %make</div><div> </div><div> %install</div><div>@@ -44,18 +65,13 @@</div><div> </div><div> find %buildroot -name *.la | xargs rm</div><div><div> </div><div>-%clean</div><div>-rm -fr %buildroot</div><div>-</div><div> %files -n %libname</div><div>-%defattr(-,root,root)</div><div>+%doc AUTHORS README</div><div> %{_libdir}/*.so.%{major}*</div><div> </div><div> %files -n %libnamedev</div><div>-%defattr(-,root,root)</div><div> %{_libdir}/pkgconfig/*</div><div> %{_libdir}/*.so</div><div>-%{_libdir}/*.a</div><div> %{_includedir}/*</div><div> </div><div> </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 :</span></b> Florian Hubold <doktor5000@arcor.de><br><b><span style="font-weight: bold;">À :</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 :</span></b> Re: [Mageia-dev] E17 packaging<br></font><br>Am 22.10.2011 14:29, schrieb Balcaen John:<br>> Le samedi 22 octobre 2011 14:10:53 Florian Hubold a écrit :<br>> [...]<br>>> Well, there are "stable" snapshots from time to time, but they are<br>>> not done regularly. I'd say if we can make local builds of a newer SVN<br>>> snapshot of the whole E17 before Mageia 2 alpha (i.e. in the next ~20 days)<br>>> then we should at least try it.<br>>> <br>>> BTW: I'd remove the Source URL when only using
snapshots or<br>>> change the SPEC in a way that make using SVN snapshots possible<br>>> by only changing a macro.<br>> That's was also suggested on irc :)<br>> <br>> Regards,<br>> <br>So here's my try, feel free to comment:<br>(Please don't care about the date format for now :) )<br><br> $ svn diff<br> Index: eina.spec<br> ===================================================================<br> --- eina.spec (Revision 157462)<br> +++ eina.spec (Arbeitskopie)<br> @@ -1,3 +1,13 @@<br> +%define svndate 23102011<br> +<br> +%define svn r64322<br> +%if %svn<br> +%define rel 0.%{svn}svn.1<br> +%else<br> +%define rel 1<br> +%endif<br> +<br> +<br> %define major 1<br> %define libname %mklibname %{name} %major<br> %define libnamedev %mklibname %{name} -d<br> @@ -4,11
+14,18 @@<br><br> Summary: Data Type Library<br> Name: eina<br> -Version: 1.0.1<br> -Release: %mkrel 2<br> +Version: 1.0.999<br> +Release: %mkrel %rel<br> License: LGPLv2+<br> Group: Graphical desktop/Enlightenment<br> +# export latest svn checkout<br> +# svn export <a href="http://svn.enlightenment.org/svn/e/trunk/%" target="_blank">http://svn.enlightenment.org/svn/e/trunk/%</a>{name}<br> %{name}-svn-$(date +%d%m%Y)<br> +%if %svn<br> +Source: %{name}-svn-%svndate.tar.bz2<br> +%else<br> Source: <a href="http://download.enlightenment.org/releases/%" target="_blank">http://download.enlightenment.org/releases/%</a>{name}-%{version}.tar.bz2<br> +%endif<br> +<br> URL: <a href="http://www.enlightenment.org/" target="_blank">http://www.enlightenment.org/</a><br><br>
%description<br> @@ -32,9 +49,17 @@<br> %{name} development headers and libraries.<br><br> %prep<br> +%if %svn<br> +%setup -qn %{name}-svn-%svndate<br> +%else<br> %setup -qn %{name}-%{version}<br> +%endif<br><br> +<br> %build<br> +%if %svn<br> +./autogen.sh<br> +%endif<br> %configure2_5x<br> %make<br><br><br><br></div></div></div></body></html>
|