From 8d3aab0ff7b76fcf08909b92f8fb3181a4ccc3e11165c70f87c1ba961c763b67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 15:32:47 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main libqrtr-glib revision 5a9d13f08ca9a9282499f6b45c89b8a7 --- .gitattributes | 23 +++++++++ libqrtr-glib-1.2.2.tar.bz2 | 3 ++ libqrtr-glib.changes | 5 ++ libqrtr-glib.spec | 101 +++++++++++++++++++++++++++++++++++++ 4 files changed, 132 insertions(+) create mode 100644 .gitattributes create mode 100644 libqrtr-glib-1.2.2.tar.bz2 create mode 100644 libqrtr-glib.changes create mode 100644 libqrtr-glib.spec 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/libqrtr-glib-1.2.2.tar.bz2 b/libqrtr-glib-1.2.2.tar.bz2 new file mode 100644 index 0000000..5e2c8ed --- /dev/null +++ b/libqrtr-glib-1.2.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:69ec8883d887a426c6402440b200fa53c41e9da8e098333369f2388d3559e856 +size 26398 diff --git a/libqrtr-glib.changes b/libqrtr-glib.changes new file mode 100644 index 0000000..089017d --- /dev/null +++ b/libqrtr-glib.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sat May 21 12:30:54 UTC 2022 - Callum Farmer + +- Initial package version 1.2.2 + diff --git a/libqrtr-glib.spec b/libqrtr-glib.spec new file mode 100644 index 0000000..01178a4 --- /dev/null +++ b/libqrtr-glib.spec @@ -0,0 +1,101 @@ +# +# spec file for package libqrtr-glib +# +# 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: libqrtr-glib +Version: 1.2.2 +Release: 0 +Summary: Qualcomm IPC Router protocol helper library +License: LGPL-2.1-or-later +Group: Productivity/Networking/System +URL: https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib +Source0: https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib/-/archive/%{version}/%{name}-%{version}.tar.bz2 +BuildRequires: meson +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gio-unix-2.0) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: gtk-doc + +%description +libqrtr-glib is a glib-based library to use and manage the QRTR (Qualcomm +IPC Router) bus. + +%package -n libqrtr-glib0 +Summary: Qualcomm IPC Router protocol helper library +Group: System/Libraries + +%description -n libqrtr-glib0 +libqrtr-glib is a glib-based library to use and manage the QRTR (Qualcomm +IPC Router) bus. + +%package -n typelib-1_0-Qrtr-1_0 +Summary: Introspection bindings for the Qualcomm IPC Router protocol helper library +Group: System/Libraries + +%description -n typelib-1_0-Qrtr-1_0 +This package provides the introspection bindings for the Qualcomm IPC Router protocol helper library. + +%package devel +Summary: Development files for the Qualcomm IPC Router protocol helper library +Group: Development/Libraries/C and C++ +Requires: libqrtr-glib0 = %{version} +Requires: typelib-1_0-Qrtr-1_0 = %{version} + +%description devel +This package provides the development files for the Qualcomm IPC Router protocol helper library. + +%package devel-doc +Summary: Documentation files for the Qualcomm IPC Router protocol helper library +Group: Documentation/HTML +BuildArch: noarch +Supplements: (%{name}-devel and patterns-base-documentation) + +%description devel-doc +This package provides the documentation for the Qualcomm IPC Router protocol helper library. + +%prep +%autosetup + +%build +%meson +%meson_build + +%install +%meson_install + +%post -n libqrtr-glib0 -p /sbin/ldconfig +%postun -n libqrtr-glib0 -p /sbin/ldconfig + +%files -n libqrtr-glib0 +%{_libdir}/libqrtr-glib.so.* + +%files -n typelib-1_0-Qrtr-1_0 +%{_libdir}/girepository-1.0/Qrtr-1.0.typelib + +%files devel +%{_datadir}/gir-1.0/Qrtr-1.0.gir +%{_includedir}/libqrtr-glib +%{_libdir}/libqrtr-glib.so +%{_libdir}/pkgconfig/qrtr-glib.pc + +%files devel-doc +%license LICENSES/LGPL-2.1-or-later.txt +%doc AUTHORS NEWS README.md +%{_datadir}/gtk-doc/html/libqrtr-glib + +%changelog