Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
goocanvas
goocanvas.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File goocanvas.spec of Package goocanvas
# # spec file for package goocanvas # # 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/ # # Option to easily enable/disable introspection building. %define with_introspection 1 Name: goocanvas Version: 2.0.2 Release: 0 Summary: A cairo-based canvas widget for GTK+ License: LGPL-2.0 Group: Development/Libraries/GNOME Url: http://sourceforge.net/projects/goocanvas Source0: http://download.gnome.org/sources/goocanvas/2.0/%{name}-%{version}.tar.xz %if %{with_introspection} BuildRequires: gobject-introspection-devel %endif BuildRequires: translation-update-upstream BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(gtk+-3.0) BuildRoot: %{_tmppath}/%{name}-%{version}-build %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). %package devel Summary: A cairo-based canvas widget for GTK+ Group: Development/Libraries/GNOME Requires: libgoocanvas-2_0-9 = %{version} %if %{with_introspection} Requires: typelib-1_0-GooCanvas-2_0 = %{version} %endif %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). %package -n libgoocanvas-2_0-9 Summary: A cairo-based canvas widget for GTK+ Group: System/Libraries # Needed to make lang package installable Provides: %{name} = %{version} Recommends: %{name}-lang %description -n libgoocanvas-2_0-9 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). %if %{with_introspection} %package -n typelib-1_0-GooCanvas-2_0 Summary: A cairo-based canvas widget for GTK+ -- Introspection bindings Group: System/Libraries %description -n typelib-1_0-GooCanvas-2_0 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). This package provides the GObject Introspection bindings for GooCanvas. %endif %lang_package %prep %setup -q translation-update-upstream %build %configure \ --disable-static \ %if %{with_introspection} --enable-introspection %else --disable-introspection %endif make %{?_smp_mflags} %install %makeinstall rm %{buildroot}%{_libdir}/*.*a %find_lang goocanvas2 %post -n libgoocanvas-2_0-9 -p /sbin/ldconfig %postun -n libgoocanvas-2_0-9 -p /sbin/ldconfig %clean rm -rf %{buildroot} %files -n libgoocanvas-2_0-9 %defattr(-, root, root) %doc AUTHORS NEWS README TODO %{_libdir}/*.so.* %if %{with_introspection} %files -n typelib-1_0-GooCanvas-2_0 %defattr(-,root,root) %{_libdir}/girepository-1.0/GooCanvas-2.0.typelib %endif %files devel %defattr(-, root, root) %{_includedir}/%{name}-2.0/ %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so %if %{with_introspection} %{_datadir}/gir-1.0/GooCanvas-2.0.gir %endif %doc %{_datadir}/gtk-doc/html/goocanvas2/ %files lang -f goocanvas2.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor