%define gettext_package libgnomecanvas-2.0 %define gtk2_version 2.1.2 %define libart_lgpl_version 2.3.8 %define libglade2_version 2.0.1 Summary: GnomeCanvas widget Name: libgnomecanvas Version: 2.14.0 Release: 2 URL: http://www.gnome.org/ Source0: %{name}-%{version}.tar.bz2 License: LGPL Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-root Requires: gtk2 >= %{gtk2_version} BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: libart_lgpl-devel >= %{libart_lgpl_version} BuildRequires: libglade2-devel >= %{libglade2_version} BuildRequires: libtool %description The canvas widget allows you to create custom displays using stock items such as circles, lines, text, and so on. It was originally a port of the Tk canvas widget but has evolved quite a bit over time. %package devel Summary: Libraries and headers for libgnomecanvas Group: Development/Libraries Requires: %name = %{version} Conflicts: gnome-libs-devel < 1.4.1.2 Requires: gtk2-devel >= %{gtk2_version} Requires: libart_lgpl-devel >= %{libart_lgpl_version} Requires: libglade2-devel >= %{libglade2_version} %description devel The canvas widget allows you to create custom displays using stock items such as circles, lines, text, and so on. It was originally a port of the Tk canvas widget but has evolved quite a bit over time. %prep %setup -q %build export CFLAGS=$(echo $RPM_OPT_FLAGS |sed -e 's/O2/O1/g') %configure --disable-gtk-doc export tagname=CC make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool %install rm -rf %{buildroot} export tagname=CC make install DESTDIR=$RPM_BUILD_ROOT LIBTOOL=/usr/bin/libtool rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/*.a %find_lang %{gettext_package} %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{gettext_package}.lang %defattr(-,root,root) %doc COPYING.LIB ChangeLog NEWS %{_libdir}/lib*.so.* %dir %{_libdir}/libglade %dir %{_libdir}/libglade/2.0 %{_libdir}/libglade/2.0/libcanvas.so %files devel %defattr(-,root,root) %{_libdir}/lib*.so %{_libdir}/pkgconfig/* %{_includedir}/* %{_datadir}/gtk-doc %changelog * Tue May 23 2006 Matthias Clasen - 2.14.0-2 - Fix multilib conflicts - Don't ship .la files - Some spec file cleanups * Mon Mar 13 2006 Matthias Clasen - 2.14.0-1 - Update to 2.14.0 * Fri Feb 10 2006 Jesse Keating - 2.13.0-1.2 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 2.13.0-1.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Tue Jan 03 2006 Matthias Clasen - 2.13.0-1 - Update to 2.13.0 * Tue Dec 13 2005 Jeremy Katz - 2.12.0-1.2 - rebuild with -O1 to workaround (#175669) * Fri Dec 09 2005 Jesse Keating - rebuilt * Wed Sep 7 2005 Matthias Clasen - 2.12.0-1 - update to 2.12.0 * Tue Aug 16 2005 Warren Togami - 2.11.1-3 - rebuild for new cairo * Tue Aug 16 2005 Matthias Clasen - Rebuilt * Tue Jun 28 2005 Matthias Clasen - 2.11.1-1 - Update to 2.11.1 * Mon Mar 14 2005 Matthias Clasen - 2.10.0-1 - update to 2.10.0 * Wed Mar 2 2005 Matthias Clasen - 2.9.2-1 - update to 2.9.2 * Wed Jan 26 2005 Matthias Clasen - 2.9.1-1 - update to 2.9.1 * Wed Sep 22 2004 Alexander Larsson - 2.8.0-1 - update to 2.8.0 * Tue Aug 31 2004 Alex Larsson 2.7.92-1 - update to 2.7.92 * Fri Jul 30 2004 Matthias Clasen 2.7.1-1 - update to 2.7.1 - drop the gtk-doc patch * Tue Jun 15 2004 Elliot Lee - rebuilt * Thu May 20 2004 Matthias Clasen 2.6.1.1-1 - update to 2.6.1.1 * Thu Apr 1 2004 Alex Larsson 2.6.0-1 - update to 2.6.0 * Thu Mar 11 2004 Alex Larsson 2.5.91-2 - enable gtk-doc * Wed Mar 10 2004 Alexander Larsson 2.5.91-1 - update to 2.5.91 * Tue Mar 02 2004 Elliot Lee - rebuilt * Wed Feb 25 2004 Alexander Larsson 2.5.90-1 - 2.5.90 * Fri Feb 13 2004 Elliot Lee - rebuilt * Tue Jan 20 2004 Alexander Larsson 2.5.3-1 - 2.5.3 * Wed Sep 3 2003 Alexander Larsson 2.4.0-1 - 2.4.0 * Tue Aug 12 2003 Alexander Larsson 2.3.6-1 - gnome 2.3 update * Wed Aug 6 2003 Elliot Lee - Fix libtool * Wed Jun 5 2003 Elliot Lee - rebuilt * Thu Jun 5 2003 Jeremy Katz 2.2.0.2-2 - rebuild * Tue Apr 8 2003 Jeremy Katz 2.2.0.2-1 - update to 2.2.0.2 - use system libtool * Thu Jan 23 2003 Alexander Larsson 2.2.0.1-1 - Update to 2.2.0.1 * Wed Jan 22 2003 Tim Powers - rebuilt * Thu Jan 16 2003 Alexander Larsson 2.1.90-2 - Run libtoolize to make package rebuilding possible without the package already installed (#78045) * Thu Jan 9 2003 Alexander Larsson - Update to 2.1.90 * Fri Nov 8 2002 Havoc Pennington - 2.1.0 * Mon Aug 12 2002 Havoc Pennington - 2.0.2 * Fri Jul 12 2002 Havoc Pennington - fix gettext package name * Mon Jun 17 2002 Havoc Pennington - remove empty AUTHORS/README * Sat Jun 15 2002 Havoc Pennington - 2.0.1 - check file list, add glade module and gtk-doc docs * Sun May 26 2002 Tim Powers - automated rebuild * Fri May 17 2002 Havoc Pennington - rebuild in different environment * Fri May 17 2002 Havoc Pennington - rebuild in different environment * Fri May 17 2002 Havoc Pennington - 1.117.0 * Thu May 2 2002 Havoc Pennington - rebuild for new libglade - 1.116.0 * Thu Apr 4 2002 Jeremy Katz - 1.114.0 * Tue Feb 19 2002 Alex Larsson - Add nasty version check stuff. * Thu Feb 14 2002 Havoc Pennington - 1.111.0 * Wed Jan 30 2002 Owen Taylor - Version 1.110.0 * Fri Jan 25 2002 Havoc Pennington - rebuild in rawhide * Wed Jan 2 2002 Havoc Pennington - 1.108.0.90 cvs snap * Mon Nov 26 2001 Havoc Pennington - cvs snap 1.105.0.90, gtk 1.3.11 * Fri Oct 26 2001 Havoc Pennington - new cvs snap, rebuild for gtk 1.3.10, add libglade dep, fix libart dep * Fri Oct 5 2001 Havoc Pennington - rebuild cvs snap for new glib/gtk * Fri Sep 21 2001 Havoc Pennington - new cvs snap with upstream changes * Thu Sep 13 2001 Havoc Pennington - Initial build.