summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/libcaldav
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-10-21 19:20:20 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-10-21 19:20:20 +0200
commit7834467b40a454432c3f8d84b6b43e299afe4933 (patch)
treea733272f2aa78cb2d65f000197d1d90800cc17dc /redhat/dependencies/libcaldav
parent6d19f23f648d1aaee59350cfdd97f564c405239f (diff)
downloadtde-packaging-7834467b40a454432c3f8d84b6b43e299afe4933.tar.gz
tde-packaging-7834467b40a454432c3f8d84b6b43e299afe4933.zip
RHEL/Fedora/MGA/MDV/Suse: update dependencies for TDE 3.5.13.1
Diffstat (limited to 'redhat/dependencies/libcaldav')
-rw-r--r--redhat/dependencies/libcaldav/libcaldav.spec15
1 files changed, 14 insertions, 1 deletions
diff --git a/redhat/dependencies/libcaldav/libcaldav.spec b/redhat/dependencies/libcaldav/libcaldav.spec
index 9374a2fe6..7ad978c08 100644
--- a/redhat/dependencies/libcaldav/libcaldav.spec
+++ b/redhat/dependencies/libcaldav/libcaldav.spec
@@ -29,14 +29,18 @@ Source0: libcaldav_0.6.5-2debian2.tar.gz
Patch1: libcaldav-0.6.2-fix_installation.patch
BuildRequires: libtool
+%if 0%{?rhel} == 4
+BuildRequires: evolution28-gtk2-devel
+%else
BuildRequires: glib2-devel
BuildRequires: gtk2-devel
+%endif
BuildRequires: make
Obsoletes: libcaldav < %{version}-%{release}
Provides: libcaldav = %{version}-%{release}
-%if 0%{?fedora} || 0%{?rhel} >= 6
+%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version}
BuildRequires: libcurl-devel
%else
%if 0%{?mgaversion} || 0%{?mdkversion}
@@ -62,6 +66,10 @@ Provides: libcaldav-devel = %{version}-%{release}
%description devel
%{summary}
+%if 0%{?suse_version}
+%debug_package
+%endif
+
%prep
%setup -q -n libcaldav-%{version}
@@ -70,6 +78,11 @@ Provides: libcaldav-devel = %{version}-%{release}
%build
# CFLAGS required if CURL is installed on /opt/trinity, e.g. RHEL 5
export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${CFLAGS}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+
+if [ -d /usr/evolution28 ]; then
+ export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}"
+fi
autoreconf --force --install --symlink
%configure \