File gconfmm.spec of Package gconfmm

#
# spec file for package gconfmm (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:           gconfmm
BuildRequires:  gcc-c++ gconf2-devel gtkmm2-devel update-desktop-files
Version:        2.24.0
Release:        1
Url:            http://www.gtkmm.org/
Group:          System/GUI/GNOME
License:        LGPL v2.1 or later
Summary:        C++ Interface for GConf (Part of the GNOME Project)
Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/2.16/%{name}-%{version}.tar.bz2
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This package provides a C++ interface for GConf. It is a subpackage of
the gnomemm project. The interface provides a convenient interface for
C++ programmers to use GConf with flexible object-oriented framework.



Authors:
--------
    Murray Cumming <murrayc@usa.net>
    Gergo Erdi <cactus@cactus.rulez.org>

%package devel
License:        LGPL v2.1 or later
Group:          System/GUI/GNOME
Summary:        C++ Interface for GConf (a part of the GNOME project)
Requires:       %{name} = %{version} gtkmm2-devel glibmm2-devel gconf2-devel

%description devel
This package provides a C++ interface for GConf. It is a subpackage of
the gnomemm project. The interface provides a convenient interface for
C++ programmers to use GConf with flexible object-oriented framework.



Authors:
--------
    Murray Cumming <murrayc@usa.net>
    Gergo Erdi <cactus@cactus.rulez.org>

%prep
%setup -q

%build
%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 COPYING.LIB ChangeLog INSTALL NEWS README
%{_libdir}/*.so.*

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

%changelog
* Wed Oct 01 2008 mboman@suse.de
- Update to version 2.24.0:
  + Updated version to match gnome 2.24.
  + Added recursive_unset(). Fixes bgo#549158.
  + Added notify()
* Tue Apr 01 2008 vuntz@suse.de
- Update to version 2.22.0:
  + Fixed Windows build.
* Wed Jan 30 2008 maw@suse.de
- Remove libtool archives.
* Tue Sep 18 2007 maw@suse.de
- Update to version 2.20.0:
  + Cosmetic version bump.
- s#%%run_ldconfig#/sbin/ldconfig# in %%post and %%postun.
* Tue Sep 11 2007 mauro@suse.de
- Update to version 2.18.1
  + SetInterface.h: Use #pragma GCC system_header
  to supress warnings about the lack of a virtual destructor.
  (Martin Ejdestig, Bug #460969)
  + Build: Check for both m4 and M4 in the GNU m4 output,
  to fix the build on some platforms.
  (Yselkowitz , Bug #423990)
* 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.
* Wed Nov 29 2006 sbrabec@suse.cz
- Require new package names gtkmm2-devel and glibmm2-devel.
* Sat Sep 16 2006 jhargadon@suse.de
- update to version 2.16.0
- Fixed build when using --enable-api-exceptions=no with glibmm
- Fix the regular build
* 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
- Fixed devel dependencies.
* 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 Apr 15 2005 sbrabec@suse.cz
- Fixed cast from pointer to integer.
* Tue Feb 22 2005 sbrabec@suse.cz
- Updated to version 2.0.2.
* Fri Feb 11 2005 ro@suse.de
- change to libsigc++12 in neededforbuild
* Wed Feb 18 2004 sbrabec@suse.cz
- Set CXXFLAGS properly.
* Wed Feb 18 2004 sbrabec@suse.cz
- Initial SuSE package version 2.0.1.