summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/libcarddav
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/libcarddav
parent54795cd33acb191a4dfeac6bd681d4d4172abd7b (diff)
downloadtde-packaging-4b4a591aae6d89c67e0a7645659a206070a7247a.tar.gz
tde-packaging-4b4a591aae6d89c67e0a7645659a206070a7247a.zip
RPM Packaging: update tdegames
Diffstat (limited to 'redhat/dependencies/libcarddav')
-rw-r--r--redhat/dependencies/libcarddav/libcarddav-14.0.0.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/redhat/dependencies/libcarddav/libcarddav-14.0.0.spec b/redhat/dependencies/libcarddav/libcarddav-14.0.0.spec
index 031b326c5..5b93bdfbe 100644
--- a/redhat/dependencies/libcarddav/libcarddav-14.0.0.spec
+++ b/redhat/dependencies/libcarddav/libcarddav-14.0.0.spec
@@ -57,15 +57,16 @@ BuildRequires: libtool
# 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}}
# GTK2 support
%if 0%{?rhel} == 4
@@ -113,6 +114,8 @@ Build dependencies are minimal, requiring only libcurl.
Summary: A portable CardDAV client implementation (Development Files)
Group: Development/Libraries/C and C++
Requires: libcarddav = %{?epoch:%{epoch}:}%{version}-%{release}
+%{?libcurl_devel:Requires: %{libcurl_devel}}
+Requires: glib2-devel
Obsoletes: trinity-libcarddav-devel < %{version}-%{release}
Provides: trinity-libcarddav-devel = %{version}-%{release}