SPECS: dotnet-mono-zeroconf.spec - added mdns bcond, off by default as Th d...
megabajt
megabajt at pld-linux.org
Fri Oct 17 00:02:20 CEST 2008
Author: megabajt Date: Thu Oct 16 22:02:20 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added mdns bcond, off by default as Th does not ship mDNSResponder
- release 2
---- Files affected:
SPECS:
dotnet-mono-zeroconf.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/dotnet-mono-zeroconf.spec
diff -u SPECS/dotnet-mono-zeroconf.spec:1.6 SPECS/dotnet-mono-zeroconf.spec:1.7
--- SPECS/dotnet-mono-zeroconf.spec:1.6 Sun Sep 14 23:51:10 2008
+++ SPECS/dotnet-mono-zeroconf.spec Fri Oct 17 00:02:14 2008
@@ -1,10 +1,15 @@
# $Revision$, $Date$
+#
+# 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
@@ -84,7 +89,8 @@
%{__autoconf}
%{__automake}
%configure \
- --enable-avahi
+ --enable-avahi \
+ --%{?with_mdns:en}%{?!with_mdns:dis}able-mdnsresponder
%{__make} -j1
@@ -123,12 +129,14 @@
# -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
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -136,6 +144,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2008/10/16 22:02:14 megabajt
+- added mdns bcond, off by default as Th does not ship mDNSResponder
+- release 2
+
Revision 1.6 2008/09/14 21:51:10 megabajt
- updated to 0.7.6
- license is MIT
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dotnet-mono-zeroconf.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list