From 971e492893ae80afb7bfb02230946e59b52c0dc5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 30 2018 05:41:40 +0000 Subject: import ekiga-4.0.1-8.el7 --- diff --git a/SOURCES/ekiga-4.0.1-libresolv.patch b/SOURCES/ekiga-4.0.1-libresolv.patch new file mode 100644 index 0000000..7754eeb --- /dev/null +++ b/SOURCES/ekiga-4.0.1-libresolv.patch @@ -0,0 +1,13 @@ +diff -up ekiga-4.0.1/configure.ac.libresolv ekiga-4.0.1/configure.ac +--- ekiga-4.0.1/configure.ac.libresolv 2017-02-23 02:30:42.051227852 -0600 ++++ ekiga-4.0.1/configure.ac 2017-02-23 02:32:04.609519837 -0600 +@@ -324,7 +324,8 @@ if test "x$enable_ldap" = "xyes"; then + + dnl Checking for libresolv + if test ${gm_platform} = "linux" ; then +- AC_CHECK_LIB(resolv, res_gethostbyaddr, [LIBS="-lresolv $LIBS"], AC_MSG_ERROR([You need the libresolv library to compile Ekiga]), -lresolv) ++ # AC_CHECK_LIB(resolv, res_gethostbyaddr, [LIBS="-lresolv $LIBS"], AC_MSG_ERROR([You need the libresolv library to compile Ekiga]), -lresolv) ++ AC_WARNING([Just adding libresolv to LDAP_LIBS, without checking anything]) + LDAP_LIBS="${LDAP_LIBS} -lresolv" + fi + found_ldap="yes" diff --git a/SPECS/ekiga.spec b/SPECS/ekiga.spec index 0a1fe00..92e511c 100644 --- a/SPECS/ekiga.spec +++ b/SPECS/ekiga.spec @@ -1,13 +1,14 @@ Summary: A Gnome based SIP/H323 teleconferencing application Name: ekiga Version: 4.0.1 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ Group: Applications/Communications URL: http://www.ekiga.org/ Source0: ftp://ftp.gnome.org/pub/gnome/sources/ekiga/4.0/%{name}-%{version}.tar.xz Patch0: translations.patch +Patch1: ekiga-4.0.1-libresolv.patch BuildRequires: ptlib-devel = 2.10.10 BuildRequires: opal-devel = 3.10.10 @@ -29,10 +30,12 @@ BuildRequires: openssl-devel BuildRequires: SDL-devel BuildRequires: speex-devel +BuildRequires: autoconf BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: gnome-doc-utils BuildRequires: intltool +BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: scrollkeeper @@ -53,11 +56,15 @@ It uses the standard SIP and H323 protocols. %prep %setup -q %patch0 -p2 -b .translations +%patch1 -p1 -b .libresolv # force regeneration to drop translations rm ekiga.schemas %build + +autoreconf -fi + CXXFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED=1 -fPIC" %configure --disable-scrollkeeper --with-boost-libdir=%{_libdir} make %{?_smp_mflags} @@ -146,6 +153,9 @@ scrollkeeper-update -q || : %{_sysconfdir}/gconf/schemas/ekiga.schemas %changelog +* Wed Jun 13 2018 Milan Crha - 4.0.1-8 +- Rebuild against newer evolution-data-server + * Thu Apr 20 2017 Benjamin Otte - 4.0.1-7 - Rebuild against newer evolution-data-server