File goocanvasmm.spec of Package goocanvasmm

#
# spec file for package goocanvasmm (Version 0.15.4)
#
# Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands.
#
# 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:           goocanvasmm
Version:        0.15.4
Release:        1
Summary:        C++ interface for goocanvas
Group:          Development/Libraries/GNOME
License:        LGPL v2.1 or later
URL:            http://gtkmm.sourceforge.net/
Source0:        %{name}-%{version}.tar.bz2
BuildRequires:  gcc-c++
BuildRequires:  glibmm2-devel
BuildRequires:  gtkmm2-devel
BuildRequires:  goocanvas-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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

%package -n lib%{name}-1_0-5
Summary:        C++ interface for goocanvas
Group:          System/Libraries

%description -n lib%{name}-1_0-5
This package provides a C++ interface for goocanvas. It is a
subpackage of the gtkmm project. The interface provides a convenient
interface for C++ programmers to create Gnome GUIs with GTK+'s
flexible object-oriented framework.


%package -n lib%{name}-devel
Summary:        C++ interface for goocanvas
Group:          Development/Libraries/GNOME
Requires:       lib%{name}-1_0-5 = %{version}
Requires:       goocanvas-devel
Requires:       glibmm2-devel
Requires:       gtkmm2-devel


%description -n lib%{name}-devel
This package provides a C++ interface for goocanvas. It is a
subpackage of the gtkmm project. The interface provides a convenient
interface for C++ programmers to create Gnome GUIs with GTK+'s
flexible object-oriented framework.

This package contains the libraries and header files needed for
developing applications.


%prep
%setup -q

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

%install
%makeinstall
find %{buildroot} -type f -name "*.la" -exec rm -f {} \;

%clean
rm -rf %{buildroot}

%post -n lib%{name}-1_0-5 -p /sbin/ldconfig

%postun -n lib%{name}-1_0-5 -p /sbin/ldconfig

%files -n lib%{name}-1_0-5
%defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/*.so.*

%files -n lib%{name}-devel
%defattr(-, root, root)
%{_includedir}/%{name}-1.0
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/%{name}-1.0
%{_datadir}/devhelp/books/%{name}-1.0
%{_datadir}/doc/%{name}-1.0
# Avoid BuildRequires on devhelp
%dir %{_datadir}/devhelp
%dir %{_datadir}/devhelp/books

%changelog
openSUSE Build Service is sponsored by