File gconfmm.spec of Package gconfmm

#
# spec file for package gconfmm
#
# Copyright (c) 2013 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.3
Release:        0
Summary:        C++ Interface for GConf
License:        LGPL-2.1+
Group:          System/GUI/GNOME
Url:            http://www.gtkmm.org/
Source:         http://download.gnome.org/sources/gconfmm/2.28/%{name}-%{version}.tar.bz2
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig(gconf-2.0)
BuildRequires:  pkgconfig(glibmm-2.4)
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 -n libgconfmm-2_6-1
Summary:        C++ Interface for GConf
Group:          System/Libraries
Provides:       %{name} = %{version}
Obsoletes:      %{name} < %{version}

%description -n libgconfmm-2_6-1
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
Summary:        C++ Interface for GConf
Group:          System/GUI/GNOME
Requires:       libgconfmm-2_6-1 = %{version}

%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 -n libgconfmm-2_6-1 -p /sbin/ldconfig

%postun -n libgconfmm-2_6-1 -p /sbin/ldconfig

%files -n libgconfmm-2_6-1
%defattr (-, root, root)
%doc AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README
%{_libdir}/*.so.*

%files devel
%defattr (-, root, root)
%doc %{_datadir}/doc/gconfmm-2.6/
%doc %{_datadir}/devhelp/books/gconfmm-2.6/
%{_includedir}/gconfmm-2.6/
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/gconfmm-2.6/

%changelog
openSUSE Build Service is sponsored by