forked from pool/libdex
Accepting request 1069674 from GNOME:Next
Resub, new package OBS-URL: https://build.opensuse.org/request/show/1069674 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libdex?expand=0&rev=1
This commit is contained in:
commit
11e8f30f3b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
libdex-0.1.1.tar.xz
Normal file
3
libdex-0.1.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:393206cfd6ed0ac69e578e699342230e4645c532966024617d193086e90cce5d
|
||||
size 91172
|
18
libdex.changes
Normal file
18
libdex.changes
Normal file
@ -0,0 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 3 07:35:29 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 0.1.1:
|
||||
+ Fix soname versioning
|
||||
+ Documentation improvements
|
||||
+ Fix various GObject Introspection issues
|
||||
+ More backports for older GLib use
|
||||
+ Various ucontext fiber fixes for less-used architectures
|
||||
+ Fixes for various incorrect cast-align warnings
|
||||
+ Tweaks for better Forward portability
|
||||
+ Add some missing g_autoptr() definitions
|
||||
+ Add GCancellation integration to DexPromise
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 12:29:04 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Initial packaging for openSUSE.
|
127
libdex.spec
Normal file
127
libdex.spec
Normal file
@ -0,0 +1,127 @@
|
||||
#
|
||||
# spec file for package libdex
|
||||
#
|
||||
# Copyright (c) 2023 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/
|
||||
#
|
||||
|
||||
%define soname libdex-1-1
|
||||
|
||||
|
||||
Name: libdex
|
||||
Version: 0.1.1
|
||||
Release: 0
|
||||
Summary: a library supporting "Deferred Execution" for GNOME and GTK
|
||||
License: LGPL-2.1-or-later
|
||||
URL: https://gitlab.gnome.org/chergert/libdex
|
||||
Source0: https://download.gnome.org/sources/%{name}/0.1/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: c_compiler
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(atomic_ops)
|
||||
BuildRequires: pkgconfig(gi-docgen)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: pkgconfig(liburing)
|
||||
BuildRequires: pkgconfig(sysprof-capture-4)
|
||||
BuildRequires: pkgconfig(sysprof-4)
|
||||
BuildRequires: pkgconfig(vapigen)
|
||||
|
||||
%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 -n %soname
|
||||
Summary: Shared library for %name
|
||||
|
||||
%description -n %soname
|
||||
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.
|
||||
|
||||
This package contains the shared library for %name.
|
||||
|
||||
%package -n typelib-1_0-Dex-1_0
|
||||
Summary: Introspection bindings for %name
|
||||
|
||||
%description -n typelib-1_0-Dex-1_0
|
||||
This package contains the introspection bindings for %name.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libdex
|
||||
Requires: %soname = %{version}
|
||||
Requires: typelib-1_0-Dex-1_0 = %{version}
|
||||
|
||||
%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
|
||||
|
||||
%description devel-docs
|
||||
This package contains developer documentation for writing
|
||||
applications with libdex.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%meson \
|
||||
-D docs=true \
|
||||
-D examples=false \
|
||||
-D sysprof=true \
|
||||
%{nil}
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
|
||||
%ldconfig_scriptlets -n %soname
|
||||
|
||||
%files -n %soname
|
||||
%license COPYING
|
||||
%{_libdir}/libdex-1.so.1{,.*}
|
||||
|
||||
%files -n typelib-1_0-Dex-1_0
|
||||
%{_libdir}/girepository-1.0/Dex-1.typelib
|
||||
|
||||
%files devel
|
||||
%{_datadir}/gir-1.0/
|
||||
%{_datadir}/vala/
|
||||
%{_includedir}/libdex-1/
|
||||
%{_libdir}/libdex-1.so
|
||||
%{_libdir}/pkgconfig/libdex-1.pc
|
||||
|
||||
%files devel-docs
|
||||
%doc NEWS README.md
|
||||
%doc %{_datadir}/doc/libdex-1/
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user