summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdenetwork/tdenetwork.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdenetwork/tdenetwork.spec')
-rw-r--r--redhat/main/tdenetwork/tdenetwork.spec14
1 files changed, 14 insertions, 0 deletions
diff --git a/redhat/main/tdenetwork/tdenetwork.spec b/redhat/main/tdenetwork/tdenetwork.spec
index afbcd44d4..45323afe3 100644
--- a/redhat/main/tdenetwork/tdenetwork.spec
+++ b/redhat/main/tdenetwork/tdenetwork.spec
@@ -98,6 +98,20 @@ BuildRequires: brp-check-trinity
PreReq: permissions
%endif
+# AVAHI support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_avahi 1
+BuildRequires: libavahi-tqt-devel >= 1:0.6.30
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}avahi-client-devel
+Requires: %{_lib}avahi-client3
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: avahi-devel
+Requires: avahi
+%endif
+%endif
+
# OPENSSL support
BuildRequires: openssl-devel