%define prefix %{_prefix} %define DEFCC cc Summary: Library of graphics routines used by libgnomecanvas Name: libart_lgpl Version: 2.3.16 Release: 1 URL: http://www.gnome.org/ Source: http://ftp.acc.umu.se/pub/GNOME/sources/libart_lgpl/2.3/%{name}-%{version}.tar.bz2 License: LGPL Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-root Patch0: %{name}-%{version}-aix.patch %description Graphics routines used by the GnomeCanvas widget and some other applications. libart renders vector paths and the like. %package devel Summary: Libraries and headers for libart_lgpl. Group: Development/Libraries Requires: %name = %{version} %description devel Graphics routines used by the GnomeCanvas widget and some other applications. libart renders vector paths and the like. %prep %setup -q %patch0 -p1 -b .aix %build # Use the default compiler for this platform - gcc otherwise if [[ -z "$CC" ]] then if test "X`type %{DEFCC} 2>/dev/null`" != 'X'; then export CC=%{DEFCC} else export CC=gcc fi fi if test "X$CC" != "Xgcc" then export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's:-fsigned-char::'` export CFLAGS="$RPM_OPT_FLAGS" fi %configure # Force use our native libtool; the 1.5 libmain.sh provided is messed up. [[ -f /usr/bin/libtool ]] && cp /usr/bin/libtool ./libtool make %{?_smp_mflags} %install rm -rf %{buildroot} %makeinstall %clean rm -rf %{buildroot} %files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README %{_libdir}/*.a %files devel %defattr(-, root, root) %{_bindir}/* %{_includedir}/* %{_libdir}/*.la %{_libdir}/pkgconfig/* %changelog * Fri Jul 11 2003 David Clissold - Get rid of ldconfig dependency; not used on AIX. * Tue Jul 01 2003 Dan McNichol - Package changes for AIX Toolbox. * Tue Jan 22 2002 Gregory Leblanc - removed conflicts line from devel package - disable libtoolize, as it's on crack - added %doc files - replaced files sections with the ones from elsewhere - removed tabs from header * Sat Jan 19 2002 Chris Chabot - Imported into gnome 2.0 alpha - Changed versions accordingly - Minor cleanups * Wed Jan 2 2002 Havoc Pennington - 2.3.7.91 snap * Sun Nov 25 2001 Havoc Pennington - cvs snap, rebuild with new glib * Thu Oct 4 2001 Havoc Pennington - 2.3.6 * Fri Sep 21 2001 Havoc Pennington - new CVS snap with upstream changes merged * Thu Sep 13 2001 Havoc Pennington - Initial build.