%define name ecore %define version 0.0.2 %define cvsrel 20030730 %define release 3.%{cvsrel}.1mdk %define major 0 %define libname %mklibname %{name} %major %define libnamedev %mklibname %{name} %major -d Summary: Enlightened Core X interface library Name: %{name} Version: %{version} Release: %{release} License: BSD Group: Development/Other URL: http://www.enlightenment.org/efm.html Source: %{name}-%{cvsrel}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: XFree86-devel %description Ecore is the core event abstraction layer and X abstraction layer that makes doing selections, Xdnd, general X stuff, and event loops, timeouts and idle handlers fast, optimized, and convenient. it's a separate library so anyone can make use of the work put into Ecore to make this job easy for applications. %package -n %{libname} Summary: Enlightened Core X interface library Group: System/Libraries Requires: %{libname} = %{version}-%{release} Provides: lib%{name}-devel = %{version} %description -n %{libname} Ecore is the core event abstraction layer and X abstraction layer that makes doing selections, Xdnd, general X stuff, and event loops, timeouts and idle handlers fast, optimized, and convenient. it's a separate library so anyone can make use of the work put into Ecore to make this job easy for applications. %package -n %{libnamedev} Summary: Ecore headers and development libraries. Group: Development/Other Requires: %{libname} = %{version}-%{release} Provides: lib%{name}-devel = %{version}-%{release} Autoreqprov: no %description -n %{libnamedev} Ecore development files. %prep rm -rf $RPM_BUILD_ROOT %setup -q -n %name %build ./autogen.sh %make %install %makeinstall %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files -n %{libname} %defattr(-,root,root) %_libdir/libecore.so.* %_libdir/pkgconfig/ecore.pc %files -n %{libnamedev} %defattr(-,root,root) %_libdir/libecore.so %_libdir/libecore.*a %_includedir/Ecore.h %_bindir/ecore-config %_datadir/aclocal/ecore.m4 %changelog * Wed Jul 20 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.0.2-3.20030730.1mdk - update to CVS 20030730 * Tue May 13 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.0.2-3.20030513.1mdk - update to CVS 20030513 * Fri Apr 11 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.0.2-2mdk - mklibname * Sun Dec 29 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.0.2-1mdk - 0.0.2 - add missing m4 file * Sat Aug 24 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> cvs20020821-2mdk - Change to a real description * Wed Aug 21 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> cvs20020821-1mdk - first mdk package from Yves Mettier <ymettier@libertysurf.fr>