Update to 3.11.2
Conditionally build devel documentation Disable compiler warnings about deprecated symbols
This commit is contained in:
parent
4bdbb34f0c
commit
ec25f085c1
1
.gitignore
vendored
1
.gitignore
vendored
@ -60,3 +60,4 @@ evolution-data-server-2.31.5.tar.bz2
|
|||||||
/evolution-data-server-3.10.0.tar.xz
|
/evolution-data-server-3.10.0.tar.xz
|
||||||
/evolution-data-server-3.10.1.tar.xz
|
/evolution-data-server-3.10.1.tar.xz
|
||||||
/evolution-data-server-3.11.1.tar.xz
|
/evolution-data-server-3.11.1.tar.xz
|
||||||
|
/evolution-data-server-3.11.2.tar.xz
|
||||||
|
@ -4,6 +4,9 @@
|
|||||||
%define nntp_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
|
||||||
|
%{!?with_docs: %define with_docs 1}
|
||||||
|
|
||||||
%define glib2_version 2.36.0
|
%define glib2_version 2.36.0
|
||||||
%define gtk3_version 3.2.0
|
%define gtk3_version 3.2.0
|
||||||
%define gcr_version 3.4
|
%define gcr_version 3.4
|
||||||
@ -28,7 +31,7 @@
|
|||||||
### Abstract ###
|
### Abstract ###
|
||||||
|
|
||||||
Name: evolution-data-server
|
Name: evolution-data-server
|
||||||
Version: 3.11.1
|
Version: 3.11.2
|
||||||
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
|
||||||
@ -112,6 +115,8 @@ Requires: sqlite-devel
|
|||||||
%description devel
|
%description devel
|
||||||
Development files needed for building things which link against %{name}.
|
Development files needed for building things which link against %{name}.
|
||||||
|
|
||||||
|
%if %{with_docs}
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation files for %{name}
|
Summary: Documentation files for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -120,6 +125,9 @@ BuildArch: noarch
|
|||||||
%description doc
|
%description doc
|
||||||
This package contains developer documentation for %{name}.
|
This package contains developer documentation for %{name}.
|
||||||
|
|
||||||
|
# %{with_docs}
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -176,13 +184,19 @@ fi
|
|||||||
|
|
||||||
%define ssl_flags --enable-smime=yes
|
%define ssl_flags --enable-smime=yes
|
||||||
|
|
||||||
|
%if %{with_docs}
|
||||||
|
%define gtkdoc_flags --enable-gtk-doc
|
||||||
|
%else
|
||||||
|
%define gtkdoc_flags --disable-gtk-doc
|
||||||
|
%endif
|
||||||
|
|
||||||
if ! pkg-config --exists nss; then
|
if ! pkg-config --exists nss; then
|
||||||
echo "Unable to find suitable version of nss to use!"
|
echo "Unable to find suitable version of nss to use!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export CPPFLAGS="-I%{_includedir}/et"
|
export CPPFLAGS="-I%{_includedir}/et"
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED -fPIC -I%{_includedir}/et"
|
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..
|
# Regenerate configure to pick up configure.in and acinclude.m4 changes..
|
||||||
aclocal -I m4
|
aclocal -I m4
|
||||||
@ -201,11 +215,10 @@ autoconf
|
|||||||
--with-libdb=/usr \
|
--with-libdb=/usr \
|
||||||
--enable-file-locking=fcntl \
|
--enable-file-locking=fcntl \
|
||||||
--enable-dot-locking=no \
|
--enable-dot-locking=no \
|
||||||
--enable-gtk-doc \
|
|
||||||
--enable-introspection=yes \
|
--enable-introspection=yes \
|
||||||
--enable-vala-bindings \
|
--enable-vala-bindings \
|
||||||
%ldap_flags %krb5_flags %nntp_flags %ssl_flags \
|
%ldap_flags %krb5_flags %nntp_flags %ssl_flags \
|
||||||
%largefile_flags
|
%largefile_flags %gtkdoc_flags
|
||||||
export tagname=CC
|
export tagname=CC
|
||||||
|
|
||||||
# Do not build in parallel. The libedata-book and libedata-cal directories
|
# Do not build in parallel. The libedata-book and libedata-cal directories
|
||||||
@ -359,6 +372,8 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
|||||||
%{_datadir}/vala/vapi/libedataserver-1.2.deps
|
%{_datadir}/vala/vapi/libedataserver-1.2.deps
|
||||||
%{_datadir}/vala/vapi/libedataserver-1.2.vapi
|
%{_datadir}/vala/vapi/libedataserver-1.2.vapi
|
||||||
|
|
||||||
|
%if %{with_docs}
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_datadir}/gtk-doc/html/camel
|
%{_datadir}/gtk-doc/html/camel
|
||||||
@ -370,7 +385,14 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
|||||||
%{_datadir}/gtk-doc/html/libedata-cal
|
%{_datadir}/gtk-doc/html/libedata-cal
|
||||||
%{_datadir}/gtk-doc/html/libedataserver
|
%{_datadir}/gtk-doc/html/libedataserver
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 18 2013 Matthew Barnes <mbarnes@redhat.com> - 3.11.2-1
|
||||||
|
- Update to 3.11.2
|
||||||
|
- Conditionally build devel documentation
|
||||||
|
- Disable compiler warnings about deprecated symbols
|
||||||
|
|
||||||
* Tue Oct 22 2013 Matthew Barnes <mbarnes@redhat.com> - 3.11.1-1
|
* Tue Oct 22 2013 Matthew Barnes <mbarnes@redhat.com> - 3.11.1-1
|
||||||
- Update to 3.11.1
|
- Update to 3.11.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user