]> git.pld-linux.org Git - packages/avahi.git/blobdiff - avahi.spec
- enable dotnet by default, rel.2
[packages/avahi.git] / avahi.spec
index a6c5e38672369febf11c3e8e400e213229c72bf3..b47a1a916a9c3e4f4bc78c1aca6f972230dc457e 100644 (file)
@@ -1,16 +1,20 @@
+# $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
@@ -35,7 +39,9 @@ BuildRequires:        monodoc
 %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
@@ -339,6 +345,7 @@ Narz
        --enable-compat-howl \
        --with-distro=none \
        --disable-qt4 \
+       %{!?with_qt:--disable-qt3} \
        %{!?with_dotnet:--disable-mono} \
        %{!?with_dotnet:--disable-monodoc}
 %{__make}
@@ -520,6 +527,7 @@ fi
 %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.*.*.*
@@ -534,6 +542,7 @@ fi
 %files qt3-static
 %defattr(644,root,root,755)
 %{_libdir}/libavahi-qt3.a
+%endif
 
 %files bookmarks
 %defattr(644,root,root,755)
This page took 0.049443 seconds and 4 git commands to generate.