1
1
#
2
- # spec file for package mono-zeroconf (Version 0.7.6 )
2
+ # spec file for package mono-zeroconf (Version 0.8.0 )
3
3
#
4
4
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
5
5
# This file and all modifications and additions to the pristine
10
10
11
11
# norootforbuild
12
12
13
+
13
14
Name: mono-zeroconf
14
15
AutoReqProv: on
15
16
License: X11 /MIT
16
17
Group: Development/Languages/Mono
17
18
Summary: A cross platform Zero Configuration Networking library for Mono
18
19
Url: http://mono-project.com/Mono.Zeroconf
19
- Version: 0.7.6
20
+ Version: 0.8.0
20
21
Release: 1
21
22
Source0: %{name }-%{version }.tar.bz2
22
23
BuildArch: noarch
23
24
BuildRoot: %{_tmppath }/%{name }-%{version }-build
24
25
BuildRequires: mono-devel
25
26
Requires: mono-zeroconf-provider
26
- %define assembly_version 2 .0.0.76
27
+ %define assembly_version 3 .0.0.80
27
28
## --- Build Configuration --- ##
28
29
%define build_avahi 1
29
30
%define build_mdnsr 1
@@ -33,13 +34,12 @@ Requires: mono-zeroconf-provider
33
34
%if %{suse_version } >= 1030
34
35
%define build_avahi 1
35
36
%define build_mdnsr 0
36
- BuildRequires: avahi-mono
37
+ # BuildRequires: avahi-mono
37
38
%endif
38
39
%if %{suse_version } >= 1020 && %{suse_version } < 1030
39
40
%define build_avahi 1
40
41
%define build_mdnsr 1
41
- %define override_avahi_libs 1
42
- BuildRequires: avahi-mono
42
+ #BuildRequires: avahi-mono
43
43
BuildRequires: mDNSResponder-devel
44
44
%endif
45
45
%if %{suse_version } < 1020
@@ -92,11 +92,14 @@ Authors:
92
92
%dir %_prefix /lib/mono/gac/policy.1.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e
93
93
%dir %_prefix /lib/mono/gac/policy.2.0.Mono.Zeroconf
94
94
%dir %_prefix /lib/mono/gac/policy.2.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e
95
+ %dir %_prefix /lib/mono/gac/policy.3.0.Mono.Zeroconf
96
+ %dir %_prefix /lib/mono/gac/policy.3.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e
95
97
%_bindir /mzclient
96
98
%_prefix /share/pkgconfig/mono-zeroconf.pc
97
99
%_prefix /lib/mono/gac/Mono.Zeroconf/*/*.dll*
98
100
%_prefix /lib/mono/gac/policy.1.0.Mono.Zeroconf/*/*
99
101
%_prefix /lib/mono/gac/policy.2.0.Mono.Zeroconf/*/*
102
+ %_prefix /lib/mono/gac/policy.3.0.Mono.Zeroconf/*/*
100
103
%_prefix /lib/mono/mono-zeroconf/Mono.Zeroconf.dll*
101
104
%_prefix /lib/mono-zeroconf/MZClient.exe*
102
105
## --- mDNSResponder Provider --- ##
@@ -133,7 +136,7 @@ Authors:
133
136
%package provider-avahi
134
137
Summary: A cross platform Zero Configuration Networking library for Mono
135
138
Group: Development/Languages/Mono
136
- Requires: mono-zeroconf
139
+ Requires: mono-zeroconf avahi
137
140
Provides: mono-zeroconf-provider
138
141
139
142
%description provider-avahi
@@ -152,7 +155,7 @@ Authors:
152
155
%files provider-avahi
153
156
%defattr(-, root, root)
154
157
%dir %_prefix /lib/mono-zeroconf
155
- %_prefix /lib/mono-zeroconf/Mono.Zeroconf.Providers.Avahi .dll*
158
+ %_prefix /lib/mono-zeroconf/Mono.Zeroconf.Providers.AvahiDBus .dll*
156
159
%endif
157
160
## --- Monodoc Developer API Documentation --- ##
158
161
%if %{build_docs } == 1
@@ -186,9 +189,6 @@ Authors:
186
189
187
190
%build
188
191
%{?env_options }
189
- %if 0%{?override_avahi_libs }
190
- export AVAHI_LIBS=" -r:/usr/lib/mono/avahi-sharp/avahi-sharp.dll"
191
- %endif
192
192
./configure --prefix=/usr \
193
193
%if %{build_docs } == 0
194
194
--disable-docs \
@@ -217,7 +217,7 @@ mv $RPM_BUILD_ROOT/usr/lib/pkgconfig/* $RPM_BUILD_ROOT/usr/share/pkgconfig
217
217
rm -rf $RPM_BUILD_ROOT
218
218
219
219
%changelog
220
- *
Thu Mar 21 2008 [email protected]
220
+ *
Fri Mar 21 2008 [email protected]
221
221
- Updated to version 0.7.6
222
222
- Adds NetworkInterface API to IService objects
223
223
- Supports IPv6 host address resolutions
@@ -230,7 +230,7 @@ rm -rf $RPM_BUILD_ROOT
230
230
only manifested under .NET on Windows XP SP2
231
231
- Minor bug fix in MZClient
232
232
- libdir patch removed from package; fixed in upstream release
233
- *
Thu Dec 27 2007 [email protected]
233
+ *
Fri Dec 28 2007 [email protected]
234
234
- Patch to fix libdir issue in mono-zeroconf.pc on x86_64
235
235
*
Sun Dec 23 2007 [email protected]
236
236
- Initial import of Mono.Zeroconf for STABLE from the build serivce
0 commit comments