+# $Revision: 1.25 $, x$Date: 2006-03-19 18:41:47 $
#
# Conditional build:
-%bcond_with dotnet # build with dotnet bindings
+%bcond_without dotnet # build with dotnet bindings
+%bcond_without qt # build with qt bindings
+#
+%include /usr/lib/rpm/macros.mono
#
Summary: Free mDNS/DNS-SD implementation
Summary(pl): Wolna implementacja mDNS/DNS-SD
Name: avahi
-Version: 0.6.8
-Release: 1
+Version: 0.6.9
+Release: 2
License: GPL v.2/LGPL
Group: Applications
Source0: http://avahi.org/download/%{name}-%{version}.tar.gz
-# Source0-md5: 28ef3c1f15d03f0dc73c9289a434d37c
+# Source0-md5: 2652910f0e52c373d7a15b6851750517
Source1: %{name}-daemon
Source2: %{name}-dnsconfd
Source3: %{name}.png
%endif
BuildRequires: python-dbus
BuildRequires: python-pygtk-devel
+%if %{with qt}
BuildRequires: qt-devel >= 3.0
+%endif
BuildRequires: rpmbuild(macros) >= 1.228
Requires(post,preun): /sbin/chkconfig
Requires: dbus >= 0.60-2
--enable-compat-howl \
--with-distro=none \
--disable-qt4 \
+ %{!?with_qt:--disable-qt3} \
%{!?with_dotnet:--disable-mono} \
%{!?with_dotnet:--disable-monodoc}
%{__make}
%defattr(644,root,root,755)
%{_libdir}/libavahi-glib.a
+%if %{with qt}
%files qt3
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libavahi-qt3.so.*.*.*
%files qt3-static
%defattr(644,root,root,755)
%{_libdir}/libavahi-qt3.a
+%endif
%files bookmarks
%defattr(644,root,root,755)