From 938348c2f333ac70ab5511c341c45f1840154f6c0a6596cb9d65543a8e74de7e Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 19 Mar 2024 13:33:27 +0000 Subject: [PATCH] Accepting request 1159281 from GNOME:Next GNOME 46 OBS-URL: https://build.opensuse.org/request/show/1159281 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/msgraph?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + _service | 19 +++++++++ msgraph-0.2.1.obscpio | 3 ++ msgraph.changes | 11 ++++++ msgraph.obsinfo | 4 ++ msgraph.spec | 89 +++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 150 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 msgraph-0.2.1.obscpio create mode 100644 msgraph.changes create mode 100644 msgraph.obsinfo create mode 100644 msgraph.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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..d8e2a6a --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + + git + https://gitlab.gnome.org/GNOME/msgraph.git + 0.2.1 + @PARENT_TAG@+@TAG_OFFSET@ + v?(.*)\+0 + \1 + + + + + *.tar + zst + + + + diff --git a/msgraph-0.2.1.obscpio b/msgraph-0.2.1.obscpio new file mode 100644 index 0000000..f7d259d --- /dev/null +++ b/msgraph-0.2.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bcef36f046f4e9ed7f80d332142c46d8fb65d830a8641b41ab983004e9eaf155 +size 411659 diff --git a/msgraph.changes b/msgraph.changes new file mode 100644 index 0000000..d819a9a --- /dev/null +++ b/msgraph.changes @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Mon Mar 4 09:06:46 UTC 2024 - Dominique Leuenberger + +- Update to version 0.2.1: + + Fix header include leading to compilation problem. + + Update uhttpmock requirement to pass tests. + +------------------------------------------------------------------- +Fri Mar 1 07:46:59 UTC 2024 - Dominique Leuenberger + +- Initial package, version 0.2.0 diff --git a/msgraph.obsinfo b/msgraph.obsinfo new file mode 100644 index 0000000..eab42e9 --- /dev/null +++ b/msgraph.obsinfo @@ -0,0 +1,4 @@ +name: msgraph +version: 0.2.1 +mtime: 1709541381 +commit: 9f3e53a7f38fa178e4c78caf271f9b93b3cf4c9b diff --git a/msgraph.spec b/msgraph.spec new file mode 100644 index 0000000..12ba47f --- /dev/null +++ b/msgraph.spec @@ -0,0 +1,89 @@ +# +# spec file for package msgraph +# +# Copyright (c) 2024 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: msgraph +Version: 0.2.1 +Release: 0 +Summary: Library for accessing online serive APIs using MS Graph protocol +License: LGPL-3.0-or-later +URL: https://gitlab.gnome.org/GNOME/msgraph +Source: %{name}-%{version}.tar.zst +BuildRequires: meson >= 0.63.0 +BuildRequires: pkgconfig +BuildRequires: pkgconfig(gi-docgen) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(glib-2.0) >= 2.28 +BuildRequires: pkgconfig(goa-1.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(libsoup-3.0) +BuildRequires: pkgconfig(libuhttpmock-1.0) > 0.9.0 +BuildRequires: pkgconfig(rest-1.0) + +%description +libmsgraph is a GLib-based library for accessing online serive APIs using MS Graph protocol. + +%package -n libmsgraph-0-1 +Summary: Library for accessing online serive APIs using MS Graph protocol + +%description -n libmsgraph-0-1 +libmsgraph is a GLib-based library for accessing online serive APIs using MS Graph protocol. + +%package -n typelib-1_0-Msg-0 +Summary: Library for accessing online serive APIs using MS Graph protocol + +%description -n typelib-1_0-Msg-0 +libmsgraph is a GLib-based library for accessing online serive APIs using MS Graph protocol. + +%package devel +Summary: Library for accessing online serive APIs using MS Graph protocol +Requires: libmsgraph-0-1 = %{version} +Requires: typelib-1_0-Msg-0 = %{version} + +%description devel +libmsgraph is a GLib-based library for accessing online serive APIs using MS Graph protocol. + +%prep +%autosetup + +%build +%meson +%meson_build + +%install +%meson_install + +%ldconfig_scriptlets -n libmsgraph-0-1 + +%files -n libmsgraph-0-1 +%license COPYING +%doc NEWS +%{_libdir}/libmsgraph-0.so.%{version} +%{_libdir}/libmsgraph-0.so.1 + +%files -n typelib-1_0-Msg-0 +%{_libdir}/girepository-1.0/Msg-0.typelib + +%files devel +%{_includedir}/msg/ +%{_datadir}/doc/msgraph-0/ +%{_libdir}/libmsgraph-0.so +%{_libdir}/pkgconfig/msgraph-0.1.pc +%{_datadir}/gir-1.0/Msg-0.gir + +%changelog