Blame SPECS/gnome-online-accounts.spec

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