%define libxml2_version 2.7.6 %define orbit2_version 2.14.17 %define libbonobo_version 2.24.3 %define libgnomecanvas_version 2.30.0 %define libgnome_version 2.30.0 %define libart_lgpl_version 2.3.12 %define gtk2_version 2.20.0 %define libglade2_version 2.6.0 %define po_package libbonoboui-2.0 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} Summary: Bonobo user interface components Summary(ja): Bonobo ユーザインタフェースコンポーネント Name: libbonoboui Version: 2.24.3 Release: 1%{?_dist_release} URL: http://ftp.gnome.org/ Source0: %{name}-%{version}.tar.bz2 Source2: bonoboui-fixed-ltmain.sh License: LGPL Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: libxml2 >= %{libxml2_version} Requires: ORBit2 >= %{orbit2_version} Requires: libbonobo >= %{libbonobo_version} Requires: libgnomecanvas >= %{libgnomecanvas_version} Requires: libgnome >= %{libgnome_version} Requires: libart_lgpl >= %{libart_lgpl_version} Requires: gtk2 >= %{gtk2_version} Requires: libglade2 >= %{libglade2_version} BuildRequires: libxml2-devel >= %{libxml2_version} BuildRequires: ORBit2-devel >= %{orbit2_version} BuildRequires: libbonobo-devel >= %{libbonobo_version} BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_version} BuildRequires: libgnome-devel >= %{libgnome_version} BuildRequires: libart_lgpl-devel >= %{libart_lgpl_version} BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: libglade2-devel >= %{libglade2_version} BuildRequires: popt-devel BuildRequires: intltool >= 0.14-1 BuildRequires: libtool >= 1.5 %description Bonobo is a component system based on CORBA, used by the GNOME desktop. libbonoboui contains the user interface related components that come with Bonobo. %package devel Summary: Libraries and headers for libbonoboui Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libxml2-devel >= %{libxml2_version} Requires: ORBit2-devel >= %{orbit2_version} Requires: libbonobo-devel >= %{libbonobo_version} Requires: libgnomecanvas-devel >= %{libgnomecanvas_version} Requires: libgnome-devel >= %{libgnome_version} Requires: libart_lgpl-devel >= %{libart_lgpl_version} Requires: gtk2-devel >= %{gtk2_version} Requires: libglade2-devel >= %{libglade2_version} Conflicts: bonobo-devel < 1.0.8 %description devel Bonobo is a component system based on CORBA, used by the GNOME desktop. libbonoboui contains GUI components that come with Bonobo. This package contains header files used to compile programs that use libbonoboui. # compat32 %package -n compat32-%{name} Summary: Bonobo user interface components Summary(ja): Bonobo ユーザインタフェースコンポーネント Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} %description -n compat32-%{name} Bonobo is a component system based on CORBA, used by the GNOME desktop. libbonoboui contains the user interface related components that come with Bonobo. %package -n compat32-%{name}-devel Summary: Libraries and headers for libbonoboui Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} Requires: compat32-%{name} = %{version}-%{release} Requires: compat32-libxml2-devel >= %{libxml2_version} Requires: compat32-ORBit2-devel >= %{orbit2_version} Requires: compat32-libbonobo-devel >= %{libbonobo_version} Requires: compat32-libgnomecanvas-devel >= %{libgnomecanvas_version} Requires: compat32-libgnome-devel >= %{libgnome_version} Requires: compat32-libart_lgpl-devel >= %{libart_lgpl_version} Requires: compat32-gtk2-devel >= %{gtk2_version} Requires: compat32-libglade2-devel >= %{libglade2_version} %description -n compat32-%{name}-devel Bonobo is a component system based on CORBA, used by the GNOME desktop. libbonoboui contains GUI components that come with Bonobo. This package contains header files used to compile programs that use libbonoboui. %prep %setup -q -n %{name}-%{version} %build %configure export tagname=CC %__make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool %install rm -rf $RPM_BUILD_ROOT export tagname=CC make install DESTDIR=$RPM_BUILD_ROOT LIBTOOL=/usr/bin/libtool rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a} rm -f $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/*.a rm -f $RPM_BUILD_ROOT%{_datadir}/applications/bonobo-browser.desktop %find_lang %{po_package} %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post -n compat32-%{name} -p /sbin/ldconfig %postun -n compat32-%{name} -p /sbin/ldconfig %files -f %{po_package}.lang %defattr(-,root,root) %doc COPYING ChangeLog NEWS README %{_libdir}/lib*.so.* %{_libdir}/libglade/2.0/*.so %{_libdir}/libglade/2.0/*.la %{_libdir}/bonobo %{_datadir}/gnome-2.0 %files devel %defattr(-,root,root) #{_libdir}/lib*.a %{_libdir}/lib*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/* %{_bindir}/* %{_libdir}/bonobo-2.0 %{_datadir}/gtk-doc # compat32 %if %{build_compat32} %files -n compat32-%{name} %defattr(-,root,root) %{_libdir}/lib*.so.* %{_libdir}/libglade/2.0/*.so %{_libdir}/libglade/2.0/*.la %{_libdir}/bonobo %files -n compat32-%{name}-devel %defattr(-,root,root) #{_libdir}/lib*.a %{_libdir}/lib*.so %{_libdir}/pkgconfig/*.pc %{_libdir}/bonobo-2.0 %endif %changelog * Sun Apr 04 2010 Yoji TOYODA 2.24.3-1 - new upstream release * Sat Oct 31 2009 Ryoichi INAGAKI 2.24.2-1 - new upstream release * Sun Jul 19 2009 NAKAMURA Kenta 2.24.1-2 - removed static libraries - added compat32 package for x86_64 arch support * Sat Mar 7 2009 Ryoichi INAGAKI 2.24.1-1 - new upstream release - added BuildRequires: popt-devel * Tue Sep 23 2008 Daisuke SUZUKI 2.24.0-1 - new upstream release * Sat Mar 22 2008 Ryoichi INAGAKI 2.22.0-1vl5 - new upstream release * Tue Dec 11 2007 Ryoichi INAGAKI 2.20.0-0vl1 - new upstream release * Wed Apr 25 2007 Daisuke SUZUKI 2.18.0-0vl1 - new upstream release * Wed Mar 15 2006 Daisuke SUZUKI 2.14.0-0vl1 - new upstream release * Mon Mar 06 2006 Daisuke SUZUKI 2.13.1-0vl1 - new upstream release * Sun Sep 18 2005 Daisuke SUZUKI 2.10.1-0vl1 - new upstream release * Tue Aug 02 2005 Daisuke SUZUKI 2.10.0-0vl1 - new upstream release * Mon Mar 28 2005 Daisuke SUZUKI 2.8.1-0vl2 - remove bonobo-activation dependency * Thu Feb 24 2005 Ryoichi INAGAKI 2.8.1-0vl1 - new upstream release * Sun Nov 07 2004 Daisuke SUZUKI 2.8.0-0vl1 - new upstream release * Sat Jan 31 2004 Daisuke SUZUKI 2.4.3-0vl1 - new upstream release * Mon Dec 22 2003 Ryoichi INAGAKI 2.4.2-0vl1 - new upstream release - rebuild with new toolchains * Wed Sep 03 2003 Daisuke SUZUKI 2.4.0-0vl1 - new upstream release * Wed Aug 20 2003 Ryoichi INAGAKI 2.2.4-0vl1 - new upstream release * Tue Jun 03 2003 Daisuke SUZUKI 2.2.2-0vl1 - new upstream release * Wed Jan 22 2003 Daisuke SUZUKI 2.2.0-0vl1 - new upstream release * Tue Jan 21 2003 Daisuke SUZUKI 2.1.2-0vl1 - new upstream release * Sun Dec 15 2002 Daisuke SUZUKI 2.1.1-0vl1 - build for Vine Linux * Thu Aug 29 2002 Havoc Pennington - libtoolize with our latest libtool to try fixing rpaths * Mon Aug 12 2002 Havoc Pennington - 2.0.1 * Wed Jun 26 2002 Owen Taylor - Fix find_lang * Sun Jun 16 2002 Havoc Pennington - 2.0.0 - include sample server in libdir - remove .a files from glade module dir * Fri Jun 07 2002 Havoc Pennington - rebuild in different environment * Wed Jun 5 2002 Havoc Pennington - 1.118.0 - remove empty AUTHORS file * Sun May 26 2002 Tim Powers - automated rebuild * Mon May 20 2002 Havoc Pennington - rebuild in different environment * Mon May 20 2002 Havoc Pennington - 1.117.0 * Fri May 3 2002 Havoc Pennington - 1.116.0 * Thu Apr 4 2002 Jeremy Katz - 1.113.0 * Thu Feb 14 2002 Havoc Pennington - 1.111.0 * Wed Jan 30 2002 Owen Taylor - Version 1.110.0 - Reintoolize to fix DBM problems * Mon Jan 28 2002 Havoc Pennington - rebuild in rawhide * Mon Jan 7 2002 Havoc Pennington - 1.108.1.90 cvs snap * Tue Nov 27 2001 Havoc Pennington - 1.107.0.90 snap, explicit requires lines for dependencies - add libtool hack to avoid relinking * Mon Oct 29 2001 Havoc Pennington - add glade dependency, add glade module to file list * Sun Oct 28 2001 Havoc Pennington - rebuild with glib 1.3.10, new cvs snap * Mon Oct 15 2001 Havoc Pennington - rebuild, hoping build root is fixed * Mon Oct 15 2001 Havoc Pennington - grumble, build require newer gtk - require libart_lgpl-devel not the non-devel package * Mon Oct 15 2001 Havoc Pennington - cvs snap with menu stuff fixed so gnome-terminal works * Fri Oct 5 2001 Havoc Pennington - new tarball, rebuild for new glib * Mon Sep 24 2001 Havoc Pennington - new cvs snap, fix up prereqs/requires a bit * Tue Sep 18 2001 Havoc Pennington - Initial build.