Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory
goocanvas2
goocanvas2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File goocanvas2.spec of Package goocanvas2
# # spec file for package goocanvas2 # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # # Option to easily enable/disable introspection building. %define with_introspection 1 %define _name goocanvas Name: goocanvas2 Version: 2.0.4 Release: 0 Summary: A Cairo-based canvas widget for GTK+ License: LGPL-2.0-only Group: Development/Libraries/GNOME URL: https://wiki.gnome.org/GooCanvas Source0: https://download.gnome.org/sources/goocanvas/2.0/%{_name}-%{version}.tar.xz BuildRequires: pkgconfig BuildRequires: pkgconfig(cairo) >= 1.10.0 BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0 %if %{with_introspection} BuildRequires: gobject-introspection-devel %endif %description GooCanvas is a canvas widget for GTK+ that uses the Cairo 2D library for drawing. It has an optional model/view split, and uses interfaces for items and models, so any application object can be turned into a canvas item or model. %package devel Summary: Development files for GooCanvas 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 a canvas widget for GTK+ that uses the Cairo 2D library for drawing. This subpackage contains the header files for developing applications that want to make use of libgoocanvas. %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}2 = %{version} %description -n libgoocanvas-2_0-9 GooCanvas is a canvas widget for GTK+ that uses the Cairo 2D library for drawing. It has an optional model/view split, and uses interfaces for items and models, so any application object can be turned into a canvas item or model. %if %{with_introspection} %package -n typelib-1_0-GooCanvas-2_0 Summary: Introspection bindings for GooCanvas Group: System/Libraries %description -n typelib-1_0-GooCanvas-2_0 GooCanvas is a canvas widget for GTK+ that uses the Cairo 2D library for drawing. This package provides the GObject Introspection bindings for GooCanvas. %endif %lang_package %prep %autosetup -p1 -n %{_name}-%{version} %build %configure \ --disable-static \ %if %{with_introspection} --enable-introspection %else --disable-introspection %endif %make_build %install %make_install 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 %files -n libgoocanvas-2_0-9 %doc AUTHORS NEWS README TODO %{_libdir}/*.so.* %if %{with_introspection} %files -n typelib-1_0-GooCanvas-2_0 %{_libdir}/girepository-1.0/GooCanvas-2.0.typelib %endif %files devel %{_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/ %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