package created using the webbuild interface [release 0.2.3-1mamba;Sun Jun 23 2024]

This commit is contained in:
Silvan Calarco 2024-06-28 15:59:29 +02:00
parent 594e81f9ff
commit 37fd425619
2 changed files with 81 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# msgraph # msgraph
Library to access MS Graph API for Office 365.

79
msgraph.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.2.3-1mamba
- package created using the webbuild interface