# # spec file for package libdazzle # # Copyright (c) 2018 SUSE LINUX 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/ # Name: libdazzle Version: 3.26.3 Release: 0 Summary: Collection of fancy features for GLib and Gtk+ License: GPL-3.0+ AND LGPL-2.1+ Group: Development/Tools/Other Url: https://git.gnome.org/browse/libdazzle/ Source0: http://download.gnome.org/sources/libdazzle/3.26/%{name}-%{version}.tar.xz BuildRequires: gtk-doc BuildRequires: meson BuildRequires: pkgconfig BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(vapigen) %description This library is a companion library to GObject and Gtk+. It provides various features that we wish were in the underlying library but cannot for various reasons. In most cases, they are wildly out of scope for those libraries. In other cases, our design isn't quite generic enough to work for everyone. %package -n libdazzle-1_0-0 Summary: Collection of fancy features for GLib and Gtk+ -- Library file Group: System/Libraries %description -n libdazzle-1_0-0 This library is a companion library to GObject and Gtk+. It provides various features that we wish were in the underlying library but cannot for various reasons. In most cases, they are wildly out of scope for those libraries. In other cases, our design isn't quite generic enough to work for everyone. This package provides the library file for libdazzle. %package -n typelib-1_0-libdazzle-1_0 Summary: Collection of fancy features for GLib and Gtk+ -- Introspection bindings Group: System/Libraries %description -n typelib-1_0-libdazzle-1_0 This library is a companion library to GObject and Gtk+. It provides various features that we wish were in the underlying library but cannot for various reasons. In most cases, they are wildly out of scope for those libraries. In other cases, our design isn't quite generic enough to work for everyone.. This package provides the GObject Introspection bindings for libdazzle. %package devel Summary: Collection of fancy features for GLib and Gtk+ -- Development Files Group: Development/Tools/Other Requires: %{name} = %{version} Requires: typelib-1_0-libdazzle-1_0 = %{version} %description devel This library is a companion library to GObject and Gtk+. It provides various features that we wish were in the underlying library but cannot for various reasons. In most cases, they are wildly out of scope for those libraries. In other cases, our design isn't quite generic enough to work for everyone. -- Development Files %prep %autosetup %build %{meson} \ -Denable_tracing=false \ -Denable_profiling=false \ -Denable_rdtscp=false \ -Denable_tools=true \ -Dwith_introspection=true \ -Dwith_vapi=true \ -Denable_gtk_doc=true \ -Denable_tests=false \ %{nil} %{meson_build} %install %{meson_install} %post -n libdazzle-1_0-0 -p /sbin/ldconfig %postun -n libdazzle-1_0-0 -p /sbin/ldconfig %files %{_bindir}/dazzle-list-counters %files -n libdazzle-1_0-0 %doc COPYING %{_libdir}/libdazzle-1.0.so.* %files -n typelib-1_0-libdazzle-1_0 %{_libdir}/girepository-1.0/Dazzle-1.0.typelib %files devel %doc AUTHORS CONTRIBUTING.md NEWS README.md %doc %{_datadir}/gtk-doc/html/libdazzle/ %{_includedir}/libdazzle-1.0/ %{_datadir}/gir-1.0/Dazzle-1.0.gir %{_libdir}/libdazzle-1.0.so %{_libdir}/pkgconfig/libdazzle-1.0.pc %dir %{_datadir}/vala/vapi %{_datadir}/vala/vapi/libdazzle-1.0.deps %{_datadir}/vala/vapi/libdazzle-1.0.vapi %changelog