File libbonoboui.spec of Package libbonoboui

#
# spec file for package libbonoboui (Version 2.24.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           libbonoboui
BuildRequires:  fdupes
BuildRequires:  gnome-common
BuildRequires:  gtk-doc
BuildRequires:  intltool
BuildRequires:  libglade2-devel
BuildRequires:  libgnome-devel
BuildRequires:  libgnomecanvas-devel
BuildRequires:  perl-XML-Parser
BuildRequires:  update-desktop-files
BuildRequires:  xmlcharent
License:        GPL v2 or later; LGPL v2.1 or later
Group:          Development/Libraries/GNOME
AutoReqProv:    on
Version:        2.24.0
Release:        1
Summary:        The Bonobo Part of the GNOME User Interface Libraries
Source:         %{name}-%{version}.tar.bz2
# copied from gnome-desktop
Source1:        gnome-desktop-ccperiph.png
Patch4:         libbonoboui-64bit.patch
# Needed only for gnome-desktop-ccperiph icon.
# Ignore it, causes dependency loop (#147644).
#Requires:     gnome-desktop
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       %{name}-lang = %{version}

%description
This library contains the Bonobo-related part of the GNOME UI
libraries. It belongs to the GNOME 2.x Desktop platform.



%package devel
License:        GPL v2 or later; LGPL v2.1 or later
Summary:        Include Files and Libraries mandatory for Development.
Group:          Development/Libraries/GNOME
Requires:       %{name} = %{version} libbonobo-devel orbit2-devel libxml2-devel glib2-devel libgnomecanvas-devel libgnome-devel

%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.



%package doc
License:        GPL v2 or later; LGPL v2.1 or later
Summary:        The Bonobo Part of the GNOME User Interface Libraries
Group:          Development/Libraries/GNOME
Requires:       %{name} = %{version}

%description doc
This library contains the Bonobo related part of the GNOME
UI-libraries. It belongs to the GNOME 2.x Desktop platform.



%lang_package
%prep
%setup -q
%patch4 -p0

%build
autoreconf -f -i
# not needed libbonoboui-2.16.0 warning occurs in not installed tests:
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
	--disable-static
make %{?jobs:-j%jobs}

%install
%makeinstall
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
cp %{S:1} $RPM_BUILD_ROOT%{_datadir}/pixmaps
%suse_update_desktop_file bonobo-browser System Monitor
%find_lang libbonoboui-2.0
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a
rm $RPM_BUILD_ROOT/%{_libdir}/*/*/*.*a
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS COPYING README NEWS ChangeLog 
%{_bindir}/*
%{_datadir}/applications/bonobo-browser.desktop
# generic directory for UI files
%dir %{_datadir}/gnome-2.0
%dir %{_datadir}/gnome-2.0/ui
%{_datadir}/gnome-2.0/ui/*.xml
%{_datadir}/pixmaps/*.png
%{_libdir}/*.so.*
%{_libdir}/bonobo/servers/*.server
%{_libdir}/libglade/2.0/*.so*

%files lang -f libbonoboui-2.0.lang

%files devel
%defattr(-,root,root)
%{_includedir}/libbonoboui-2.0
%{_libdir}/*.so
%{_libdir}/pkgconfig/libbonoboui-2.0.pc

%files doc
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/*
%dir %{_libdir}/bonobo-2.0
%{_libdir}/bonobo-2.0/samples

%changelog
* Mon Sep 22 2008 maw@suse.de
- Update to version 2.24.0:
  + Remove further gnome-vfs deps
  + Updated translations.
* Thu Aug 28 2008 maw@suse.de
- Don't package static libraries or libtool archives.
* Thu Aug 07 2008 maw@suse.de
- Update to versino 2.23.5:
  + Remove the gnome-vfs dependency (bgo#544831)
  + Updated translations.
* Wed Jun 18 2008 maw@suse.de
- Update to version 2.23.4:
  + Bugs fixed: bgo#535475 and bgo#525626
  + Updated translations.
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
  for multilib support
* Thu Mar 13 2008 maw@suse.de
- Update to version 2.22.0:
  + Updated translations.
* Thu Jan 31 2008 maw@suse.de
- Update to version 2.21.90:
  + Link to popt since we use it
  + Cleanup bonobo-browser's .desktop file
  + win32 fixes.
* Mon Sep 17 2007 gekker@suse.de
- Update to version 2.20.0
  libbonobo 2.20.0
  * More GOption porting (Gilles Dartiguelounge)
  * Updated translations.
* Tue Aug 07 2007 maw@suse.de
- Split off a -lang subpackage
- Use %%fdupes
- s#%%run_ldconfig#/sbin/ldconfig# in %%post and %%postun.
* Sat Aug 04 2007 aj@suse.de
- bonobo-conf is provided already by gnome-spell2, remove  provides
  and obsoletes, otherwise gnome-spell2 installation will remove
  libbonoboui.
* Tue Jul 31 2007 maw@suse.de
- Update to version 2.19.6:
  * Fix build with gtk+ >= 2.11.6
  * Cleanup bonobo-browser .desktop file (Kjartan Maraas)
  * Use glib/gi18n[-lib].h instead of bonobo-i18n.h (Christian Persch)
- Build with -fno-strict-aliasing
- Add a Provides:.
* Wed Mar 21 2007 maw@suse.de
- Update to version 2.18.0
- Minor updates, including changes to the MAINTAINERS file and
  several Makefiles.
* Fri Feb 16 2007 maw@suse.de
- Update to version 2.17.91
- Remove libbonoboui-undeprecate_gnome.patch
* Wed Feb 07 2007 sbrabec@suse.cz
- Do not build unusable static libraries (#238552).
* Sat Jan 06 2007 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
- Added %%{_datadir}/gnome-2.0/ui to file list.
* Tue Jan 02 2007 jhargadon@suse.de
- Removed unneeded libtool files (#223689)
* Tue Nov 21 2006 sbrabec@suse.cz
- Do not explicitly require mDNSResponder-lib blocking avahi compat
  package.
* Fri Oct 13 2006 danw@suse.de
- Remove dead patches
* Wed Sep 13 2006 jhargadon@suse.de
- update to version 2.16.0
- Translation updates
- Fix the about dialog in bonobo-browser
- Fix leaks in the UI code that showed up when changing components
  in evolution
- Set menubar to correct detachable state
* Thu Aug 17 2006 jhargadon@suse.de
- update to version 2.15.0
- Use move LINGUAS out of configure.in
- Fix moving of detached toolbars
- Fix a crash in the component browser
- Win32 portability fixes
* Fri Jul 21 2006 gekker@suse.de
- Update to version 2.14.0
  * Fix CORBA object leaks (Adriano Winter Bess)
  * Fix bonobo-object-browser .desktop file
  (Stephane Loeuillet and Vincent Untz)
  * Translation updates.
- Update to version 2.13.1
  * Fix leaks introduced by the GOption argument handling code
  (Christian Perch)
  * Sync with latest libgnome (Christian Persch) [#326846]
- Update to version 2.13.0
  * Add support for GOption argument parsing in libgnome (Pawel Sliwowski, chpe) [#307312]
  * Don't use deprecated gnome_i18n_get_language_list (Gustavo J. A. M. Carneiro)
  * Translation updates.
- Update to version 2.10.1
  * Translation updates.
* Thu Feb 02 2006 sbrabec@suse.cz
- Break dependency loop on gnome-desktop (#147644).
* Tue Jan 31 2006 aj@suse.de
- Reduce BuildRequires.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Nov 08 2005 dmueller@suse.de
- don't build as root
* Mon Sep 26 2005 mls@suse.de
- move libbonoboui-2.so to devel package
- make devel package require base package
* Mon Aug 22 2005 gekker@suse.de
- Update to version 2.10.1
* Thu Jul 21 2005 gekker@suse.de
- Update to version 2.10.0
* Thu Jun 16 2005 gekker@suse.de
- Fix sentinel patch to work with new glib2
* Thu Apr 14 2005 sbrabec@suse.cz
- Added audiofile-devel to neededforbuild.
* Sat Mar 19 2005 ro@suse.de
- copy icon source to this package and remove gnome-desktop
  from nfb, which caused a cycle
* Wed Mar 16 2005 clahey@suse.de
- Add an icon for bonobo-component-browser.
* Mon Mar 07 2005 clahey@suse.de
- Moved the bonobo Component browser from System->Documentation to
  System->Monitor.
* Wed Feb 09 2005 gekker@suse.de
- Update to version 2.8.1
- add suse_update_desktop_config
- update neededforbuild for new doc requirements
* Sun Feb 06 2005 ro@suse.de
- added mDNSResponder to neededforbuild
* Mon Jan 31 2005 meissner@suse.de
- too much sentinels, dropped 1 wrong one.
* Mon Jan 31 2005 ro@suse.de
- fix build: do not define GNOME_DISABLE_DEPRECATED
* Fri Jan 21 2005 meissner@suse.de
- NULL instead of 0 after sentinel warning
- added sentinel markups to headers
- fixed 1 strict aliasing problem, drop -fno-strict-aliasing
* Mon Nov 22 2004 ro@suse.de
- re-add openssl-devel to nfb
* Fri Nov 19 2004 gekker@suse.de
- Update to 2.8.0
* Fri Nov 19 2004 ro@suse.de
- removed extra aclocal include directive
* Mon Oct 25 2004 ro@suse.de
- locale rename: no -> nb
* Tue Oct 12 2004 sbrabec@suse.cz
- Removed linc from build requirements.
- Use gnutls instead of openssl (#44438).
* Mon Jul 05 2004 jody@suse.de
- Updated to version 2.6.1 (GNOME 2.6).
* Thu Apr 22 2004 sbrabec@suse.cz
- Updated to version 2.6.0 (GNOME 2.6).
* Thu Feb 26 2004 sbrabec@suse.cz
- Added Obsoletes: bonobo-conf. This package is no real successor, but
  it ensures seamless Evolution-less SLES update.
* Mon Oct 06 2003 sbrabec@suse.cz
- Updated to version 2.4.0 (GNOME 2.4).
* Tue Aug 05 2003 hhetter@suse.de
- updated to 2.2.4 bugfix release
* Mon Jul 21 2003 hhetter@suse.de
- fix typo at aclocal usage
* Mon Jul 14 2003 sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Tue Jun 24 2003 sbrabec@suse.cz
- Updated to version 2.2.2.
- Updated neededforbuild.
- Created libbonoboui-doc.
* Sun Jun 22 2003 ro@suse.de
- added directories to filelist
* Sun Jun 01 2003 ro@suse.de
- remove unpackaged files from buildroot
- include static lib in devel package
* Wed May 14 2003 sbrabec@suse.cz
- Sync -devel Requires with pkgconfig (bug #26874).
* Mon Apr 28 2003 sf@suse.de
- added fontconfig* to neededforbuild
* Wed Jan 29 2003 hhetter@suse.de
- updated to version 2.2.0
* Wed Jan 15 2003 hhetter@suse.de
- updated to version 2.1.2
* Tue Jan 14 2003 ro@suse.de
- added expat to neededforbuild
* Wed Nov 06 2002 sbrabec@suse.cz
- Updated to version 2.0.3.2.
- Fixed missing libxml2 in include path.
* Thu Oct 24 2002 hhetter@suse.de
- use "-c" with automake (Bug Id #21066)
* Tue Sep 24 2002 sbrabec@suse.cz
- Added alsa-devel to neededforbuild, because esound-devel can require it.
* Wed Sep 18 2002 sbrabec@suse.cz
- Added alsa to neededforbuild, because esound can depend on it.
* Tue Sep 10 2002 sf@suse.de
- fixed call of 'bonobo_closure_invoke' with wrong va_arg type
* Fri Aug 09 2002 hhetter@suse.de
- updated to version 2.0.1
* Fri Aug 09 2002 kukuk@suse.de
- Add openssl to neededforbuild
* Thu Jun 20 2002 ro@suse.de
- use "-a -f" for automake
* Tue Jun 11 2002 hhetter@suse.de
- updated to version 2.0.0
* Tue Jun 04 2002 hhetter@suse.de
- updated to version 1.118.0
* Wed May 15 2002 ro@suse.de
- use libdir
* Wed Apr 10 2002 hhetter@suse.de
- update to version 1.113.0 [gnome desktop beta3]
* Fri Feb 01 2002 hhetter@suse.de
- updated to version 1.110.0 [gnome desktop alpha2]
* Fri Jan 25 2002 hhetter@suse.de
- built with audiofile
* Thu Jan 24 2002 hhetter@suse.de
- build with esound
* Thu Jan 17 2002 hhetter@suse.de
- prefixed to /opt/gnome2
* Mon Jan 14 2002 hhetter@suse.de
- updated to version 1.109.1, from the NEWS file:
  + re-enterancy fixes
  + status segv
  + resize grip configurability
  + auto merging fixes
  + signal updates
  + missing macro
  + plug property fixage
  + PropertyControl ported
  + more regression tests
  + file selector updates
  + leak fixes
  + build fixage
- fixed filelist for locales
* Fri Jan 11 2002 hhetter@suse.de
- added libgnomecanvas/-devel to #neededforbuild
* Thu Jan 10 2002 hhetter@suse.de
- fixed fileslist for devel package
* Thu Jan 10 2002 hhetter@suse.de
- initial SuSE package for GNOME 2.0 platform
- use LIBRARY_PATH for broken libtool
openSUSE Build Service is sponsored by