summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdegames/tdegames.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdegames/tdegames.spec')
-rw-r--r--redhat/main/tdegames/tdegames.spec14
1 files changed, 14 insertions, 0 deletions
diff --git a/redhat/main/tdegames/tdegames.spec b/redhat/main/tdegames/tdegames.spec
index c7685d9cb..d57163534 100644
--- a/redhat/main/tdegames/tdegames.spec
+++ b/redhat/main/tdegames/tdegames.spec
@@ -71,6 +71,20 @@ BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: libtool
+# 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
+
# IDN support
BuildRequires: libidn-devel