%define major 7 %define libname %mklibname gdata %major %define develname %mklibname -d gdata Name: libgdata Version: 0.6.6 %define subrel 1 Release: %mkrel 3 Summary: Library for the GData protocol Group: System/Libraries License: LGPLv2+ URL: http://live.gnome.org/libgdata Source0: http://ftp.gnome.org/pub/GNOME/sources/%name/%{name}-%{version}.tar.bz2 Patch0: libgdata-validate-ssl-cert.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: libsoup-devel BuildRequires: dbus-glib-devel BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc BuildRequires: intltool BuildRequires: autoconf automake libtool BuildRequires: gnome-common BuildRequires: rootcerts Requires: rootcerts %description libgdata is a GLib-based library for accessing online service APIs using the GData protocol --- most notably, Google's services. It provides APIs to access the common Google services, and has full asynchronous support. %package i18n Summary: Library for the GData protocol - translations Group: System/Internationalization %description i18n libgdata is a GLib-based library for accessing online service APIs using the GData protocol --- most notably, Google's services. It provides APIs to access the common Google services, and has full asynchronous support. %package -n %{libname} Summary: Library for the GData protocol Group: System/Libraries Requires: %name-i18n >= %version %description -n %{libname} libgdata is a GLib-based library for accessing online service APIs using the GData protocol --- most notably, Google's services. It provides APIs to access the common Google services, and has full asynchronous support. %package -n %develname Summary: Development files for %{name} Group: Development/C Requires: %{libname} = %{version}-%{release} Provides: %name-devel = %version-%release %description -n %develname The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %patch0 -p1 -b .CVE-2012-1177 %build autoreconf -fi %configure2_5x \ --disable-static \ --with-ca-certs=/etc/pki/tls/certs/ca-bundle.crt %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %find_lang gdata %clean rm -rf $RPM_BUILD_ROOT %check # Only the general test can be run without network access cd gdata/tests #gw this also fails in 0.6.4-4mdv :( #LD_LIBRARY_PATH=../.libs/ ./general %if %mdvver < 200900 %post -n %libname -p /sbin/ldconfig %postun -n %libname -p /sbin/ldconfig %endif %files i18n -f gdata.lang %files -n %libname %defattr(-,root,root,-) %doc NEWS README AUTHORS %{_libdir}/libgdata.so.%{major}* %_libdir/girepository-1.0/GData-0.0.typelib %files -n %develname %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/*.so %{_libdir}/*.la %{_libdir}/pkgconfig/%{name}.pc %{_datadir}/gtk-doc/html/gdata/ %_datadir/gir-1.0/GData-0.0.gir %changelog * Tue Jul 24 2012 Oden Eriksson <oeriksson@mandriva.com> 0.6.6-3.1 - P0: security fix for CVE-2012-1177 (suse) * Mon May 02 2011 Oden Eriksson <oeriksson@mandriva.com> 0.6.6-3mdv2011.0 + Revision: 662368 - mass rebuild * Wed Apr 06 2011 Funda Wang <fwang@mandriva.org> 0.6.6-2 + Revision: 650927 - rebuild for updated libsoup libtool archive * Sat Dec 11 2010 Götz Waschk <waschk@mandriva.org> 0.6.6-1mdv2011.0 + Revision: 620587 - update to new version 0.6.6 * Thu Sep 30 2010 Götz Waschk <waschk@mandriva.org> 0.6.5-1mdv2011.0 + Revision: 582187 - update to new version 0.6.5 * Mon Sep 13 2010 Götz Waschk <waschk@mandriva.org> 0.6.4-5mdv2011.0 + Revision: 577924 - rebuild for new g-i * Mon Aug 09 2010 Götz Waschk <waschk@mandriva.org> 0.6.4-4mdv2011.0 + Revision: 568187 - disable check - rebuild for new libproxy * Sat Jul 31 2010 Funda Wang <fwang@mandriva.org> 0.6.4-2mdv2011.0 + Revision: 563853 - rebuild for new gobject-introspection * Tue Mar 30 2010 Götz Waschk <waschk@mandriva.org> 0.6.4-1mdv2010.1 + Revision: 528949 - update to new version 0.6.4 * Sat Mar 20 2010 Götz Waschk <waschk@mandriva.org> 0.6.3-1mdv2010.1 + Revision: 525397 - update to new version 0.6.3 * Sun Feb 21 2010 Götz Waschk <waschk@mandriva.org> 0.6.2-1mdv2010.1 + Revision: 509183 - update to new version 0.6.2 * Tue Feb 16 2010 Götz Waschk <waschk@mandriva.org> 0.6.1-1mdv2010.1 + Revision: 506430 - update to new version 0.6.1 * Sun Feb 14 2010 Götz Waschk <waschk@mandriva.org> 0.6.0-1mdv2010.1 + Revision: 505966 - new version - new major - add gobject-introspection support * Mon Nov 23 2009 Götz Waschk <waschk@mandriva.org> 0.5.1-1mdv2010.1 + Revision: 469214 - update to new version 0.5.1 * Tue Sep 22 2009 Götz Waschk <waschk@mandriva.org> 0.5.0-1mdv2010.0 + Revision: 447296 - new version - new major * Mon Jul 20 2009 Götz Waschk <waschk@mandriva.org> 0.4.0-1mdv2010.0 + Revision: 398208 - new version - new major * Mon May 25 2009 Götz Waschk <waschk@mandriva.org> 0.3.0-1mdv2010.0 + Revision: 379551 - fix build deps - new version - new major - fix check * Mon May 11 2009 Götz Waschk <waschk@mandriva.org> 0.2.0-2mdv2010.0 + Revision: 374639 - fix devel provides * Mon May 11 2009 Götz Waschk <waschk@mandriva.org> 0.2.0-1mdv2010.0 + Revision: 374526 - import libgdata * Mon May 11 2009 Götz Waschk <waschk@mandriva.org> 0.2.0-1mdv2010.0 - initial package * Sat Apr 25 2009 Bastien Nocera <bnocera@redhat.com> 0.2.0-1 - Update to 0.2.0 * Mon Apr 06 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1.1-2 - Add check, snippet from Jason Tibbitts * Wed Apr 01 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1.1-1 - Update to 0.1.1 * Wed Apr 01 2009 - Bastien Nocera <bnocera@redhat.com> - 0.1.0-1 - First package