|
|
@ -1,7 +1,6 @@
|
|
|
|
%define ldap_support 1
|
|
|
|
%define ldap_support 1
|
|
|
|
%define static_ldap 0
|
|
|
|
%define static_ldap 0
|
|
|
|
%define krb5_support 1
|
|
|
|
%define krb5_support 1
|
|
|
|
%define nntp_support 1
|
|
|
|
|
|
|
|
%define largefile_support 1
|
|
|
|
%define largefile_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
|
|
|
@ -33,14 +32,14 @@
|
|
|
|
### Abstract ###
|
|
|
|
### Abstract ###
|
|
|
|
|
|
|
|
|
|
|
|
Name: evolution-data-server
|
|
|
|
Name: evolution-data-server
|
|
|
|
Version: 3.22.1
|
|
|
|
Version: 3.23.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
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
|
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
Source: http://download.gnome.org/sources/%{name}/3.22/%{name}-%{version}.tar.xz
|
|
|
|
Source: http://download.gnome.org/sources/%{name}/3.23/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
Provides: evolution-webcal = %{version}
|
|
|
|
Provides: evolution-webcal = %{version}
|
|
|
|
Obsoletes: evolution-webcal < 2.24.0
|
|
|
|
Obsoletes: evolution-webcal < 2.24.0
|
|
|
@ -53,7 +52,7 @@ Obsoletes: compat-evolution-data-server310-libcamel < 3.12
|
|
|
|
### Patches ###
|
|
|
|
### Patches ###
|
|
|
|
|
|
|
|
|
|
|
|
# RH bug #243296
|
|
|
|
# RH bug #243296
|
|
|
|
Patch01: evolution-data-server-1.11.5-fix-64bit-acinclude.patch
|
|
|
|
# Patch01: evolution-data-server-1.11.5-fix-64bit-acinclude.patch
|
|
|
|
|
|
|
|
|
|
|
|
### Dependencies ###
|
|
|
|
### Dependencies ###
|
|
|
|
|
|
|
|
|
|
|
@ -61,14 +60,16 @@ Requires: dconf
|
|
|
|
|
|
|
|
|
|
|
|
### Build Dependencies ###
|
|
|
|
### Build Dependencies ###
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gnome-common
|
|
|
|
|
|
|
|
BuildRequires: gperf
|
|
|
|
BuildRequires: gperf
|
|
|
|
BuildRequires: gtk-doc >= %{gtk_doc_version}
|
|
|
|
BuildRequires: gtk-doc >= %{gtk_doc_version}
|
|
|
|
BuildRequires: intltool >= %{intltool_version}
|
|
|
|
BuildRequires: intltool >= %{intltool_version}
|
|
|
|
BuildRequires: libdb-devel
|
|
|
|
BuildRequires: libdb-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
|
|
|
BuildRequires: python3
|
|
|
|
BuildRequires: vala
|
|
|
|
BuildRequires: vala
|
|
|
|
BuildRequires: vala-tools
|
|
|
|
BuildRequires: vala-tools
|
|
|
|
BuildRequires: systemd
|
|
|
|
BuildRequires: systemd
|
|
|
@ -164,13 +165,17 @@ the functionality of the installed %{name} package.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
%patch01 -p1 -b .fix-64bit-acinclude
|
|
|
|
# %patch01 -p1 -b .fix-64bit-acinclude
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p _build
|
|
|
|
|
|
|
|
cd _build
|
|
|
|
|
|
|
|
|
|
|
|
%if %{ldap_support}
|
|
|
|
%if %{ldap_support}
|
|
|
|
|
|
|
|
|
|
|
|
%if %{static_ldap}
|
|
|
|
%if %{static_ldap}
|
|
|
|
%define ldap_flags --with-openldap=yes --with-static-ldap
|
|
|
|
%define ldap_flags -DWITH_OPENLDAP=ON -DWITH_STATIC_LDAP=ON
|
|
|
|
# Set LIBS so that configure will be able to link with static LDAP libraries,
|
|
|
|
# Set LIBS so that configure will be able to link with static LDAP libraries,
|
|
|
|
# which depend on Cyrus SASL and OpenSSL. XXX Is the "else" clause necessary?
|
|
|
|
# which depend on Cyrus SASL and OpenSSL. XXX Is the "else" clause necessary?
|
|
|
|
if pkg-config openssl ; then
|
|
|
|
if pkg-config openssl ; then
|
|
|
@ -186,37 +191,31 @@ else
|
|
|
|
export LIBS="$LIBS -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4"
|
|
|
|
export LIBS="$LIBS -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%define ldap_flags --with-openldap=yes
|
|
|
|
%define ldap_flags -DWITH_OPENLDAP=ON
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%define ldap_flags --without-openldap
|
|
|
|
%define ldap_flags -DWITH_OPENLDAP=OFF
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{krb5_support}
|
|
|
|
%if %{krb5_support}
|
|
|
|
%define krb5_flags --with-krb5
|
|
|
|
%define krb5_flags -DWITH_KRB5=ON
|
|
|
|
%else
|
|
|
|
|
|
|
|
%define krb5_flags --without-krb5
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{nntp_support}
|
|
|
|
|
|
|
|
%define nntp_flags --enable-nntp=yes
|
|
|
|
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%define nntp_flags --enable-nntp=no
|
|
|
|
%define krb5_flags -DWITH_KRB5=OFF
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if %{largefile_support}
|
|
|
|
%if %{largefile_support}
|
|
|
|
%define largefile_flags --enable-largefile
|
|
|
|
%define largefile_flags -DENABLE_LARGEFILE=ON
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%define largefile_flags --disable-largefile
|
|
|
|
%define largefile_flags -DENABLE_LARGEFILE=OFF
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%define ssl_flags --enable-smime=yes
|
|
|
|
%define ssl_flags -DENABLE_SMIME=ON
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with_docs}
|
|
|
|
%if %{with_docs}
|
|
|
|
%define gtkdoc_flags --enable-gtk-doc
|
|
|
|
%define gtkdoc_flags -DENABLE_GTK_DOC=ON
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%define gtkdoc_flags --disable-gtk-doc
|
|
|
|
%define gtkdoc_flags -DENABLE_GTK_DOC=OFF
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
if ! pkg-config --exists nss; then
|
|
|
|
if ! pkg-config --exists nss; then
|
|
|
@ -227,46 +226,29 @@ fi
|
|
|
|
export CPPFLAGS="-I%{_includedir}/et"
|
|
|
|
export CPPFLAGS="-I%{_includedir}/et"
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED -fPIC -I%{_includedir}/et -Wno-deprecated-declarations"
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED -fPIC -I%{_includedir}/et -Wno-deprecated-declarations"
|
|
|
|
|
|
|
|
|
|
|
|
# Regenerate configure to pick up configure.in and acinclude.m4 changes..
|
|
|
|
|
|
|
|
aclocal -I m4
|
|
|
|
|
|
|
|
autoheader
|
|
|
|
|
|
|
|
automake --add-missing
|
|
|
|
|
|
|
|
libtoolize
|
|
|
|
|
|
|
|
intltoolize --force
|
|
|
|
|
|
|
|
autoconf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# See Ross Burton's blog entry for why we want --with-libdb.
|
|
|
|
# See Ross Burton's blog entry for why we want --with-libdb.
|
|
|
|
# http://www.burtonini.com/blog//computers/eds-libdb-2006-07-18-10-40
|
|
|
|
# http://www.burtonini.com/blog//computers/eds-libdb-2006-07-18-10-40
|
|
|
|
|
|
|
|
|
|
|
|
%configure \
|
|
|
|
%cmake -G "Unix Makefiles" \
|
|
|
|
--disable-maintainer-mode \
|
|
|
|
-DENABLE_MAINTAINER_MODE=OFF \
|
|
|
|
--disable-uoa \
|
|
|
|
-DENABLE_UOA=OFF \
|
|
|
|
--with-libdb=/usr \
|
|
|
|
-DWITH_LIBDB=/usr \
|
|
|
|
--enable-file-locking=fcntl \
|
|
|
|
-DENABLE_FILE_LOCKING=fcntl \
|
|
|
|
--enable-dot-locking=no \
|
|
|
|
-DENABLE_DOT_LOCKING=OFF \
|
|
|
|
--enable-introspection=yes \
|
|
|
|
-DENABLE_INTROSPECTION=ON \
|
|
|
|
--enable-vala-bindings \
|
|
|
|
-DENABLE_VALA_BINDINGS=ON \
|
|
|
|
--enable-installed-tests \
|
|
|
|
-DENABLE_INSTALLED_TESTS=ON \
|
|
|
|
%ldap_flags %krb5_flags %nntp_flags %ssl_flags \
|
|
|
|
%ldap_flags %krb5_flags %ssl_flags \
|
|
|
|
%largefile_flags %gtkdoc_flags
|
|
|
|
%largefile_flags %gtkdoc_flags \
|
|
|
|
export tagname=CC
|
|
|
|
..
|
|
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
|
|
|
|
cd _build
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
export tagname=CC
|
|
|
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT LIBTOOL=/usr/bin/libtool install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
|
|
|
|
# remove libtool archives for importers and the like
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT/%{_libdir} -name '*.la' -exec rm {} \;
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/evolution-data-server/*.a
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{credential_modules_dir}/*.a
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{camel_provider_dir}/*.a
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{ebook_backends_dir}/*.a
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{ecal_backends_dir}/*.a
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{modules_dir}/*.a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# give the libraries some executable bits
|
|
|
|
# give the libraries some executable bits
|
|
|
|
find $RPM_BUILD_ROOT -name '*.so.*' -exec chmod +x {} \;
|
|
|
|
find $RPM_BUILD_ROOT -name '*.so.*' -exec chmod +x {} \;
|
|
|
@ -287,7 +269,7 @@ fi
|
|
|
|
%posttrans
|
|
|
|
%posttrans
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}-%{eds_base_version}.lang
|
|
|
|
%files -f _build/%{name}-%{eds_base_version}.lang
|
|
|
|
%doc README COPYING ChangeLog NEWS
|
|
|
|
%doc README COPYING ChangeLog NEWS
|
|
|
|
%{_libdir}/libcamel-1.2.so.*
|
|
|
|
%{_libdir}/libcamel-1.2.so.*
|
|
|
|
%{_libdir}/libebackend-1.2.so.*
|
|
|
|
%{_libdir}/libebackend-1.2.so.*
|
|
|
@ -437,6 +419,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
|
|
|
%{_datadir}/installed-tests
|
|
|
|
%{_datadir}/installed-tests
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Oct 24 2016 Milan Crha <mcrha@redhat.com> - 3.23.1-1
|
|
|
|
|
|
|
|
- Update to 3.23.1
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 10 2016 Milan Crha <mcrha@redhat.com> - 3.22.1-1
|
|
|
|
* Mon Oct 10 2016 Milan Crha <mcrha@redhat.com> - 3.22.1-1
|
|
|
|
- Update to 3.22.1
|
|
|
|
- Update to 3.22.1
|
|
|
|
|
|
|
|
|
|
|
|