diff --git a/libgdata-0.17.9.tar.xz b/libgdata-0.17.9.tar.xz deleted file mode 100644 index 7ce616e..0000000 Binary files a/libgdata-0.17.9.tar.xz and /dev/null differ diff --git a/libgdata-0.18.1.tar.xz b/libgdata-0.18.1.tar.xz new file mode 100644 index 0000000..f706398 Binary files /dev/null and b/libgdata-0.18.1.tar.xz differ diff --git a/libgdata.spec b/libgdata.spec index fe3e904..ae32747 100644 --- a/libgdata.spec +++ b/libgdata.spec @@ -1,13 +1,13 @@ Name: libgdata -Version: 0.17.9 -Release: 4 +Version: 0.18.1 +Release: 1 Summary: GLib-based library for accessing online service APIs using the GData protocol License: LGPLv2+ URL: https://live.gnome.org/%{name} -Source0: https://download.gnome.org/sources/%{name}/0.17/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/%{name}/0.18/%{name}-%{version}.tar.xz BuildRequires: gcr-devel glib2-devel gnome-online-accounts-devel gobject-introspection-devel BuildRequires: gtk-doc intltool json-glib-devel liboauth-devel libsoup-devel libxml2-devel -BuildRequires: vala vala-devel +BuildRequires: vala vala-devel meson %description libgdata is a GLib-based library for accessing online service APIs using the @@ -28,11 +28,16 @@ applications that want to make use of %{name}. %autosetup -n %{name}-%{version} -p1 %build -%configure --disable-always-build-tests --disable-silent-rules -make %{?_smp_mflags} CFLAGS="$CFLAGS -fno-strict-aliasing" +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +%meson \ + -Dalways_build_tests=false \ + -Dinstalled_tests=false \ + -Dgtk_doc=true \ + %{nil} +%meson_build %install -%make_install +%meson_install %delete_la %ldconfig_scriptlets @@ -52,7 +57,6 @@ make %{?_smp_mflags} CFLAGS="$CFLAGS -fno-strict-aliasing" %{_libdir}/pkgconfig/libgdata.pc %{_datadir}/vala/vapi/libgdata.* %{_datadir}/gir-1.0/*.gir -%{_libdir}/*.a %files help %defattr(-,root,root) @@ -60,6 +64,11 @@ make %{?_smp_mflags} CFLAGS="$CFLAGS -fno-strict-aliasing" %{_datadir}/gtk-doc/html/* %changelog +* Mon May 31 2021 weijin deng - 0.18.1-1 +- Upgrade to 0.18.1 +- Update Version, Release, Source0, stage 'files' +- Stage 'build' use meson build + * Mon Sep 2 2019 openEuler Buildteam - 0.17.9-4 - Package init