Build with phonenumber support
Closes https://src.fedoraproject.org/rpms/evolution-data-server/pull-request/2
This commit is contained in:
parent
d5766b0384
commit
5e5f21926b
@ -2,6 +2,7 @@
|
|||||||
%define static_ldap 0
|
%define static_ldap 0
|
||||||
%define krb5_support 1
|
%define krb5_support 1
|
||||||
%define largefile_support 1
|
%define largefile_support 1
|
||||||
|
%global phonenum_support 1
|
||||||
|
|
||||||
# Coverity scan can override this to 0, to skip checking in gtk-doc generated code
|
# Coverity scan can override this to 0, to skip checking in gtk-doc generated code
|
||||||
%{!?with_docs: %global with_docs 1}
|
%{!?with_docs: %global with_docs 1}
|
||||||
@ -37,7 +38,7 @@
|
|||||||
|
|
||||||
Name: evolution-data-server
|
Name: evolution-data-server
|
||||||
Version: 3.36.1
|
Version: 3.36.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Backend data server for Evolution
|
Summary: Backend data server for Evolution
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://wiki.gnome.org/Apps/Evolution
|
URL: https://wiki.gnome.org/Apps/Evolution
|
||||||
@ -109,6 +110,12 @@ BuildRequires: pkgconfig(openssl)
|
|||||||
BuildRequires: krb5-devel >= 1.11
|
BuildRequires: krb5-devel >= 1.11
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{phonenum_support}
|
||||||
|
BuildRequires: libphonenumber-devel
|
||||||
|
BuildRequires: protobuf-devel
|
||||||
|
BuildRequires: boost-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The %{name} package provides a unified backend for programs that work
|
The %{name} package provides a unified backend for programs that work
|
||||||
with contacts, tasks, and calendar information.
|
with contacts, tasks, and calendar information.
|
||||||
@ -214,6 +221,12 @@ fi
|
|||||||
%define largefile_flags -DENABLE_LARGEFILE=OFF
|
%define largefile_flags -DENABLE_LARGEFILE=OFF
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{phonenum_support}
|
||||||
|
%define phonenum_flags -DWITH_PHONENUMBER=ON
|
||||||
|
%else
|
||||||
|
%define phonenum_flags -DWITH_PHONENUMBER=OFF
|
||||||
|
%endif
|
||||||
|
|
||||||
%define ssl_flags -DENABLE_SMIME=ON
|
%define ssl_flags -DENABLE_SMIME=ON
|
||||||
|
|
||||||
%if %{with_docs}
|
%if %{with_docs}
|
||||||
@ -245,7 +258,7 @@ export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED -fPIC -I%{_includedir}/et -Wno-d
|
|||||||
-DDBUS_SERVICES_PREFIX=%{?_eds_dbus_services_prefix} \
|
-DDBUS_SERVICES_PREFIX=%{?_eds_dbus_services_prefix} \
|
||||||
%endif
|
%endif
|
||||||
%ldap_flags %krb5_flags %ssl_flags \
|
%ldap_flags %krb5_flags %ssl_flags \
|
||||||
%largefile_flags %gtkdoc_flags \
|
%largefile_flags %gtkdoc_flags %phonenum_flags \
|
||||||
..
|
..
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
@ -460,6 +473,9 @@ find $RPM_BUILD_ROOT -name '*.so.*' -exec chmod +x {} \;
|
|||||||
%{_datadir}/installed-tests
|
%{_datadir}/installed-tests
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 01 2020 Nikhil Jha <hi@nikhiljha.com> - 3.36.1-3
|
||||||
|
- Build with phonenumber support
|
||||||
|
|
||||||
* Mon Mar 30 2020 Milan Crha <mcrha@redhat.com> - 3.36.1-2
|
* Mon Mar 30 2020 Milan Crha <mcrha@redhat.com> - 3.36.1-2
|
||||||
- Remove libdb dependency
|
- Remove libdb dependency
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user