File goocanvas.spec of Package goocanvas
#
# spec file for package goocanvas (Version 0.12)
#
# 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: goocanvas
BuildRequires: cairo-devel
BuildRequires: gtk-doc
BuildRequires: gtk2-devel
Summary: A cairo-based canvas widget for GTK+
Version: 0.12
Release: 1
License: LGPL v2.1 or later
Group: Development/Libraries/GNOME
Source0: %{name}-%{version}.tar.bz2
Url: http://sourceforge.net/projects/goocanvas
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
Requires: %{name}-lang = %{version}
Requires: libgoocanvas3 = %{version}
%description
GooCanvas is similar in many ways to GnomeCanvas and FooCanvas. But it
uses cairo for rendering, has an optional model/view split, and uses
interfaces for items & models (so you can easily turn any application
object into a canvas item or model).
Authors:
--------
Damon Chaplin <damon@gnome.org>
%package devel
License: LGPL v2.0 only
Requires: %{name} = %{version}
Requires: cairo-devel gtk2-devel pkg-config
Summary: A cairo-based canvas widget for GTK+
Group: Development/Libraries/GNOME
AutoReqProv: on
%description devel
GooCanvas is similar in many ways to GnomeCanvas and FooCanvas. But it
uses cairo for rendering, has an optional model/view split, and uses
interfaces for items & models (so you can easily turn any application
object into a canvas item or model).
Authors:
--------
Damon Chaplin <damon@gnome.org>
%package doc
License: LGPL v2.0 only
Summary: A cairo-based caA cairo-based canvas widget for GTK+nvas widget for GTK+
Group: Development/Libraries/GNOME
AutoReqProv: on
Requires: %{name} = %{version}
%description doc
GooCanvas is similar in many ways to GnomeCanvas and FooCanvas. But it
uses cairo for rendering, has an optional model/view split, and uses
interfaces for items & models (so you can easily turn any application
object into a canvas item or model).
Authors:
--------
Damon Chaplin <damon@gnome.org>
%package -n libgoocanvas3
License: LGPL v2.0 only
Summary: A cairo-based canvas widget for GTK+
Group: Development/Libraries/GNOME
Requires: %{name} >= %{version}
%description -n libgoocanvas3
GooCanvas is similar in many ways to GnomeCanvas and FooCanvas. But it
uses cairo for rendering, has an optional model/view split, and uses
interfaces for items & models (so you can easily turn any application
object into a canvas item or model).
Authors:
--------
Damon Chaplin <damon@gnome.org>
%lang_package
%prep
%setup -n %{name}-%{version}
%build
%configure
CFLAGS=$RPM_OPT_FLAGS make
%install
%makeinstall
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a
%find_lang %{name}
%post -n libgoocanvas3 -p /sbin/ldconfig
%postun -n libgoocanvas3 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS NEWS README TODO
%files -n libgoocanvas3
%defattr(-, root, root)
%{_libdir}/*.so.*
%files devel
%defattr(-, root, root)
%dir %{_includedir}/%{name}-1.0
%{_includedir}/%{name}-1.0/*.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%files doc
%defattr(-, root, root)
%dir %{_datadir}/gtk-doc/html/goocanvas
%{_datadir}/gtk-doc/html/goocanvas/*.html
%{_datadir}/gtk-doc/html/goocanvas/*.sgml
%{_datadir}/gtk-doc/html/goocanvas/*.css
%{_datadir}/gtk-doc/html/goocanvas/*.png
%{_datadir}/gtk-doc/html/goocanvas/*.devhelp
%{_datadir}/gtk-doc/html/goocanvas/*.devhelp2
%files lang -f %{name}.lang
%changelog
* Fri Oct 03 2008 mboman@suse.de
- Update to version 0.12:
+ Fixed redraws of tables after updates.
+ Fixed problems compiling with libtool 2.2.
* Fri Sep 12 2008 maw@suse.de
- Update to version 0.11:
+ Use the tables' fill and stroke colors to paint its grid and
background
+ Emit "children_changed" ATK signal when child items
added/removed.
+ Fixed bug when clipping the entire canvas
+o Got rid of the XXX_DISABLE_DEPRECATED compilation flags.
* Wed Aug 20 2008 maw@suse.de
- Add goocanvas-g_signal.patch, which updates some deprecated
code.
* Tue Jul 01 2008 maw@suse.de
- Update to version 0.10:
+ Added support for a border and grid lines to GooCanvasTable,
with "horz-grid-line-width", "vert-grid-line-width",
"x-border-spacing", and "y-border-spacing" properties
+ Added "clear-background" property to GooCanvas, to allow
subclasses to paint their own background if desired
+ Fixed crash when rendering a GooCanvasTable that hasn't been
updated
+ Fixed possible infinite loop in GooCanvasTable layout
+ Added goo_canvas_text_get_natural_extents() to get the natural
extents of the text
+ Made "stroke-color-rgba" and "fill-color-rgba" properties
read/write
+ Added goo_canvas_item_get_simple_transform() and
goo_canvas_item_model_get_simple_transform(), which do the
opposite of the set_simple_transform() functions
+ Improved documentation on general architecture and creating
new items.
* Thu Dec 06 2007 maw@suse.de
- Import into autobuild
- Improve packaging so as to pass internal rpmlist checks.
* Fri Nov 02 2007 maw@suse.de
- Initial package.