%define name ecore %define version 0.9.9.050 %define release %mkrel 6 %define major 0 %define libname %mklibname %{name} %major %define libnamedev %mklibname %{name} -d Summary: Enlightenment event/X abstraction layer Name: %{name} Version: %{version} Epoch: 3 Release: %{release} License: BSD Group: Graphical desktop/Enlightenment URL: http://www.enlightenment.org/ Source: http://download.enlightenment.org/snapshots/LATEST/%{name}-%{version}.tar.bz2 Patch0: ecore-0.9.9.050-simplify-sdl-libs.patch BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: evas-devel >= 0.9.9.050 BuildRequires: eet-devel >= 1.1.0 BuildRequires: openssl-devel curl-devel BuildRequires: X11-devel %description Ecore is the event/X abstraction layer that makes doing selections, Xdnd, general X stuff, event loops, timeouts and idle handlers fast, optimized, and convenient. This package is part of the Enlightenment DR17 desktop shell. %package -n %libname Summary: Libraries for the %{name} package Group: System/Libraries %description -n %libname Libraries for %{name} %package -n %libnamedev Summary: Headers and development libraries from %{name} Group: Development/Other Requires: %libname = %{epoch}:%{version}-%{release} Provides: %{name}-devel = %{epoch}:%{version}-%{release} Provides: %{name}-devel = %{version}-%{release} %description -n %libnamedev %{name} development headers and libraries. %prep %setup -q #%patch0 -p0 %build NOCONFIGURE=1 ./autogen.sh export CFLAGS="%{optflags} -lX11 -lXext" %configure2_5x --enable-ecore-fb \ --enable-ecore-desktop \ --enable-ecore-sdl \ --enable-openssl \ --enable-curl \ --enable-ecore-evas-x11-gl \ --enable-ecore-fb \ --enable-ecore-evas-x11-16 # fix libtool issue on release < 2009.1 %if %mdkversion < 200910 perl -pi -e "s/^ECHO.*/ECHO='echo'\necho='echo'\n/" libtool %endif %make %install rm -rf $RPM_BUILD_ROOT %makeinstall %if %mdkversion < 200900 %post -n %libname -p /sbin/ldconfig %endif %if %mdkversion < 200900 %postun -n %libname -p /sbin/ldconfig %endif %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS COPYING README %{_bindir}/%{name}_config %files -n %libname %defattr(-,root,root) %{_libdir}/*.so.%{major}* %files -n %libnamedev %defattr(-,root,root) %{_libdir}/pkgconfig/* %{_libdir}/*.so %{_libdir}/*.a %{_libdir}/*.la %{_includedir}/*.h %changelog * Tue Mar 03 2009 Antoine Ginies <aginies@mandriva.com> 3:0.9.9.050-6mdv2009.0 + Revision: 347886 - fix build on 2009.0 release * Tue Mar 03 2009 Antoine Ginies <aginies@mandriva.com> 3:0.9.9.050-5mdv2009.1 + Revision: 347663 - fix provides * Mon Mar 02 2009 Antoine Ginies <aginies@mandriva.com> 3:0.9.9.050-4mdv2009.1 + Revision: 347589 - remove epoch * Sat Feb 28 2009 Antoine Ginies <aginies@mandriva.com> 3:0.9.9.050-3mdv2009.1 + Revision: 345908 - adjust the patch - SVN SNAPSHOT 20090227, release 0.9.9.050, update eet buildrequires * Sun Nov 09 2008 Funda Wang <fundawang@mandriva.org> 3:0.9.9.050-2mdv2009.1 + Revision: 301344 - rebuild for new xcb * Sat Oct 11 2008 Funda Wang <fundawang@mandriva.org> 3:0.9.9.050-1mdv2009.1 + Revision: 292070 - raise versioned BR - New snapshot * Thu Aug 07 2008 Thierry Vignaud <tvignaud@mandriva.com> 3:0.9.9.043-2mdv2009.0 + Revision: 266609 - rebuild early 2009.0 package (before pixel changes) + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Sun Jun 01 2008 Funda Wang <fundawang@mandriva.org> 3:0.9.9.043-1mdv2009.0 + Revision: 213978 - drop -L/usr/lib from SDL_LIBS, otherwise it will confuse compiler - New version 0.9.9.043 * Fri Feb 15 2008 Antoine Ginies <aginies@mandriva.com> 3:0.9.9.042-4mdv2008.1 + Revision: 168909 - fix typo in configure option - remove old release - cvs snapshot 20080215, add some buildrequires, update configure build options * Sat Feb 02 2008 Austin Acton <austin@mandriva.org> 3:0.9.9.042-3mdv2008.1 + Revision: 161536 - bump epoch; major went backward * Sat Feb 02 2008 Austin Acton <austin@mandriva.org> 1:0.9.9.042-2mdv2008.1 + Revision: 161519 - bump release - no major in devel package * Sat Feb 02 2008 Austin Acton <austin@mandriva.org> 1:0.9.9.042-1mdv2008.1 + Revision: 161316 - new version - tidy spec - fix URL - drop ecore-config + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Mon Nov 12 2007 Austin Acton <austin@mandriva.org> 1:0.9.9.041-4mdv2008.1 + Revision: 108057 - tidy and adjust configure options * Wed Oct 31 2007 Antoine Ginies <aginies@mandriva.com> 1:0.9.9.041-3mdv2008.1 + Revision: 104087 - update buildrequires - CVS SNAPSHOT 20071031, release 0.9.9.041 * Thu Aug 30 2007 Antoine Ginies <aginies@mandriva.com> 1:0.9.9.041-2mdv2008.0 + Revision: 76308 - fix missing file ecore-config - fix path in tarball - CVS SNAPSHOT 20070830, release 0.9.9.041 * Thu Jun 07 2007 Anssi Hannula <anssi@mandriva.org> 1:0.9.9.038-8mdv2008.0 + Revision: 36145 - rebuild with correct optflags * Tue Jun 05 2007 Antoine Ginies <aginies@mandriva.com> 1:0.9.9.038-7mdv2008.0 + Revision: 35857 - CVS SNAPSHOT 20070605, release 0.9.9.038 * Mon Jun 04 2007 Antoine Ginies <aginies@mandriva.com> 1:0.9.9.038-6mdv2008.0 + Revision: 35227 - increase mkrel * Mon Jun 04 2007 Antoine Ginies <aginies@mandriva.com> 1:0.9.9.038-5mdv2008.0 + Revision: 35058 - CVS snapshot 20070604 - restore use of epoch - remove epoch * Tue May 29 2007 Antoine Ginies <aginies@mandriva.com> 1:0.9.9.038-4mdv2008.0 + Revision: 32622 - CVS SNAPSHOT 20070529, release 0.9.9.038 * Thu May 24 2007 Antoine Ginies <aginies@mandriva.com> 1:0.9.9.038-3mdv2008.0 + Revision: 30752 - increase mkrel * Thu May 24 2007 Antoine Ginies <aginies@mandriva.com> 1:0.9.9.038-2mdv2008.0 + Revision: 30751 - adjust buildrequires to a specific release of evas and eet - increase mkrel - CVS snapshot 20070524, release 0.9.9.038 - remove unwanted changelog * Mon May 21 2007 Antoine Ginies <aginies@mandriva.com> 1:0.9.9.038-1mdv2008.0 + Revision: 29107 - cvs snapshot 20070516, release 0.9.9.038 * Mon Apr 23 2007 Pascal Terjan <pterjan@mandriva.org> 1:0.9.9.037-1mdv2008.0 + Revision: 17657 - Put back ecore package, /usr/bin/ecore_config still exists - Don't require ecore, it no longer exists - New snapshot - Remove main binary as /usr/bin/* and /usr/share/ecore are no longer there * Sun Dec 03 2006 Pascal Terjan <pterjan@mandriva.org> 0.9.9.025-0.20060323.2mdv2007.0 + Revision: 90216 - Require main package in -devel * Sun Aug 06 2006 Olivier Thauvin <nanardon@mandriva.org> 1:0.9.9.025-0.20060323.2mdv2007.0 + Revision: 53298 - rebuild && %%mkrel - Import ecore * Fri Mar 24 2006 Austin Acton <austin@mandriva.org> 0.9.9.025-0.20060323.1mdk - new cvs checkout * Fri Feb 17 2006 Austin Acton <austin@mandriva.org> 0.9.9.023-0.20060216.1mdk - new cvs checkout * Wed Jan 18 2006 Austin Acton <austin@mandriva.org> 0.9.9.023-0.20060117.1mdk - new cvs checkout * Thu Jan 12 2006 Austin Acton <austin@mandriva.org> 1:0.9.9.022-0.20060111.1mdk - new cvs checkout * Thu Nov 24 2005 Austin Acton <austin@mandriva.org> 1:0.9.9.018-0.20051124.1mdk - new cvs checkout - disable directfb support * Thu Nov 17 2005 Thierry Vignaud <tvignaud@mandriva.com> 0.9.9.018-0.20051109.2mdk - rebuild against openssl-0.9.8 * Wed Nov 09 2005 Austin Acton <austin@mandriva.org> 1:0.9.9.018-0.20051109.1mdk - new cvs checkout * Fri Nov 04 2005 Austin Acton <austin@mandriva.org> 1:0.9.9.018-0.20051104.1mdk - new cvs checkout * Tue Sep 06 2005 Austin Acton <austin@mandriva.org> 1:0.9.9.013-0.20050904.1mdk - new cvs checkout * Mon Aug 15 2005 Austin Acton <austin@mandriva.org> 1:0.9.9.013-0.20050813.1mdk - new cvs checkout * Tue Jun 28 2005 Austin Acton <austin@mandriva.org> 1:0.9.9.010-0.20050627.1mdk - new cvs checkout * Thu Jun 09 2005 Austin Acton <austin@mandriva.org> 1:0.9.9.008-0.20050608.1mdk - new cvs checkout * Thu May 26 2005 Austin Acton <austin@mandriva.org> 1:0.9.9.007-0.20050524.2mdk - multiarch binaries * Thu May 26 2005 Austin Acton <austin@mandriva.org> 1:0.9.9.007-0.20050524.1mdk - new cvs checkout * Mon May 16 2005 Austin Acton <austin@mandriva.org> 1:0.9.9.007-0.20050511.2mdk - clean up spec * Fri May 13 2005 Austin Acton <austin@mandriva.org> 1:0.9.9.007-0.20050511.1mdk - epoch 1 for current cvs version - use my own spec file (sorry) * Sat Sep 25 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.0.0-0.20040913.1mdk - 1.0.0 20040913 - adjust buildrequires