%bcond_without bluez # Bluez backend
%bcond_without evolution # EDS (Evolution Data Server) backend
%bcond_without ofono # oFono backend
+%bcond_with sysprof # sysprof based profiling
%bcond_without telepathy # Telepathy backend
%bcond_without zeitgeist # ` Zeitgeist support in Telepathy backend
Summary: GObject contact aggregation library
Summary(pl.UTF-8): Biblioteka GObject do agregowania kontaktów
Name: folks
-Version: 0.15.2
+Version: 0.15.7
Release: 1
License: LGPL v2.1+
Group: Libraries
Source0: https://download.gnome.org/sources/folks/0.15/%{name}-%{version}.tar.xz
-# Source0-md5: db7d824bcc7b2404c9570451028f1aa6
+# Source0-md5: cd036d74e37aa6e215308db7f08e0223
Patch0: %{name}-meson.patch
-Patch1: %{name}-module.patch
URL: https://wiki.gnome.org/Projects/Folks
BuildRequires: dbus-devel
%{?with_telepathy:BuildRequires: dbus-glib-devel}
BuildRequires: gobject-introspection-devel >= 1.30.0
BuildRequires: libgee-devel >= 0.8.4
BuildRequires: libxml2-devel >= 2.0
-BuildRequires: meson >= 0.51
+BuildRequires: meson >= 0.57
BuildRequires: ncurses-devel
BuildRequires: ninja >= 1.5
BuildRequires: pkgconfig >= 1:0.21
BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 1.736
BuildRequires: readline-devel
+%{?with_sysprof:BuildRequires: sysprof-devel >= 3.38.0}
BuildRequires: tar >= 1:1.22
%{?with_telepathy:BuildRequires: telepathy-glib-devel >= 0.19.9}
%if %{with vala}
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%build
%meson build \
%{?with_apidocs:-Ddocs=true} \
%{!?with_evolution:-Deds_backend=false} \
%{!?with_ofono:-Dofono_backend=false} \
+ %{?with_sysprof:-Dprofiling=true} \
%{!?with_telepathy:-Dtelepathy_backend=false} \
%{?with_zeitgeist:-Dzeitgeist=true}
%ninja_install -C build
+# not supported by glibc (as of 2.37)
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie
+
%find_lang %{name}
%clean