summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/libcaldav
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-10-30 11:01:50 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2014-10-30 11:01:50 +0100
commit4b4a591aae6d89c67e0a7645659a206070a7247a (patch)
treeec56ab61d83d47af7744fe4e5a06c982ebc3ad55 /redhat/dependencies/libcaldav
parent54795cd33acb191a4dfeac6bd681d4d4172abd7b (diff)
downloadtde-packaging-4b4a591aae6d89c67e0a7645659a206070a7247a.tar.gz
tde-packaging-4b4a591aae6d89c67e0a7645659a206070a7247a.zip
RPM Packaging: update tdegames
Diffstat (limited to 'redhat/dependencies/libcaldav')
-rw-r--r--redhat/dependencies/libcaldav/libcaldav-14.0.0.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec b/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec
index fab0b738d..9cb2a8c0a 100644
--- a/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec
+++ b/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec
@@ -66,15 +66,16 @@ BuildRequires: gtk2-devel
# CURL support
%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version}
-BuildRequires: libcurl-devel
+%define libcurl_devel libcurl-devel
%else
%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}curl-devel
+%define libcurl_devel %{_lib}curl-devel
%else
# Specific CURL version for TDE on RHEL 5 (and older)
-#BuildRequires: trinity-libcurl-devel
+#define libcurl_devel trinity-libcurl-devel
%endif
%endif
+%{?libcurl_devel:BuildRequires: %{libcurl_devel}}
%description
libcaldev is a client library that adds support for the CalDAV protocol (rfc4791).
@@ -114,6 +115,8 @@ easy to integrate CalDAV support into any PIM application.
Summary: A client library that adds support for the CalDAV protocol (Development Files)
Group: Development/Libraries/C and C++
Requires: %{libcaldav}0 = %{?epoch:%{epoch}:}%{version}-%{release}
+%{?libcurl_devel:Requires: %{libcurl_devel}}
+Requires: glib2-devel
Obsoletes: trinity-libcaldav-devel < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-libcaldav-devel = %{?epoch:%{epoch}:}%{version}-%{release}