File libgnomeuimm.spec of Package libgnomeuimm

#
# spec file for package libgnomeuimm (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:           libgnomeuimm
BuildRequires:  gcc-c++ gconfmm-devel gnome-vfsmm-devel libglademm-devel libgnomecanvasmm-devel libgnomemm-devel libgnomeui-devel update-desktop-files
Version:        2.24.0
Release:        1
Url:            http://www.gtkmm.org/
Group:          System/GUI/GNOME
License:        GPL v2 or later
Summary:        C++ Interface for GnomeUI (a GUI Library for X)
Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/2.12/%{name}-%{version}.tar.bz2
Patch:          %{name}-2.0.0.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       libgnomeuimm

%description
This package provides a C++ interface for GnomeUI.  It is a subpackage
of the GTK-- project.  The interface provides a convenient interface
for C++ programmers to create GNOME GUIs with GTK+'s flexible
object-oriented framework.



Authors:
--------
    Murray Cumming <murrayc@usa.net>
    Claudio Bley
    Eric Bourque
    Manuel Clos <llanero@users.sourceforge.net>
    Daniel Elstner <daniel.elstner@gmx.de>
    Gergo Erdi <cactus@cactus.rulez.org>
    Cedric Gustin
    Andreas Holzmann
    Falk Hueffner
    Peter Lerner <plerner@users.sourceforge.net>
    Agustin Ferrin Pozuelo
    Karl Nelson <kenelson@users.sourceforge.net>
    Herbert Valerio Riedel <hvr@gnu.org>
    Sebastian Rittau<srittau@users.sourceforge.net >
    Joe YaTero Pulkkinen <terop@modeemi.cs.tut.fi>
    Stephan Kulow <coolo@itm.mu-luebeck.de>
    Elliot Lee <sopwith@redhat.com>
    Phil Dawes <P.L.Dawes-CSSE94@cs.bham.ac.uk>
    Erik Andersen <andersee@debian.org>
    Bibek Sahu <scorpio@dodds.net>
    Mirko Streckenbach
    Havoc Pennington <hp@redhat.com>
    Guillaume Laurent <glaurent@telegraph-road.org>
    Todd Dukes <tdukes@ibmoto.com>

%package devel
License:        GPL v2 or later
Group:          System/GUI/GNOME
Summary:        C++ Interface for GnomeUI (a GUI library for X)
Requires:       %{name} = %{version} libgnomemm-devel libgnomecanvasmm-devel gconfmm-devel libglademm-devel libgnomeui-devel gnome-vfsmm-devel

%description devel
This package provides a C++ interface for GnomeUI.  It is a subpackage
of the GTK-- project.  The interface provides a convenient interface
for C++ programmers to create GNOME GUIs with GTK+'s flexible
object-oriented framework.



Authors:
--------
    Murray Cumming <murrayc@usa.net>
    Claudio Bley
    Eric Bourque
    Manuel Clos <llanero@users.sourceforge.net>
    Daniel Elstner <daniel.elstner@gmx.de>
    Gergo Erdi <cactus@cactus.rulez.org>
    Cedric Gustin
    Andreas Holzmann
    Falk Hueffner
    Peter Lerner <plerner@users.sourceforge.net>
    Agustin Ferrin Pozuelo
    Karl Nelson <kenelson@users.sourceforge.net>
    Herbert Valerio Riedel <hvr@gnu.org>
    Sebastian Rittau<srittau@users.sourceforge.net >
    Joe YaTero Pulkkinen <terop@modeemi.cs.tut.fi>
    Stephan Kulow <coolo@itm.mu-luebeck.de>
    Elliot Lee <sopwith@redhat.com>
    Phil Dawes <P.L.Dawes-CSSE94@cs.bham.ac.uk>
    Erik Andersen <andersee@debian.org>
    Bibek Sahu <scorpio@dodds.net>
    Mirko Streckenbach
    Havoc Pennington <hp@redhat.com>
    Guillaume Laurent <glaurent@telegraph-road.org>
    Todd Dukes <tdukes@ibmoto.com>

%prep
%setup
%patch

%build
%if %suse_version >= 1030
libtoolize --force 
aclocal
autoconf
# FIXME: Cannot autoreconf - bad template
#ACLOCAL="aclocal -I scripts" autoreconf -f -i
%endif
%configure
make %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
%{_libdir}/*.so.*

%files devel
%defattr (-, root, root)
%{_libdir}/*.so
%{_includedir}/*
%dir %{_libdir}/libgnomeuimm-2.6
%dir %{_libdir}/libgnomeuimm-2.6/proc
%{_libdir}/libgnomeuimm-2.6/include
%{_libdir}/libgnomeuimm-2.6/proc/m4
%{_libdir}/pkgconfig/*.pc

%changelog
* Fri Oct 03 2008 mboman@suse.de
- Update to version 2.24.0:
  + Cosmetic version bump
* Wed Apr 02 2008 rodrigo@suse.de
- Update to version 2.22.0:
  * Increase version for GNOME 2.22.0
  * Possible extra fix for gcc 4.3 pre-releases
* Wed Jan 30 2008 maw@suse.de
- Remove libtool archives.
* Wed Jan 30 2008 maw@suse.de
- Update to version 2.20.1:
  + Build fixes with gcc 4.3 pre-releases
  + Require newer versions of dependencies
- Remove upstreamed libgnomeuimm-random-return.patch and
  libgnomeuimm-implicit-declaration.patch.
* Tue Oct 30 2007 sbrabec@suse.cz
- Fixed gcc 4.3 compilation errors.
* Wed Oct 24 2007 sbrabec@suse.cz
- Do not call (too old) autoconf in older SuSE versions.
* Tue Sep 18 2007 maw@suse.de
- Update to version 2.20.0:
  + Cosmetic version bump.
* Sat Sep 01 2007 maw@suse.de
- Update to version 2.18.0:
  + Cosmetic version bump.
* Wed Jan 17 2007 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Tue Sep 19 2006 jhargadon@suse.de
- update to version 2.16.0
- Depend on latest libgnomemm, and use the
  new non-depecated Main constructor in the example
* Mon Feb 20 2006 aj@suse.de
- Reduce BuildRequires.
* Thu Jan 26 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 07 2005 sbrabec@suse.cz
- Updated to version 2.12.0 (GNOME 2.12).
* Fri Aug 05 2005 sbrabec@suse.cz
- Updated to version 2.10.0 (2.6 compatible branch).
* Thu Jun 02 2005 sbrabec@suse.cz
- Fixed devel requirements.
* Fri Feb 11 2005 ro@suse.de
- change to libsigc++12 in neededforbuild
* Wed May 19 2004 ro@suse.de
- added return value to end of non-void function
* Tue Feb 24 2004 ro@suse.de
- libtoolize and autoconf
* Wed Feb 18 2004 sbrabec@suse.cz
- Initial SuSE package version 2.0.0.
openSUSE Build Service is sponsored by