%define name epeg %define version 0.9.0.006 %define release 0.%{cvsrel}.1mdk %define cvsrel 20060323 %define major 0 %define libname %mklibname %{name} %major %define libnamedev %mklibname %{name} %major -d Summary: Enlightenment JPEG thumbnailer library Name: %{name} Version: %{version} Release: %{release} License: BSD Group: Graphical desktop/Enlightenment URL: http://get-e.org/ Source: %{name}-%{cvsrel}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: multiarch-utils BuildRequires: jpeg-devel %description It's a convenience library API to using libjpeg to load JPEG images destined to be turned into thumbnails of the original, saving information with these thumbnails, retreiving it and managing to load the image ready for scaling with the minimum of fuss and CPU overhead. 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 %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 %files -n %libname %defattr(-,root,root) %{_libdir}/*.so.* %files -n %libnamedev %defattr(-,root,root) %{_libdir}/pkgconfig/* %{_libdir}/*.so %{_libdir}/*.a %{_libdir}/*.la %{_includedir}/*.h %{_bindir}/%name-config %multiarch %multiarch_bindir/%name-config %changelog * Fri Mar 24 2006 Austin Acton <austin@mandriva.org> 0.9.0.006-0.20060323.1mdk - new cvs checkout * Fri Feb 17 2006 Austin Acton <austin@mandriva.org> 0.9.0.005-0.20060216.1mdk - new cvs checkout * Wed Jan 18 2006 Austin Acton <austin@mandriva.org> 0.9.0.005-0.20060117.1mdk - new cvs checkout * Thu Jan 12 2006 Austin Acton <austin@mandriva.org> 0.9.0.004-0.20060111.1mdk - new cvs checkout * Fri Nov 25 2005 Austin Acton <austin@mandriva.org> 0.9.0.004-0.20051124.1mdk - new cvs checkout * Wed Nov 09 2005 Austin Acton <austin@mandriva.org> 0.9.0.004-0.20051109.1mdk - new cvs checkout * Fri Nov 04 2005 Austin Acton <austin@mandriva.org> 0.9.0.004-0.20051104.1mdk - new cvs checkout * Thu Oct 06 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.9.0.004-0.20050904.2mdk - Fix BuildRequires * Mon Sep 05 2005 Austin Acton <austin@mandriva.org> 0.9.0.004-0.20050904.1mdk - new cvs checkout * Sun Aug 14 2005 Austin Acton <austin@mandriva.org> 0.9.0.004-0.20050813.1mdk - new cvs checkout * Mon Jun 27 2005 Austin Acton <austin@mandriva.org> 0.9.0.003-0.20050627.1mdk - new cvs checkout * Wed Jun 08 2005 Austin Acton <austin@mandriva.org> 0.9.0.003-0.20050608.1mdk - new cvs checkout * Wed May 25 2005 Austin Acton <austin@mandriva.org> 0.9.0.003-0.20050524.2mdk - multiarch binaries * Wed May 25 2005 Austin Acton <austin@mandriva.org> 0.9.0.003-0.20050524.1mdk - new cvs checkout * Sun May 15 2005 Austin Acton <austin@mandriva.org> 0.9.0.003-0.20050511.2mdk - clean spec * Thu May 11 2005 Austin Acton <austin@mandriva.org> 0.9.0.003-0.20050511.1mdk - initial package