ecc8bd
%global gettext_version 0.19.8
ecc8bd
%global glib2_version 2.52
15a17b
%global gtk3_version 3.19.12
15a17b
%global libsoup_version 2.42
ecc8bd
%global webkit2gtk3_version 2.12.0
15a17b
224d80
Name:		gnome-online-accounts
7be1e2
Version:	3.28.2
15a17b
Release:	1%{?dist}
1e691d
Summary:	Single sign-on framework for GNOME
224d80
224d80
License:	LGPLv2+
15a17b
URL:		https://wiki.gnome.org/Projects/GnomeOnlineAccounts
ecc8bd
Source0:	https://download.gnome.org/sources/gnome-online-accounts/3.28/%{name}-%{version}.tar.xz
15a17b
15a17b
BuildRequires:	pkgconfig(gcr-3)
15a17b
BuildRequires:	pkgconfig(gio-2.0) >= %{glib2_version}
15a17b
BuildRequires:	pkgconfig(glib-2.0) >= %{glib2_version}
15a17b
BuildRequires:	pkgconfig(gobject-2.0) >= %{glib2_version}
15a17b
BuildRequires:	pkgconfig(gtk+-3.0) >= %{gtk3_version}
15a17b
BuildRequires:	pkgconfig(gobject-introspection-1.0)
ecc8bd
BuildRequires:	gettext >= %{gettext_version}
224d80
BuildRequires:	gtk-doc
224d80
BuildRequires:	intltool
224d80
BuildRequires:	krb5-devel
ecc8bd
BuildRequires:	pkgconfig(webkit2gtk-4.0) >= %{webkit2gtk3_version}
15a17b
BuildRequires:	pkgconfig(json-glib-1.0)
15a17b
BuildRequires:	pkgconfig(libsecret-1) >= 0.7
15a17b
BuildRequires:	pkgconfig(libsoup-2.4) >= %{libsoup_version}
15a17b
BuildRequires:	pkgconfig(rest-0.7)
ecc8bd
%if ! 0%{?fedora} && 0%{?rhel} <= 7
15a17b
BuildRequires:	pkgconfig(telepathy-glib)
15a17b
%endif
15a17b
BuildRequires:	pkgconfig(libxml-2.0)
15a17b
BuildRequires:	vala
15a17b
15a17b
Requires:	glib2%{?_isa} >= %{glib2_version}
15a17b
Requires:	gtk3%{?_isa} >= %{gtk3_version}
15a17b
Requires:	libsoup%{?_isa} >= %{libsoup_version}
ecc8bd
Requires:	webkitgtk4%{?_isa} >= %{webkit2gtk3_version}
224d80
224d80
%description
1e691d
GNOME Online Accounts provides interfaces so that applications and libraries
1e691d
in GNOME can access the user's online accounts. It has providers for Google,
15a17b
ownCloud, Facebook, Flickr, Foursquare, Microsoft Account, Pocket, Microsoft
15a17b
Exchange, IMAP/SMTP and Kerberos.
224d80
224d80
%package devel
224d80
Summary:	Development files for %{name}
1e691d
Requires:	%{name}%{?_isa} = %{version}-%{release}
224d80
224d80
%description devel
1e691d
The %{name}-devel package contains libraries and header files for
1e691d
developing applications that use %{name}.
224d80
224d80
%prep
224d80
%setup -q
224d80
224d80
%build
224d80
%configure \
8e2138
  --disable-lastfm \
8e2138
  --disable-media-server \
8e2138
  --disable-silent-rules \
224d80
  --disable-static \
8e2138
  --disable-todoist \
ecc8bd
%if ! 0%{?fedora} && 0%{?rhel} <= 7
1e691d
  --disable-facebook \
15a17b
  --disable-foursquare \
15a17b
  --enable-telepathy \
15a17b
%else
15a17b
  --disable-telepathy \
15a17b
  --enable-facebook \
15a17b
  --enable-foursquare \
15a17b
%endif
15a17b
  --enable-exchange \
1e691d
  --enable-flickr \
224d80
  --enable-google \
8e2138
  --enable-gtk-doc \
224d80
  --enable-imap-smtp \
224d80
  --enable-kerberos \
224d80
  --enable-owncloud \
1e691d
  --enable-pocket \
224d80
  --enable-windows-live
15a17b
%make_build
224d80
224d80
%install
15a17b
%make_install
15a17b
find $RPM_BUILD_ROOT -name '*.la' -delete
224d80
224d80
%find_lang %{name}
15a17b
ecc8bd
%if ! 0%{?fedora} && 0%{?rhel} <= 7
1e691d
%find_lang %{name}-tpaw
15a17b
%endif
224d80
224d80
%post
224d80
/sbin/ldconfig
224d80
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
224d80
224d80
%postun
224d80
/sbin/ldconfig
224d80
if [ $1 -eq 0 ] ; then
1e691d
    /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
224d80
  touch --no-create %{_datadir}/icons/hicolor &>/dev/null
224d80
  gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
224d80
fi
224d80
224d80
%posttrans
d32523
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
224d80
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
224d80
ecc8bd
%if ! 0%{?fedora} && 0%{?rhel} <= 7
1e691d
%files -f %{name}.lang -f %{name}-tpaw.lang
15a17b
%else
15a17b
%files -f %{name}.lang
15a17b
%endif
15a17b
15a17b
%license COPYING
15a17b
%doc COPYING
15a17b
%dir %{_libdir}/girepository-1.0
224d80
%{_libdir}/girepository-1.0/Goa-1.0.typelib
224d80
%{_libdir}/libgoa-1.0.so.0
224d80
%{_libdir}/libgoa-1.0.so.0.0.0
1e691d
%{_libdir}/libgoa-backend-1.0.so.1
1e691d
%{_libdir}/libgoa-backend-1.0.so.1.0.0
15a17b
%dir %{_libdir}/goa-1.0
15a17b
%dir %{_libdir}/goa-1.0/web-extensions
15a17b
%{_libdir}/goa-1.0/web-extensions/libgoawebextension.so
1e691d
%{_prefix}/libexec/goa-daemon
1e691d
%{_prefix}/libexec/goa-identity-service
224d80
%{_datadir}/dbus-1/services/org.gnome.OnlineAccounts.service
d32523
%{_datadir}/dbus-1/services/org.gnome.Identity.service
224d80
%{_datadir}/icons/hicolor/*/apps/goa-*.png
7be1e2
%{_datadir}/man/man8/goa-daemon.8*
d32523
%{_datadir}/glib-2.0/schemas/org.gnome.online-accounts.gschema.xml
1e691d
ecc8bd
%if ! 0%{?fedora} && 0%{?rhel} <= 7
15a17b
%{_datadir}/icons/hicolor/*/apps/im-*.png
15a17b
%{_datadir}/icons/hicolor/*/apps/im-*.svg
15a17b
1e691d
%dir %{_datadir}/%{name}
1e691d
%{_datadir}/%{name}/irc-networks.xml
15a17b
%endif
224d80
224d80
%files devel
224d80
%{_includedir}/goa-1.0/
224d80
%{_libdir}/libgoa-1.0.so
224d80
%{_libdir}/libgoa-backend-1.0.so
15a17b
%dir %{_datadir}/gir-1.0
224d80
%{_datadir}/gir-1.0/Goa-1.0.gir
224d80
%{_libdir}/pkgconfig/goa-1.0.pc
224d80
%{_libdir}/pkgconfig/goa-backend-1.0.pc
224d80
%{_datadir}/gtk-doc/html/goa/
224d80
%{_libdir}/goa-1.0/include
15a17b
%{_datadir}/vala/
224d80
224d80
%changelog
7be1e2
* Wed Aug 14 2019 Debarshi Ray <rishi@fedoraproject.org> - 3.28.2-1
7be1e2
- Update to 3.28.2
7be1e2
Resolves: #1674534
7be1e2
ecc8bd
* Thu Mar 15 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
ecc8bd
- Update to 3.28.0
7be1e2
Resolves: #1568177
ecc8bd
8e2138
* Tue Dec 19 2017 Debarshi Ray <rishi@fedoraproject.org> - 3.26.2-1
8e2138
- Update to 3.26.2
8e2138
Resolves: #1525963
8e2138
8e2138
* Thu Oct 26 2017 Debarshi Ray <rishi@fedoraproject.org> - 3.26.1-2
8e2138
- Backport fix for adding multiple accounts of the same type (GNOME #781005)
8e2138
Resolves: #1503726
8e2138
8e2138
* Wed Oct 18 2017 Debarshi Ray <rishi@fedoraproject.org> - 3.26.1-1
8e2138
- Update to 3.26.1
8e2138
Resolves: #1503726
8e2138
15a17b
* Fri Mar 10 2017 Debarshi Ray <rishi@fedoraproject.org> - 3.22.5-1
15a17b
- Update to 3.22.5
15a17b
Resolves: #1386953, #1430813
15a17b
15a17b
* Wed Mar 08 2017 Debarshi Ray <rishi@fedoraproject.org> - 3.22.4-2
15a17b
- Don't change the list of enabled providers
15a17b
Resolves: #1386953
15a17b
15a17b
* Thu Feb 16 2017 Kalev Lember <klember@redhat.com> - 3.22.4-1
15a17b
- Update to 3.22.4
15a17b
Resolves: #1386953
15a17b
4bc980
* Tue Aug 23 2016 Debarshi Ray <rishi@fedoraproject.org> - 3.14.5-5
4bc980
- Ensure that temporary accounts are really removed from the keyring and
4bc980
  avoid a WARNING
4bc980
Resolves: #1261940
4bc980
4bc980
* Wed Aug 10 2016 Debarshi Ray <rishi@fedoraproject.org> - 3.14.5-4
4bc980
- Fail early on Kerberos ticket request when ticketing is disabled
4bc980
Resolves: #1364705
4bc980
4bc980
* Mon Jun 13 2016 Debarshi Ray <rishi@fedoraproject.org> - 3.14.5-3
4bc980
- Don't remove Telepathy accounts or expire Kerberos credentials when stopping
4bc980
  goa-daemon
4bc980
Resolves: #1267534
4bc980
4bc980
* Wed May 18 2016 Debarshi Ray <rishi@fedoraproject.org> - 3.14.5-2
4bc980
- Don't let temporary accounts accumulate in accounts.conf and the keyring
4bc980
Resolves: #1261940
4bc980
4bc980
* Mon Mar 14 2016 Debarshi Ray <rishi@fedoraproject.org> - 3.14.5-1
4bc980
- Update to 3.14.5
4bc980
- Rebase downstream patches
4bc980
Resolves: #1310832
4bc980
1e691d
* Tue Sep 22 2015 Ray Strode <rstrode@redhat.com> 3.14.4-3
1e691d
- Fix kerberos renewal for KDCs that support it
1e691d
Resolves: #1189888
43935d
1e691d
* Mon Jun 08 2015 Debarshi Ray <rishi@fedoraproject.org> - 3.14.4-2
1e691d
- Use newer WebKit
1e691d
- Refresh the credentials during startup and network changes
1e691d
Resolves: #1174600, #1189888
d32523
1e691d
* Tue May 05 2015 Debarshi Ray <rishi@fedoraproject.org> - 3.14.4-1
1e691d
- Update to 3.14.4
1e691d
- Disable Facebook
1e691d
Resolves: #1174600
d32523
1e691d
* Mon Mar 23 2015 Richard Hughes <rhughes@redhat.com> - 3.14.3-1
1e691d
- Update to 3.14.3
1e691d
Resolves: #1174600
d32523
1e691d
* Fri May 23 2014 Ray Strode <rstrode@redhat.com> 3.8.5-9.1
1e691d
- Bump for dist tag confusion
1e691d
Related: #1096399
d32523
1e691d
* Fri May 09 2014 Ray Strode <rstrode@redhat.com> 3.8.5-8.1
43935d
- Fix various resource leaks in the kerberos code
1e691d
Resolves: #1096399
43935d
c7c487
* Mon Mar 31 2014 Debarshi Ray <rishi@fedoraproject.org> - 3.8.5-8
c7c487
- Popup is too small to display Facebook authorization
d32523
Resolves: #1081520
c7c487
c7c487
* Fri Feb 28 2014 Matthias Clasen <mclasen@redhat.com> - 3.8.5-7
c7c487
- Turn off silent builds and make them verbose
c7c487
Resolves: #1070809
c7c487
c7c487
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.8.5-6
c7c487
- Mass rebuild 2014-01-24
c7c487
c7c487
* Tue Jan 07 2014 Debarshi Ray <rishi@fedoraproject.org> - 3.8.5-5
c7c487
- Don't offer a PasswordBased interface for Google
d32523
Resolves: #1049337
c7c487
c7c487
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.8.5-4
c7c487
- Mass rebuild 2013-12-27
c7c487
c7c487
* Wed Dec 11 2013 Matthias Clasen <mclasen@redhat.com> 3.8.5-3
c7c487
- Update translations
d32523
Resolves: #1030343
c7c487
224d80
* Wed Nov 06 2013 Ray Strode <rstrode@redhat.com> 3.8.5-2
224d80
- Fix kerberos crash when user manually erases stored credentials with seahorse
d32523
Resolves: #1027413
224d80
224d80
* Wed Nov 06 2013 Debarshi Ray <rishi@fedoraproject.org> - 3.8.5-1
224d80
- Update to 3.8.5
d32523
Resolves: #1023117, #1027258
224d80
224d80
* Fri Nov 01 2013 Debarshi Ray <rishi@fedoraproject.org> - 3.8.4.1-2
c7c487
- Support libkrb5's new kernel keyring based credentials cache
d32523
Resolves: #991184
224d80
224d80
* Tue Oct 08 2013 Debarshi Ray <rishi@fedoraproject.org> - 3.8.4.1-1
224d80
- Update to 3.8.4.1
224d80
224d80
* Fri Aug 30 2013 Debarshi Ray <rishi@fedoraproject.org> - 3.8.3-1
224d80
- Update to 3.8.3
224d80
224d80
* Tue Jul  2 2013 Matthias Clasen <mclasen@redhat.com> - 3.8.2-2
224d80
- Rebuild with newer gtk-doc to fix multilib issue
224d80
224d80
* Mon May 13 2013 Matthias Clasen <mclasen@redhat.com> - 3.8.2-1
224d80
- Update to 3.8.2
224d80
224d80
* Mon Apr 15 2013 Richard Hughes <rhughes@redhat.com> - 3.8.1-1
224d80
- Update to 3.8.1
224d80
224d80
* Tue Mar 26 2013 Debarshi Ray <rishi@fedoraproject.org> - 3.8.0-1
224d80
- Update to 3.8.0
224d80
224d80
* Wed Mar 20 2013 Richard Hughes <rhughes@redhat.com> - 3.7.92-1
224d80
- Update to 3.7.92
224d80
224d80
* Tue Mar 05 2013 Debarshi Ray <rishi@fedoraproject.org> - 3.7.91-1
224d80
- Update to 3.7.91
224d80
224d80
* Tue Feb 26 2013 Debarshi Ray <rishi@fedoraproject.org> - 3.7.90-2
224d80
- Enable IMAP / SMTP
224d80
224d80
* Fri Feb 22 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.90-1
224d80
- Update to 3.7.90
224d80
224d80
* Wed Feb 06 2013 Debarshi Ray <rishi@fedoraproject.org> - 3.7.5-1
224d80
- Update to 3.7.5
224d80
224d80
* Wed Feb 06 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.4-2
224d80
- Rebuilt for libgcr soname bump
224d80
224d80
* Mon Jan 14 2013 Debarshi Ray <rishi@fedoraproject.org> - 3.7.4-1
224d80
- Update to 3.7.4
224d80
224d80
* Thu Jan 03 2013 Debarshi Ray <rishi@fedoraproject.org> - 3.7.3-1
224d80
- Update to 3.7.3
224d80
224d80
* Sun Nov 18 2012 Debarshi Ray <rishi@fedoraproject.org> - 3.7.2-1
224d80
- Update to 3.7.2
224d80
224d80
* Tue Oct 23 2012 Debarshi Ray <rishi@fedoraproject.org> - 3.7.1-1
224d80
- Update to 3.7.1
224d80
224d80
* Mon Oct 15 2012 Debarshi Ray <rishi@fedoraproject.org> - 3.6.1-1
224d80
- Update to 3.6.1
224d80
224d80
* Tue Sep 25 2012 Matthias Clasen <mclasen@redhat.com> - 3.6.0-1
224d80
- Update to 3.6.0
224d80
224d80
* Mon Sep 17 2012 Debarshi Ray <rishi@fedoraproject.org> - 3.5.92-1
224d80
- Update to 3.5.92
224d80
224d80
* Tue Sep 04 2012 Debarshi Ray <rishi@fedoraproject.org> - 3.5.91-1
224d80
- Update to 3.5.91
224d80
224d80
* Tue Aug 21 2012 Debarshi Ray <rishi@fedoraproject.org> - 3.5.90-1
224d80
- Update to 3.5.90
224d80
224d80
* Tue Aug 07 2012 Richard Hughes <hughsient@gmail.com> - 3.5.5-1
224d80
- Update to 3.5.5
224d80
224d80
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.4-2
224d80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
224d80
224d80
* Mon Jul 16 2012 Debarshi Ray <rishi@fedoraproject.org> - 3.5.4-1
224d80
- Update to 3.5.4
224d80
224d80
* Mon Jun 25 2012 Debarshi Ray <rishi@fedoraproject.org> - 3.5.3-1
224d80
- Update to 3.5.3
224d80
224d80
* Tue Jun 05 2012 Debarshi Ray <rishi@fedoraproject.org> - 3.5.2-1
224d80
- Update to 3.5.2
224d80
224d80
* Wed May 02 2012 Debarshi Ray <rishi@fedoraproject.org> - 3.5.1-1
224d80
- Update to 3.5.1
224d80
224d80
* Tue Apr 17 2012 Richard Hughes <hughsient@gmail.com> - 3.4.1-1
224d80
- Update to 3.4.1
224d80
224d80
* Mon Mar 26 2012 Debarshi Ray <rishi@fedoraproject.org> - 3.4.0-1
224d80
- Update to 3.4.0
224d80
224d80
* Wed Mar 21 2012 Debarshi Ray <rishi@fedoraproject.org> - 3.3.92.1-1
224d80
- Update to 3.3.92.1
224d80
224d80
* Tue Mar 20 2012 Debarshi Ray <rishi@fedoraproject.org> - 3.3.92-1
224d80
- Update to 3.3.92
224d80
224d80
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.0-3
224d80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
224d80
224d80
* Mon Dec 19 2011 Brian Pepple <bpepple@fedoraproject.org> - 3.3.0-2
224d80
- Enable Windows Live provider.
224d80
224d80
* Mon Dec 19 2011 Brian Pepple <bpepple@fedoraproject.org> - 3.3.0-1
224d80
- Update to 3.3.0.
224d80
- Update source url.
224d80
224d80
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
224d80
- Rebuilt for glibc bug#747377
224d80
224d80
* Tue Oct 18 2011 Matthias Clasen <mclasen@redhat.com> - 3.2.1-1
224d80
- Update to 3.2.1
224d80
224d80
* Wed Sep 28 2011 Ray <rstrode@redhat.com> - 3.2.0.1-1
224d80
- Update to 3.2.0.1
224d80
224d80
* Mon Sep 26 2011 Ray <rstrode@redhat.com> - 3.2.0-1
224d80
- Update to 3.2.0
224d80
224d80
* Tue Sep 20 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.91-1
224d80
- Update to 3.1.91
224d80
224d80
* Tue Aug 30 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.90-1
224d80
- Update to 3.1.90
224d80
224d80
* Fri Jul 01 2011 Bastien Nocera <bnocera@redhat.com> 3.1.1-1
224d80
- Update to 3.1.1
224d80
224d80
* Tue Jun 14 2011 Bastien Nocera <bnocera@redhat.com> 3.1.0-3
224d80
- Add more necessary patches
224d80
224d80
* Tue Jun 14 2011 Bastien Nocera <bnocera@redhat.com> 3.1.0-2
224d80
- Update with review comments from Peter Robinson
224d80
224d80
* Mon Jun 13 2011 Bastien Nocera <bnocera@redhat.com> 3.1.0-1
224d80
- First version
224d80