commit 3c4a92697575b476b66ec1889418f317e218d89c87d0b5c4d97b1f41b696af82 Author: Adrian Schröter Date: Fri May 3 14:59:24 2024 +0200 Sync from SUSE:SLFO:Main libglib-testing revision 29db8bf9eb4aa4c5b6e723dce550df6c diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/libglib-testing-0.1.1.tar.bz2 b/libglib-testing-0.1.1.tar.bz2 new file mode 100644 index 0000000..a43258f --- /dev/null +++ b/libglib-testing-0.1.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64714ca5d9d5d0b72449af225839e094f8aa0aa318ceaae8b31756fb555aa80a +size 30112 diff --git a/libglib-testing.changes b/libglib-testing.changes new file mode 100644 index 0000000..47e31a8 --- /dev/null +++ b/libglib-testing.changes @@ -0,0 +1,13 @@ +------------------------------------------------------------------- +Fri Jun 24 12:02:02 UTC 2022 - Dominique Leuenberger + +- Update to version 0.1.1: + + Bugs fixed: + - docs: Make the API stability policy a little more mature. + - signal-logger: Don’t pass NULL to G_VALUE_LCOPY(). + - Fix subproject build with recent meson. + +------------------------------------------------------------------- +Sat Sep 5 21:14:27 UTC 2020 - Dominique Leuenberger + +- Initial package, version 0.1.0. diff --git a/libglib-testing.spec b/libglib-testing.spec new file mode 100644 index 0000000..5651769 --- /dev/null +++ b/libglib-testing.spec @@ -0,0 +1,81 @@ +# +# spec file for package libglib-testing +# +# Copyright (c) 2022 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/ +# + + +Name: libglib-testing +Version: 0.1.1 +Release: 0 +Summary: GLib test harness and mocking framework +License: LGPL-2.1-or-later +URL: https://gitlab.gnome.org/pwithnall/libglib-testing +Source: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2 +BuildRequires: gtk-doc +BuildRequires: meson >= 0.45.0 +BuildRequires: pkgconfig(gio-2.0) >= 2.44 +BuildRequires: pkgconfig(glib-2.0) >= 2.44 +BuildRequires: pkgconfig(gobject-2.0) >= 2.44 + +%description +libglib-testing is a test library providing test harnesses and mock +classes which complement the classes provided by GLib. It is +intended to be used by any project which uses GLib and which wants +to write internal unit tests. + +%package -n libglib-testing-0-0 +Summary: GLib test harness and mocking framework + +%description -n libglib-testing-0-0 +libglib-testing is a test library providing test harnesses and mock +classes which complement the classes provided by GLib. It is +intended to be used by any project which uses GLib and which wants +to write internal unit tests. + +%package devel +Summary: GLib test harness and mocking framework +Requires: libglib-testing-0-0 = %{version} + +%description devel +libglib-testing is a test library providing test harnesses and mock +classes which complement the classes provided by GLib. It is +intended to be used by any project which uses GLib and which wants +to write internal unit tests. + +%prep +%autosetup + +%build +%meson +%meson_build + +%install +%meson_install + +%post -n libglib-testing-0-0 -p /sbin/ldconfig +%postun -n libglib-testing-0-0 -p /sbin/ldconfig + +%files -n libglib-testing-0-0 +%license COPYING +%doc NEWS README +%{_libdir}/libglib-testing-0.so.* + +%files devel +%{_libdir}/pkgconfig/glib-testing-0.pc +%{_includedir}/glib-testing-0 +%{_datadir}/gtk-doc/html/%{name}/ +%{_libdir}/libglib-testing-0.so + +%changelog