File hippo-canvas.spec of Package hippo-canvas

#
# spec file for package hippo-canvas (Version 0.3.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:           hippo-canvas
BuildRequires:  gtk-doc
BuildRequires:  gtk2-devel
BuildRequires:  librsvg-devel
BuildRequires:  pkg-config
BuildRequires:  python-devel
BuildRequires:  python-gtk-devel
Version:        0.3.0
Release:        3
Source:         %{name}-%{version}.tar.bz2
# PATCH-LIST-START
# PATCH-LIST-END
Summary:        Cairo/GObject/GTK+ based canvas
Group:          System/GUI/GNOME
License:        LGPL v2.0 only
Url:            http://live.gnome.org/HippoCanvas
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libhippocanvas-1-0 = %{version}-%{release}

%description
Cairo/GObject/GTK+ based canvas



Authors:
--------
    Havoc Pennington <hp@pobox.com>
    Owen Taylor <otaylor@redhat.com>

%package -n libhippocanvas-1-0
License:        LGPL v2.0 only
Group:          System/GUI/GNOME
Summary:        Cairo/GObject/GTK+ based canvas

%description -n libhippocanvas-1-0
Cairo/GObject/GTK+ based canvas



Authors:
--------
    Havoc Pennington <hp@pobox.com>
    Owen Taylor <otaylor@redhat.com>

%package devel
License:        LGPL v2.0 only
Requires:       gtk2-devel
Requires:       libhippocanvas-1-0 = %{version}
Group:          System/GUI/GNOME
Summary:        Cairo/GObject/GTK+ based canvas

%description devel
Cairo/GObject/GTK+ based canvas



Authors:
--------
    Havoc Pennington <hp@pobox.com>
    Owen Taylor <otaylor@redhat.com>

%package doc
License:        LGPL v2.0 only
Requires:       %{name}-devel
Requires:       gtk-doc
Group:          System/GUI/GNOME
Summary:        Cairo/GObject/GTK+ based canvas

%description doc
Cairo/GObject/GTK+ based canvas



Authors:
--------
    Havoc Pennington <hp@pobox.com>
    Owen Taylor <otaylor@redhat.com>

%package -n python-hippo-canvas
License:        LGPL v2.0 only
Requires:       libhippocanvas-1-0 = %{version}
Group:          System/GUI/GNOME
Summary:        Cairo/GObject/GTK+ based canvas

%description -n python-hippo-canvas
Cairo/GObject/GTK+ based canvas



Authors:
--------
    Havoc Pennington <hp@pobox.com>
    Owen Taylor <otaylor@redhat.com>

%prep
%setup
# PATCH-APPLICATION-START
# PATCH-APPLICATION-END

%build
%configure

%install
%makeinstall
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a
rm $RPM_BUILD_ROOT/%{py_sitedir}/*.*a

%clean
rm -rf $RPM_BUILD_ROOT

%post -n libhippocanvas-1-0 -p /sbin/ldconfig

%postun -n libhippocanvas-1-0 -p /sbin/ldconfig

%files -n libhippocanvas-1-0
%defattr(-, root, root)
%{_libdir}/*.so.*

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

%files doc
%defattr(-, root, root)
%{_datadir}/gtk-doc/html/hippo-canvas

%files -n python-hippo-canvas
%defattr(-, root, root)
%{py_sitedir}/hippo.so

%changelog
* Thu Sep 04 2008 maw@suse.de
- Make the debuginfo and debugsource subpackages require the
  shared library subpackage libhippocanvas-1-0
- Make the -devel subpackage require gtk2-devel.
* Mon Sep 01 2008 maw@suse.de
- Initial package, version 0.3.0.
openSUSE Build Service is sponsored by