%define lib_major 1 %define libname %mklibname pixman %{lib_major} %define develname %mklibname pixman -d Name: libpixman Summary: A pixel manipulation library Version: 0.1.6 Release: %mkrel 3 License: BSD Group: System/Libraries URL: http://cairographics.org/snapshots/ Source: http://cairographics.org/snapshots/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: pkgconfig >= 0.8 BuildRequires: autoconf %description Libpixman - Pixel manipulation Library. Libpixman is a merge of libpixregion and libic. It also includes the slim headers. Libpixregion is a generic library for manipulating pixel regions. A PixRegion is a set of Y-X banded rectangles that cover the desired region. Libic is a generic image compositing library. libic provides Porter/Duff compositing of images and implicit mask generation for geometric primitives including trapezoids, triangles, and rectangles. Slim stands for: Shared Library Interface Macros. %package -n %{libname} Summary: Libpixman - Pixel manipulation library Group: System/Libraries %description -n %{libname} Libpixman - Pixel manipulation library. Libpixman is a merge of libpixregion and libic. It also includes the slim headers. Libpixregion is a generic library for manipulating pixel regions. A PixRegion is a set of Y-X banded rectangles that cover the desired region. Libic is a generic image compositing library. libic provides Porter/Duff compositing of images and implicit mask generation for geometric primitives including trapezoids, triangles, and rectangles. Slim stands for: Shared Library Interface Macros. %package -n %{develname} Summary: Libraries and include files for developing with libpixman Group: Development/C Requires: %{libname} = %{version} Provides: %{name}-devel = %{version}-%{release} Provides: slim-devel Obsoletes: slim-devel Obsoletes: %mklibname pixman 1 -d %description -n %{develname} This package provides the necessary development libraries and include files to allow you to develop with libpixman. %prep %setup -q %build autoreconf %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files -n %{libname} %defattr(0644, root, root, 0755) %doc AUTHORS COPYING README %doc ChangeLog ChangeLog.libic ChangeLog.libpixregion ChangeLog.slim %{_libdir}/*.so.%{lib_major}* %files -n %{develname} %defattr(0644, root, root, 0755) %{_libdir}/*.so %{_libdir}/*.*a %{_includedir}/*.h %{_libdir}/pkgconfig/* %changelog * Wed Aug 01 2007 Adam Williamson <awilliamson@mandriva.com> 0.1.6-3mdv2008.0 + Revision: 57298 - rebuild for 2008 - replace versioned autotools calls with simple autoreconf - drop versioned automake dependency * Tue Jul 31 2007 Götz Waschk <waschk@mandriva.org> 0.1.6-2mdv2008.0 + Revision: 56900 - new devel name + Ademar de Souza Reis Jr <ademar@mandriva.com.br> - Import libpixman * Sun Jul 30 2006 Götz Waschk <waschk@mandriva.org> 0.1.6-2mdv2007.0 - Rebuild * Fri Jul 29 2005 Götz Waschk <waschk@mandriva.org> 0.1.6-1mdk - New release 0.1.6 * Thu May 19 2005 Götz Waschk <waschk@mandriva.org> 0.1.5-1mdk - New release 0.1.5 * Mon Apr 18 2005 Götz Waschk <waschk@mandriva.org> 0.1.4-2mdk - fix buildrequires * Mon Apr 18 2005 Götz Waschk <waschk@linux-mandrake.com> 0.1.4-1mdk - New release 0.1.4 * Wed Nov 24 2004 Jean-Michel Dault <jmdault@revolutionlinux.com> 0.1.2-2mdk - reenable aclocal, autoheader, autoconf, automake so that it build properly on Mandrake 10.0 * Fri Nov 12 2004 Marcel Pol <mpol@mandrake.org> 0.1.2-1mdk - 0.1.2 - reenable libtoolize * Wed May 5 2004 Götz Waschk <waschk@linux-mandrake.com> 0.1.1-1mdk - autoconf 2.5 macro - add source URL - new version * Sun Feb 01 2004 Marcel Pol <mpol@mandrake.org> 0.1.0-1mdk - initial mandrake contrib