File cairomm.spec of Package cairomm

#
# spec file for package cairomm (Version 1.8.2)
#
# 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/
#

# norootforbuild


Name:           cairomm
BuildRequires:  cairo-devel
BuildRequires:  gcc-c++
BuildRequires:  libsigc++2-devel
BuildRequires:  update-desktop-files
# needs doxygen for the documentation
BuildRequires:  doxygen
Version:        1.8.2
Release:        1
Url:            http://cairographics.org
Group:          System/GUI/GNOME
License:        LGPL v2.1 or later
Summary:        C++ Interface for Cairo
Source:         %{name}-%{version}.tar.bz2
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This package provides a C++ interface for Cairo.



Authors:
--------
    Murray Cumming
    Jonathon Jongsma

%package devel
License:        LGPL v2.1 or later
Group:          Development/Libraries/GNOME
Summary:        C++ interface for Cairo
Requires:       %{name} = %{version} cairo-devel
Requires:       libsigc++2-devel

%description devel
This package provides a C++ interface for Cairo.



Authors:
--------
    Murray Cumming
    Jonathon Jongsma

%package doc
License:        LGPL v2.1 or later
Group:          Documentation/HTML
Summary:        C++ Interface for Cairo

%description doc
This package provides a C++ interface for Cairo.



Authors:
--------
    Murray Cumming
    Jonathon Jongsma

%prep
%setup -q

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

%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -f %{buildroot}%{_libdir}/*.la

%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
%{_libdir}/*.so.*

%files devel
%defattr (-, root, root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*

%files doc
%defattr (-, root, root)
%{_datadir}/doc/libcairomm-1.0/

%changelog
openSUSE Build Service is sponsored by