%define lib_major 0 %define lib_name %mklibname gdiplus %{lib_major} Name: libgdiplus Summary: An Open Source implementation of the GDI+ API Version: 1.1.5 Release: 1mdk License: MIT Group: System/Libraries URL: http://go-mono.com Source: http://www.go-mono.com/archive/%version/%{name}-%{version}.tar.bz2 Patch: cairo-0.3.0-glitz-0.4.0.patch.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: cairo-devel >= 0.1.22 BuildRequires: glib2-devel BuildRequires: libjpeg-devel BuildRequires: libungif-devel BuildRequires: libtiff-devel %description An Open Source implementation of the GDI+ API. This is part of the Mono project. %package -n %{lib_name} Summary: An Open Source implementation of the GDI+ API Group: System/Libraries Provides: %name = %version-%release %description -n %{lib_name} An Open Source implementation of the GDI+ API. This is part of the Mono project. %package -n %{lib_name}-devel Summary: Libraries for developing with libgdiplus Group: Development/C Requires: %{lib_name} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} %description -n %{lib_name}-devel This package provides the necessary development libraries to allow you to develop with libgdiplus. %prep %setup -q %patch %build %configure2_5x %make %install rm -rf %{buildroot} %makeinstall %post -n %{lib_name} -p /sbin/ldconfig %postun -n %{lib_name} -p /sbin/ldconfig %clean rm -rf %{buildroot} %files -n %{lib_name} %defattr(0644, root, root, 0755) %doc AUTHORS COPYING src/ChangeLog %{_libdir}/*.so.* %files -n %{lib_name}-devel %defattr(0644, root, root, 0755) %{_libdir}/*.so %{_libdir}/*.*a %{_libdir}/pkgconfig/* %changelog * Mon Mar 28 2005 Götz Waschk <waschk@linux-mandrake.com> 1.1.5-1mdk - New release 1.1.5 - patch included for new glitz * Thu Dec 9 2004 Goetz Waschk <waschk@linux-mandrake.com> 1.0.5-1mdk - New release 1.0.5 * Fri Nov 5 2004 Goetz Waschk <waschk@linux-mandrake.com> 1.0.4-1mdk - New release 1.0.4 * Wed Sep 22 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0.2-1mdk - fix source URL - New release 1.0.2 * Wed Aug 11 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0.1-1mdk - new version * Thu Jul 1 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0-1mdk - new version * Wed Jun 16 2004 Götz Waschk <waschk@linux-mandrake.com> 0.9-1mdk - new version * Wed Jun 2 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8-2mdk - fix buildrequires - provide libgdiplus in the library package * Wed Jun 2 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8-1mdk - new version * Wed May 5 2004 Götz Waschk <waschk@linux-mandrake.com> 0.5-1mdk - requires new cairo - add more buildrequires - new version * Wed Apr 21 2004 Götz Waschk <waschk@linux-mandrake.com> 0.2-3mdk - fix buildrequires * Wed Apr 21 2004 Götz Waschk <waschk@linux-mandrake.com> 0.2-2mdk - fix buildrequires * Mon Apr 19 2004 Götz Waschk <waschk@linux-mandrake.com> 0.2-1mdk - autoconf 2.5 macro - fix URL - new version * Fri Feb 06 2004 Marcel Pol <mpol@mandrake.org> 0.1-1mdk - initial mandrake contrib