]> git.pld-linux.org Git - packages/dotnet-mono-zeroconf.git/commitdiff
- added mdns bcond, off by default as Th does not ship mDNSResponder auto/th/dotnet-mono-zeroconf-0_7_6-2
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Thu, 16 Oct 2008 22:02:14 +0000 (22:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 2

Changed files:
    dotnet-mono-zeroconf.spec -> 1.7

dotnet-mono-zeroconf.spec

index 1c195792d6672d95811cad29e0e0374245778846..5732115a64653c60fbab7ad918ca765e958dcf06 100644 (file)
@@ -1,9 +1,14 @@
+#
+# Conditional build:
+%bcond_with    mdns            # build with mDNSResponder support
+#
 %include       /usr/lib/rpm/macros.mono
+#
 Summary:       Mono.Zeroconf - easy to use API that covers the most common operations for mDNS
 Summary(pl.UTF-8):     Mono.Zeroconf - łatwe w użyciu API pokrywające większość operacji mDNS
 Name:          dotnet-mono-zeroconf
 Version:       0.7.6
-Release:       1
+Release:       2
 License:       MIT
 Group:         Libraries
 Source0:       http://banshee-project.org/files/mono-zeroconf/mono-zeroconf-%{version}.tar.bz2
@@ -83,7 +88,8 @@ biblioteki Mono.Zeroconf.
 %{__autoconf}
 %{__automake}
 %configure \
-       --enable-avahi
+       --enable-avahi \
+       --%{?with_mdns:en}%{?!with_mdns:dis}able-mdnsresponder
 
 %{__make} -j1
 
@@ -122,9 +128,11 @@ rm -rf $RPM_BUILD_ROOT
 # -debug?
 %{_libdir}/mono-zeroconf/Mono.Zeroconf.Providers.Avahi.dll.mdb
 
+%if %{with mdns}
 %files provider-mDNSResponder
 %defattr(644,root,root,755)
 %{_libdir}/mono-zeroconf/Mono.Zeroconf.Providers.Bonjour.dll
 %{_libdir}/mono-zeroconf/Mono.Zeroconf.Providers.Bonjour.dll.config
 # -debug?
 %{_libdir}/mono-zeroconf/Mono.Zeroconf.Providers.Bonjour.dll.mdb
+%endif
This page took 0.064326 seconds and 4 git commands to generate.