Author: aredridel                    Date: Sat Feb 25 17:46:53 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- bcond qt

---- Files affected:
SPECS:
   avahi.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: SPECS/avahi.spec
diff -u SPECS/avahi.spec:1.22 SPECS/avahi.spec:1.23
--- SPECS/avahi.spec:1.22       Thu Feb 23 15:26:16 2006
+++ SPECS/avahi.spec    Sat Feb 25 18:46:47 2006
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_with    dotnet          # build with dotnet bindings
+%bcond_without qt              # build with qt bindings
 #
 Summary:       Free mDNS/DNS-SD implementation
 Summary(pl):   Wolna implementacja mDNS/DNS-SD
@@ -36,7 +37,9 @@
 %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
@@ -340,6 +343,7 @@
        --enable-compat-howl \
        --with-distro=none \
        --disable-qt4 \
+       %{!?with_qt:--disable-qt3} \
        %{!?with_dotnet:--disable-mono} \
        %{!?with_dotnet:--disable-monodoc}
 %{__make}
@@ -521,6 +525,7 @@
 %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.*.*.*
@@ -535,6 +540,7 @@
 %files qt3-static
 %defattr(644,root,root,755)
 %{_libdir}/libavahi-qt3.a
+%endif
 
 %files bookmarks
 %defattr(644,root,root,755)
@@ -569,6 +575,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2006/02/25 17:46:47  aredridel
+- bcond qt
+
 Revision 1.22  2006/02/23 14:26:16  freetz
 - 0.6.8, provides/obsoletes for compat-dns_sd
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/avahi.spec?r1=1.22&r2=1.23&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to