Import from AlmaLinux stable repository

This commit is contained in:
eabdullin 2024-05-31 16:40:41 +00:00
parent cdd9046422
commit 5178cc0743
3 changed files with 4950 additions and 9 deletions

View File

@ -1 +0,0 @@
382053cff81f8b054d4beb02c0430ee4accb65ed SOURCES/gnome-online-accounts-3.28.2.tar.xz

File diff suppressed because it is too large Load Diff

View File

@ -2,11 +2,10 @@
%global glib2_version 2.52
%global gtk3_version 3.19.12
%global libsoup_version 2.42
%global webkit2gtk3_version 2.12.0
Name: gnome-online-accounts
Version: 3.28.2
Release: 4%{?dist}
Release: 7%{?dist}
Summary: Single sign-on framework for GNOME
License: LGPLv2+
@ -14,6 +13,9 @@ URL: https://wiki.gnome.org/Projects/GnomeOnlineAccounts
Source0: https://download.gnome.org/sources/gnome-online-accounts/3.28/%{name}-%{version}.tar.xz
Patch01: 0001-mute-debug-prints.patch
Patch02: 0002-Drop-dependency-on-WebKitGTK-139.patch
Obsoletes: gnome-online-accounts-oauth2 < 3.28.2-6
BuildRequires: pkgconfig(gcr-3)
BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
@ -24,7 +26,6 @@ BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: gettext >= %{gettext_version}
BuildRequires: gtk-doc
BuildRequires: krb5-devel
BuildRequires: pkgconfig(webkit2gtk-4.0) >= %{webkit2gtk3_version}
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libsecret-1) >= 0.7
BuildRequires: pkgconfig(libsoup-2.4) >= %{libsoup_version}
@ -34,16 +35,17 @@ BuildRequires: pkgconfig(telepathy-glib)
%endif
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: vala
BuildRequires: autoconf
BuildRequires: automake
Requires: glib2%{?_isa} >= %{glib2_version}
Requires: gtk3%{?_isa} >= %{gtk3_version}
Requires: libsoup%{?_isa} >= %{libsoup_version}
Requires: webkit2gtk3%{?_isa} >= %{webkit2gtk3_version}
%description
GNOME Online Accounts provides interfaces so that applications and libraries
in GNOME can access the user's online accounts. It has providers for Google,
ownCloud, Facebook, Flickr, Foursquare, Microsoft Account, Pocket, Microsoft
ownCloud, Facebook, Foursquare, Microsoft Account, Pocket, Microsoft
Exchange, IMAP/SMTP and Kerberos.
%package devel
@ -57,10 +59,19 @@ developing applications that use %{name}.
%prep
%setup -q
%patch01 -p1 -b .mute-debug-prints
%patch02 -p1 -b .no-webkitgtk
%build
aclocal -I m4
autoheader
automake --add-missing
libtoolize
#intltoolize --force
autoconf
%configure \
--disable-facebook \
--disable-flickr \
--disable-foursquare \
--disable-lastfm \
--disable-media-server \
@ -69,7 +80,6 @@ developing applications that use %{name}.
--disable-telepathy \
--disable-todoist \
--enable-exchange \
--enable-flickr \
--enable-google \
--enable-gtk-doc \
--enable-imap-smtp \
@ -106,10 +116,10 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%{_libdir}/libgoa-backend-1.0.so.1
%{_libdir}/libgoa-backend-1.0.so.1.0.0
%dir %{_libdir}/goa-1.0
%dir %{_libdir}/goa-1.0/web-extensions
%{_libdir}/goa-1.0/web-extensions/libgoawebextension.so
%{_prefix}/libexec/goa-daemon
%{_prefix}/libexec/goa-identity-service
%{_prefix}/libexec/goa-oauth2-handler
%{_datadir}/applications/org.gnome.OnlineAccounts.OAuth2.desktop
%{_datadir}/dbus-1/services/org.gnome.OnlineAccounts.service
%{_datadir}/dbus-1/services/org.gnome.Identity.service
%{_datadir}/icons/hicolor/*/apps/goa-*.png
@ -137,6 +147,16 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
%{_datadir}/vala/
%changelog
* Wed Nov 15 2023 Milan Crha <mcrha@redhat.com> - 3.28.2-7
- Related: RHEL-10493 (Add margin around OAuth2 prompt content)
* Thu Nov 09 2023 Milan Crha <mcrha@redhat.com> - 3.28.2-6
- Resolves: RHEL-10493 (Move account types that depend on WebKitGTK into separate optional subpackage)
- backport upstream fix to use external browser for OAuth2
* Wed Oct 11 2023 Milan Crha <mcrha@redhat.com> - 3.28.2-5
- Resolves: RHEL-10493 (Move account types that depend on WebKitGTK into separate optional subpackage)
* Fri Sep 02 2022 Milan Crha <mcrha@redhat.com> - 3.28.2-4
- Resolves: #2068010 (Turn runtime warnings around libsecret into debug prints)