- Update specfile and patch 5 (evolution-data-server-1.3.5-nspr_fix.patch)
to use nss rather than mozilla-nss throughout
This commit is contained in:
parent
621a9f7e93
commit
df41aada7b
@ -1,4 +1,4 @@
|
|||||||
%define use_mozilla_nss 1
|
%define use_nss 1
|
||||||
%define ldap_support 1
|
%define ldap_support 1
|
||||||
%define static_ldap 0
|
%define static_ldap 0
|
||||||
%define krb5_support 1
|
%define krb5_support 1
|
||||||
@ -20,7 +20,7 @@
|
|||||||
Summary: Backend data server for evolution
|
Summary: Backend data server for evolution
|
||||||
Name: evolution-data-server
|
Name: evolution-data-server
|
||||||
Version: 1.5.3
|
Version: 1.5.3
|
||||||
Release: 1
|
Release: 2
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source0: ftp://ftp.gnome.org/pub/gnome/sources/evolution-data-server/1.0/%{name}-%{version}.tar.bz2
|
Source0: ftp://ftp.gnome.org/pub/gnome/sources/evolution-data-server/1.0/%{name}-%{version}.tar.bz2
|
||||||
@ -56,9 +56,9 @@ BuildRequires: ORBit2-devel >= %{orbit2_version}
|
|||||||
BuildRequires: libbonobo-devel >= %{libbonobo_version}
|
BuildRequires: libbonobo-devel >= %{libbonobo_version}
|
||||||
BuildRequires: libgnomeui-devel
|
BuildRequires: libgnomeui-devel
|
||||||
BuildRequires: libglade2-devel
|
BuildRequires: libglade2-devel
|
||||||
%if %{use_mozilla_nss}
|
%if %{use_nss}
|
||||||
BuildRequires: nspr-devel
|
BuildRequires: nspr-devel
|
||||||
BuildRequires: mozilla-nss-devel
|
BuildRequires: nss-devel
|
||||||
%else
|
%else
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
%endif
|
%endif
|
||||||
@ -143,22 +143,22 @@ mkdir -p krb5-fakeprefix/%{_lib}
|
|||||||
%define nntp_flags --enable-nntp=no
|
%define nntp_flags --enable-nntp=no
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{use_mozilla_nss}
|
%if %{use_nss}
|
||||||
%define ssl_flags --enable-nss=yes --enable-smime=yes
|
%define ssl_flags --enable-nss=yes --enable-smime=yes
|
||||||
%else
|
%else
|
||||||
%define ssl_flags --enable-openssl=yes
|
%define ssl_flags --enable-openssl=yes
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{use_mozilla_nss}
|
%if %{use_nss}
|
||||||
if ! pkg-config --exists mozilla-nss; then
|
if ! pkg-config --exists nss; then
|
||||||
echo "Unable to find suitable version of mozilla nss to use!"
|
echo "Unable to find suitable version of nss to use!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
CPPFLAGS="-I%{_includedir}/et"; export CPPFLAGS
|
CPPFLAGS="-I%{_includedir}/et"; export CPPFLAGS
|
||||||
CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED -fPIC -I%{_includedir}/et"; export CFLAGS
|
CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED -fPIC -I%{_includedir}/et"; export CFLAGS
|
||||||
%if ! %{use_mozilla_nss}
|
%if ! %{use_nss}
|
||||||
if pkg-config openssl ; then
|
if pkg-config openssl ; then
|
||||||
CFLAGS="$CFLAGS `pkg-config --cflags openssl`"
|
CFLAGS="$CFLAGS `pkg-config --cflags openssl`"
|
||||||
LDFLAGS="$LDFLAGS `pkg-config --libs-only-L openssl`"
|
LDFLAGS="$LDFLAGS `pkg-config --libs-only-L openssl`"
|
||||||
@ -228,6 +228,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 19 2005 David Malcolm <dmalcolm@redhat.com> - 1.5.3-2
|
||||||
|
- Update specfile and patch 5 (evolution-data-server-1.3.5-nspr_fix.patch) to
|
||||||
|
use nss rather than mozilla-nss throughout
|
||||||
|
|
||||||
* Mon Dec 19 2005 David Malcolm <dmalcolm@redhat.com> - 1.5.3-1
|
* Mon Dec 19 2005 David Malcolm <dmalcolm@redhat.com> - 1.5.3-1
|
||||||
- 1.5.3
|
- 1.5.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user