File gconfmm.spec of Package gconfmm

#
# spec file for package gconfmm (Version 2.28.0)
#
# Copyright (c) 2009 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/
#



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

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

%prep
%setup -q

%build
%configure --disable-static
make %{?jobs:-j%jobs}

%install
%makeinstall
rm %{buildroot}%{_libdir}/*.la

%clean
rm -rf %{buildroot}

%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
openSUSE Build Service is sponsored by