# this is NOT relocatable, unless you alter the patch! %define name evas %define ver 0.6.0 %define rel 1 %define prefix /usr # NB: Raster and I talked about it, and heh says evas_test shouldn't be in # the rpms, since it's not geared at all towards end users. I'm commenting # out and withholding the patch to honor that.. Summary: Enlightened Canvas Library Name: %{name} Version: %{ver} Release: %{rel} Copyright: BSD Group: User Interface/X URL: http://www.enlightenment.org/ Packager: Term Vendor: The Enlightenment Development Team Source: ftp://ftp.enlightenment.org/enlightenment/%{name}-%{ver}.tar.gz BuildRoot: /var/tmp/%{name}-root Requires: imlib2 >= 1.0.4 %description Evas is an advanced canvas library, providing three backends for rendering: X11 (without some features like alpha-blending), imlib2, or OpenGL (hardware accelerated). Due to its simple API, evas can be developed with rapidly, and cleanly. Install evas if you want to develop applications against the only hardware-accelerated canvas library, or if you want to try out the applications under development. %package devel Summary: Enlightened Canvas Library headers and development libraries. Group: Development/Libraries Requires: %{name} = %{ver} %description devel Evas development headers and libraries. %prep %setup -q %build if [ -e ./configure ] then ./configure --prefix=%{prefix} else ./autogen.sh --prefix=%{prefix} fi make %install make prefix=$RPM_BUILD_ROOT%{prefix} install %post /sbin/ldconfig %postun /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{prefix}/lib/libevas.so.* %{prefix}/bin/evas_* %{prefix}/share/evas/fnt %{prefix}/share/evas/img %files devel %defattr(-,root,root) %{prefix}/lib/libevas.so %{prefix}/lib/libevas.*a %{prefix}/include/Evas.h %{prefix}/bin/evas-config %{prefix}/share/evas/doc