7e2b15
Name:           libgdata
7e2b15
Version:        0.17.9
16a301
Release:        4%{?dist}
7e2b15
Summary:        Library for the GData protocol
7e2b15
7e2b15
License:        LGPLv2+
7e2b15
URL:            https://wiki.gnome.org/Projects/libgdata
7e2b15
Source0:        https://download.gnome.org/sources/%{name}/0.17/%{name}-%{version}.tar.xz
7e2b15
16a301
# https://bugzilla.redhat.com/show_bug.cgi?id=2046098
16a301
Patch0:         core-Always-refresh-authorization-when-creating-stre.patch
16a301
7e2b15
BuildRequires:  gcr-devel
7e2b15
BuildRequires:  glib2-devel
7e2b15
BuildRequires:  gnome-online-accounts-devel
7e2b15
BuildRequires:  gobject-introspection-devel
7e2b15
BuildRequires:  gtk-doc
7e2b15
%if ! 0%{?rhel}
7e2b15
BuildRequires:  uhttpmock-devel
7e2b15
%endif
7e2b15
BuildRequires:  intltool
7e2b15
BuildRequires:  json-glib-devel
7e2b15
BuildRequires:  liboauth-devel
7e2b15
BuildRequires:  libsoup-devel
7e2b15
BuildRequires:  libxml2-devel
7e2b15
BuildRequires:  vala-devel
7e2b15
BuildRequires:  vala
7e2b15
7e2b15
%if 0%{?fedora}
7e2b15
Obsoletes:      compat-libgdata19 < 0.17.1
7e2b15
%endif
7e2b15
7e2b15
%description
7e2b15
libgdata is a GLib-based library for accessing online service APIs using the
7e2b15
GData protocol --- most notably, Google's services. It provides APIs to access
7e2b15
the common Google services, and has full asynchronous support.
7e2b15
7e2b15
%package        devel
7e2b15
Summary:        Development files for %{name}
7e2b15
Requires:       %{name}%{?_isa} = %{version}-%{release}
7e2b15
7e2b15
%description    devel
7e2b15
The %{name}-devel package contains libraries and header files for
7e2b15
developing applications that use %{name}.
7e2b15
7e2b15
%prep
16a301
%autosetup -p1
7e2b15
7e2b15
%build
7e2b15
%configure \
7e2b15
%if 0%{?rhel}
7e2b15
  --disable-always-build-tests \
7e2b15
%endif
7e2b15
  --disable-silent-rules \
7e2b15
  --disable-static
7e2b15
make %{?_smp_mflags} CFLAGS="$CFLAGS -fno-strict-aliasing"
7e2b15
7e2b15
%install
7e2b15
%make_install
7e2b15
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
7e2b15
7e2b15
%find_lang gdata
7e2b15
7e2b15
7e2b15
%check
7e2b15
# Only the general test can be run without network access
7e2b15
# Actually, the general test doesn't work either without gconf
7e2b15
#cd gdata/tests
7e2b15
#./general
7e2b15
7e2b15
%post -p /sbin/ldconfig
7e2b15
7e2b15
%postun -p /sbin/ldconfig
7e2b15
7e2b15
7e2b15
%files -f gdata.lang
7e2b15
%license COPYING
7e2b15
%doc NEWS README AUTHORS
7e2b15
%{_libdir}/libgdata.so.22*
7e2b15
%dir %{_libdir}/girepository-1.0
7e2b15
%{_libdir}/girepository-1.0/GData-0.0.typelib
7e2b15
7e2b15
%files devel
7e2b15
%{_includedir}/*
7e2b15
%{_libdir}/libgdata.so
7e2b15
%{_libdir}/pkgconfig/%{name}.pc
7e2b15
%{_datadir}/gtk-doc/
7e2b15
%dir %{_datadir}/gir-1.0
7e2b15
%{_datadir}/gir-1.0/GData-0.0.gir
7e2b15
%{_datadir}/vala/
7e2b15
7e2b15
%changelog
16a301
* Wed Jul 13 2022 Tomas Popela <tpopela@redhat.com> - 0.17.9-4
16a301
- Switch to using autosetup so we don't forget to apply patches (#2046098)
16a301
16a301
* Mon May 09 2022 Ondrej Holy <oholy@redhat.com> - 0.17.9-3
16a301
- Always refresh authorization when creating streams (#2046098)
16a301
7e2b15
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.9-2
7e2b15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7e2b15
7e2b15
* Thu Aug 24 2017 Kalev Lember <klember@redhat.com> - 0.17.9-1
7e2b15
- Update to 0.17.9
7e2b15
7e2b15
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.8-3
7e2b15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
7e2b15
7e2b15
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.8-2
7e2b15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7e2b15
7e2b15
* Thu Apr 20 2017 Kalev Lember <klember@redhat.com> - 0.17.8-1
7e2b15
- Update to 0.17.8
7e2b15
7e2b15
* Mon Mar 06 2017 Kalev Lember <klember@redhat.com> - 0.17.7-1
7e2b15
- Update to 0.17.7
7e2b15
7e2b15
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.6-4
7e2b15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7e2b15
7e2b15
* Wed Oct 19 2016 Kalev Lember <klember@redhat.com> - 0.17.6-3
7e2b15
- Fix RHEL 7 build
7e2b15
7e2b15
* Thu Sep 22 2016 Kalev Lember <klember@redhat.com> - 0.17.6-2
7e2b15
- BR vala instead of obsolete vala-tools subpackage
7e2b15
7e2b15
* Wed Sep 21 2016 Kalev Lember <klember@redhat.com> - 0.17.6-1
7e2b15
- Update to 0.17.6
7e2b15
- Don't set group tags
7e2b15
- Co-own gir directories instead of depending on gobject-introspection
7e2b15
- Use make_install macro
7e2b15
- Update project URLs
7e2b15
7e2b15
* Mon Sep 12 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.17.5-2
7e2b15
- Backport fix for crashes with zero-length files (GNOME #769727)
7e2b15
7e2b15
* Thu Jun 30 2016 Kalev Lember <klember@redhat.com> - 0.17.5-1
7e2b15
- Update to 0.17.5
7e2b15
7e2b15
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.4-3
7e2b15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7e2b15
7e2b15
* Mon Jan 25 2016 Debarshi Ray <rishi@fedoraproject.org> - 0.17.4-2
7e2b15
- Backport fix for opening PDFs from Google Drive (GNOME #759180)
7e2b15
7e2b15
* Mon Dec 14 2015 Kalev Lember <klember@redhat.com> - 0.17.4-1
7e2b15
- Update to 0.17.4
7e2b15
7e2b15
* Mon Sep 14 2015 Kalev Lember <klember@redhat.com> - 0.17.3-1
7e2b15
- Update to 0.17.3
7e2b15
7e2b15
* Fri Jul 10 2015 Kalev Lember <klember@redhat.com> - 0.17.2-1
7e2b15
- Update to 0.17.2
7e2b15
- Use license macro for COPYING
7e2b15
7e2b15
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17.1-3
7e2b15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7e2b15
7e2b15
* Thu May 28 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.17.1-2
7e2b15
- Obsolete the compatibility package
7e2b15
7e2b15
* Fri Apr 24 2015 Debarshi Ray <rishi@fedoraproject.org> - 0.17.1-1
7e2b15
- Update to 0.17.1
7e2b15
7e2b15
* Mon Nov 10 2014 Kalev Lember <kalevlember@gmail.com> - 0.16.1-1
7e2b15
- Update to 0.16.1
7e2b15
7e2b15
* Mon Nov 03 2014 Kalev Lember <kalevlember@gmail.com> - 0.16.0-2
7e2b15
- Fix the build on RHEL
7e2b15
7e2b15
* Thu Sep 18 2014 Kalev Lember <kalevlember@gmail.com> - 0.16.0-1
7e2b15
- Update to 0.16.0
7e2b15
7e2b15
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.2-2
7e2b15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7e2b15
7e2b15
* Sun Aug 10 2014 Kalev Lember <kalevlember@gmail.com> - 0.15.2-1
7e2b15
- Update to 0.15.2
7e2b15
- Tighten -devel deps with the _isa macro
7e2b15
7e2b15
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.15.1-3
7e2b15
- Rebuilt for gobject-introspection 1.41.4
7e2b15
7e2b15
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-2
7e2b15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7e2b15
7e2b15
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.15.1-1
7e2b15
- Update to 0.15.1
7e2b15
7e2b15
* Wed Jan 08 2014 Richard Hughes <rhughes@redhat.com> - 0.15.0-1
7e2b15
- Update to 0.15.0
7e2b15
7e2b15
* Thu Aug 29 2013 Kalev Lember <kalevlember@gmail.com> - 0.14.0-1
7e2b15
- Update to 0.14.0
7e2b15
7e2b15
* Sat Aug 10 2013 Kalev Lember <kalevlember@gmail.com> - 0.13.4-1
7e2b15
- Update to 0.13.4
7e2b15
7e2b15
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.3-3
7e2b15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7e2b15
7e2b15
* Tue Jul 16 2013 Matthias Clasen <mclasen@redhat.com> - 0.13.3-2
7e2b15
- Disable strict aliasing, since the code is not strict-aliasing-clean
7e2b15
7e2b15
* Tue Feb 26 2013 Kalev Lember <kalevlember@gmail.com> - 0.13.3-1
7e2b15
- Update to 0.13.3
7e2b15
- Add vala bindings
7e2b15
7e2b15
* Tue Feb 19 2013 Bastien Nocera <bnocera@redhat.com> 0.13.2-3
7e2b15
- Co-own the gtk-doc directory (#604382)
7e2b15
7e2b15
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.2-2
7e2b15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7e2b15
7e2b15
* Tue Oct 02 2012 Kalev Lember <kalevlember@gmail.com> - 0.13.2-1
7e2b15
- Update to 0.13.2
7e2b15
7e2b15
* Sun Aug 12 2012 Debarshi Ray <rishi@fedoraproject.org> - 0.13.1-2
7e2b15
- Add BuildRequires: gcr-devel gnome-online-accounts-devel
7e2b15
7e2b15
* Tue Jul 31 2012 Richard Hughes <hughsient@gmail.com> - 0.13.1-1
7e2b15
- Update to 0.13.1
7e2b15
7e2b15
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.0-2
7e2b15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7e2b15
7e2b15
* Fri May 18 2012 Richard Hughes <hughsient@gmail.com> - 0.13.0-1
7e2b15
- Update to 0.13.0
7e2b15
7e2b15
* Tue Apr 17 2012 Kalev Lember <kalevlember@gmail.com> - 0.12.0-1
7e2b15
- Update to 0.12.0
7e2b15
7e2b15
* Thu Mar 15 2012 Matthias Clasen <mclasen@redhat.com> - 0.11.1-1
7e2b15
- Update to 0.11.1
7e2b15
7e2b15
* Tue Jan 17 2012 Dan HorĂ¡k <dan[at]danny.cz> - 0.11.0-3
7e2b15
- update BR
7e2b15
7e2b15
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.0-2
7e2b15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7e2b15
7e2b15
* Tue Dec 20 2011 Matthias Clasen <mclasen@redhat.com> - 0.11.0-1
7e2b15
- Update to 0.11.0
7e2b15
7e2b15
* Mon Sep 19 2011 Matthias Clasen <mclasen@redhat.com> - 0.10.1-1
7e2b15
- Update to 0.10.1
7e2b15
7e2b15
* Mon Jul 04 2011 Matthew Barnes <mbarnes@redhat.com> 0.9.1-1
7e2b15
- Update to 0.9.1
7e2b15
7e2b15
* Mon Jun 13 2011 Bastien Nocera <bnocera@redhat.com> 0.9.0-1
7e2b15
- Update to 0.9.0
7e2b15
7e2b15
* Fri May 20 2011 Bastien Nocera <bnocera@redhat.com> 0.8.1-1
7e2b15
- Update to 0.8.1
7e2b15
7e2b15
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-2
7e2b15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7e2b15
7e2b15
* Mon Jan 17 2011 Bastien Nocera <bnocera@redhat.com> 0.8.0-1
7e2b15
- Update to 0.8.0
7e2b15
7e2b15
* Mon Oct 18 2010 Bastien Nocera <bnocera@redhat.com> 0.7.0-1
7e2b15
- Update to 0.7.0
7e2b15
7e2b15
* Wed Sep 29 2010 jkeating - 0.6.4-6
7e2b15
- Rebuilt for gcc bug 634757
7e2b15
7e2b15
* Wed Sep 22 2010 Matthias Clasen <mclasen@redhat.com> - 0.6.4-5
7e2b15
- Rebuild with newer gobject-introspection
7e2b15
- Disable tests
7e2b15
7e2b15
* Thu Jul 15 2010 Colin Walters <walters@verbum.org> - 0.6.4-4
7e2b15
- Rebuild with new gobject-introspection
7e2b15
- Drop gir-repository-devel
7e2b15
7e2b15
* Mon Jul 12 2010 Colin Walters <walters@verbum.org> - 0.6.4-2
7e2b15
- Rebuild against new gobject-introspection
7e2b15
7e2b15
* Thu Apr 08 2010 Bastien Nocera <bnocera@redhat.com> 0.6.4-1
7e2b15
- Update to 0.6.4
7e2b15
7e2b15
* Wed Feb 17 2010 Bastien Nocera <bnocera@redhat.com> 0.6.1-2
7e2b15
- Rebuild to update F-13 tag
7e2b15
7e2b15
* Wed Feb 17 2010 Bastien Nocera <bnocera@redhat.com> 0.6.1-1
7e2b15
- Update to 0.6.1
7e2b15
7e2b15
* Mon Feb 15 2010 Bastien Nocera <bnocera@redhat.com> 0.6.0-1
7e2b15
- Update to 0.6.0
7e2b15
- Add introspection support
7e2b15
7e2b15
* Sun Nov 22 2009 Bastien Nocera <bnocera@redhat.com> 0.5.1-1
7e2b15
- Update to 0.5.1
7e2b15
- Fixes queries with non-ASCII characters
7e2b15
7e2b15
* Tue Sep 22 2009 Bastien Nocera <bnocera@redhat.com> 0.5.0-1
7e2b15
- Update to 0.5.0
7e2b15
7e2b15
* Tue Aug 11 2009 Bastien Nocera <bnocera@redhat.com> 0.4.0-3
7e2b15
- Fix source URL
7e2b15
7e2b15
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
7e2b15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7e2b15
7e2b15
* Mon Jul 20 2009 Bastien Nocera <bnocera@redhat.com> 0.4.0-1
7e2b15
- Update to 0.4.0
7e2b15
7e2b15
* Tue May 26 2009 Bastien Nocera <bnocera@redhat.com> 0.3.0-1
7e2b15
- Update to 0.3.0
7e2b15
7e2b15
* Sat Apr 25 2009 Bastien Nocera <bnocera@redhat.com> 0.2.0-1
7e2b15
- Update to 0.2.0
7e2b15
7e2b15
* Mon Apr 06 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1.1-2
7e2b15
- Add check, snippet from Jason Tibbitts
7e2b15
7e2b15
* Wed Apr 01 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1.1-1
7e2b15
- Update to 0.1.1
7e2b15
7e2b15
* Wed Apr 01 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1.0-1
7e2b15
- First package
7e2b15