%define name ewl %define version 0.0.4.004 %define release 0.%{cvsrel}.1mdk %define cvsrel 20050904 %define major 0 %define libname %mklibname %{name} %major %define libnamedev %mklibname %{name} %major -d Summary: Enlightenment widget library Name: %{name} Version: %{version} Release: %{release} License: BSD Group: System/Libraries URL: http://get-e.org/ Source: %{name}-%{cvsrel}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: evas-devel ecore-devel edb-devel BuildRequires: edje-devel emotion-devel BuildRequires: multiarch-utils %description Enlightened Widget Library (EWL) provides a widget abstraction to creating GUI's using Evas and Edje. The use of edje allows for easy creation of fairly advanced themes. 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 = %{version} Provides: lib%{name}-devel = %{version}-%{release} Provides: %name-devel = %{version}-%{release} %description -n %libnamedev %{name} development headers and libraries %prep rm -rf $RPM_BUILD_ROOT %setup -q -n %name %build ./autogen.sh %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall %multiarch_binaries %buildroot/%_bindir/%name-config %post -n %libname -p /sbin/ldconfig %postun -n %libname -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS COPYING README %{_bindir}/%{name}_* %dir %{_datadir}/%name %{_datadir}/%name/themes %files -n %libname %defattr(-,root,root) %{_libdir}/*.so.* %files -n %libnamedev %defattr(-,root,root) %{_libdir}/pkgconfig/* %{_libdir}/*.so %{_libdir}/*.a %{_libdir}/*.la %{_includedir}/%name %{_bindir}/%name-config %multiarch %multiarch_bindir/%name-config %{_datadir}/aclocal/*.m4 %{_datadir}/%name/examples %changelog * Mon Sep 05 2005 Austin Acton <austin@mandriva.org> 0.0.4.004-0.20050904.1mdk - new cvs checkout * Sun Aug 14 2005 Austin Acton <austin@mandriva.org> 0.0.4.004-0.20050813.1mdk - new cvs checkout * Mon Jun 27 2005 Austin Acton <austin@mandriva.org> 0.0.4.003-0.20050627.1mdk - new cvs checkout * Wed Jun 08 2005 Austin Acton <austin@mandriva.org> 0.0.4.003-0.20050608.1mdk - new cvs checkout * Wed May 25 2005 Austin Acton <austin@mandriva.org> 0.0.4.003-0.20050524.1mdk - new cvs checkout - multiarch binaries * Thu May 12 2005 Austin Acton <austin@mandriva.org> 0.0.4.003-0.20050511.1mdk - initial package