From 37fd4256192bde3b9d993709fe9d57229eb3dd98 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 28 Jun 2024 15:59:29 +0200 Subject: [PATCH] package created using the webbuild interface [release 0.2.3-1mamba;Sun Jun 23 2024] --- README.md | 2 ++ msgraph.spec | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 msgraph.spec diff --git a/README.md b/README.md index d57ccc0..9a49cdf 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # msgraph +Library to access MS Graph API for Office 365. + diff --git a/msgraph.spec b/msgraph.spec new file mode 100644 index 0000000..cde3418 --- /dev/null +++ b/msgraph.spec @@ -0,0 +1,79 @@ +Name: msgraph +Version: 0.2.3 +Release: 1mamba +Summary: Library to access MS Graph API for Office 365 +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://gitlab.gnome.org/GNOME/msgraph +Source: https://gitlab.gnome.org/GNOME/msgraph.git/%{version}/msgraph-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: gnome-online-accounts-devel +BuildRequires: libglib-devel +BuildRequires: libjson-glib-devel +BuildRequires: libsoup-devel +## AUTOBUILDREQ-END +BuildRequires: meson +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +Library to access MS Graph API for Office 365. + +%package -n lib%{name} +Group: System/Libraries +Summary: Library to access MS Graph API for Office 365 + +%description -n lib%{name} +Library to access MS Graph API for Office 365. +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%meson +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libmsgraph-0.so.* +%{_libdir}/girepository-1.0/Msg-0.typelib +%doc COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/msg +%{_includedir}/msg/* +%{_libdir}/libmsgraph-0.so +%{_datadir}/gir-1.0/Msg-0.gir +%{_libdir}/pkgconfig/msgraph-0.1.pc +%dir %{_docdir}/msgraph-0 +%{_docdir}/msgraph-0/* +%doc NEWS README.md + +%changelog +* Sun Jun 23 2024 Silvan Calarco 0.2.3-1mamba +- package created using the webbuild interface