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
This commit is contained in:
Dominique Leuenberger 2024-03-19 13:33:27 +00:00 committed by Git OBS Bridge
commit 938348c2f3
7 changed files with 150 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

19
_service Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/msgraph.git</param>
<param name="revision">0.2.1</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v?(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<!-- <param name="changesgenerate">enable</param> -->
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual" />
</services>

3
msgraph-0.2.1.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bcef36f046f4e9ed7f80d332142c46d8fb65d830a8641b41ab983004e9eaf155
size 411659

11
msgraph.changes Normal file
View File

@ -0,0 +1,11 @@
-------------------------------------------------------------------
Mon Mar 4 09:06:46 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <dimstar@opensuse.org>
- Initial package, version 0.2.0

4
msgraph.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: msgraph
version: 0.2.1
mtime: 1709541381
commit: 9f3e53a7f38fa178e4c78caf271f9b93b3cf4c9b

89
msgraph.spec Normal file
View File

@ -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