2023-02-23 17:53:17 +00:00
|
|
|
Name: libdex
|
2024-11-05 20:02:52 +00:00
|
|
|
Version: 0.8.1
|
2023-02-23 17:53:17 +00:00
|
|
|
Release: %autorelease
|
|
|
|
Summary: a library supporting "Deferred Execution" for GNOME and GTK
|
|
|
|
|
|
|
|
License: LGPL-2.1-or-later
|
2023-03-03 07:04:41 +00:00
|
|
|
URL: https://gitlab.gnome.org/GNOME/libdex
|
2024-11-05 20:02:52 +00:00
|
|
|
Source0: https://download.gnome.org/sources/libdex/0.8/%{name}-%{version}.tar.xz
|
2024-06-12 18:25:43 +00:00
|
|
|
|
2023-02-23 17:53:17 +00:00
|
|
|
BuildRequires: /usr/bin/vapigen
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gi-docgen
|
|
|
|
BuildRequires: libatomic
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
BuildRequires: pkgconfig(liburing)
|
|
|
|
BuildRequires: pkgconfig(sysprof-capture-4)
|
|
|
|
|
|
|
|
%description
|
|
|
|
Dex is a library supporting "Deferred Execution" with the explicit goal
|
|
|
|
of integrating with GNOME and GTK-based applications.
|
|
|
|
It provides primatives for supporting futures in a variety of ways with both
|
|
|
|
read-only and writable views. Additionally, integration with existing
|
|
|
|
asynchronous-based APIs is provided through the use of wrapper promises.
|
|
|
|
"Fibers" are implemented which allows for writing synchronous looking code
|
|
|
|
which calls asynchronous APIs from GIO underneath.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for libdex
|
|
|
|
Requires: libdex%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the libraries and header files that are needed for
|
|
|
|
writing applications with libdex.
|
|
|
|
|
|
|
|
%package devel-docs
|
|
|
|
Summary: Developer documentation for libdex
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: libdex = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel-docs
|
|
|
|
This package contains developer documentation for writing applications with
|
|
|
|
libdex.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
%meson \
|
|
|
|
-Ddocs=true \
|
|
|
|
-Dexamples=false \
|
|
|
|
-Dsysprof=true
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%check
|
|
|
|
%meson_test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%doc NEWS README.md
|
|
|
|
%{_libdir}/libdex-1.so.1{,.*}
|
|
|
|
%{_libdir}/girepository-1.0/
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_datadir}/gir-1.0/
|
|
|
|
%{_datadir}/vala/
|
|
|
|
%{_includedir}/libdex-1/
|
|
|
|
%{_libdir}/libdex-1.so
|
|
|
|
%{_libdir}/pkgconfig/libdex-1.pc
|
|
|
|
|
|
|
|
%files devel-docs
|
|
|
|
%doc %{_docdir}/libdex-1/
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%autochangelog
|