Mono.Zeroconf – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 #
2 # spec file for package mono-zeroconf (Version 0.8.0)
3 #
4 # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
5 # This file and all modifications and additions to the pristine
6 # package are under the same license as the package itself.
7 #
8 # Please submit bugfixes or comments via http://bugs.opensuse.org/
9 #
10  
11 # norootforbuild
12  
13  
14 Name: mono-zeroconf
15 AutoReqProv: on
16 License: X11/MIT
17 Group: Development/Languages/Mono
18 Summary: A cross platform Zero Configuration Networking library for Mono
19 Url: http://mono-project.com/Mono.Zeroconf
20 Version: 0.8.0
21 Release: 1
22 Source0: %{name}-%{version}.tar.bz2
23 BuildArch: noarch
24 BuildRoot: %{_tmppath}/%{name}-%{version}-build
25 BuildRequires: mono-devel
26 Requires: mono-zeroconf-provider
27 %define assembly_version 3.0.0.80
28 ## --- Build Configuration --- ##
29 %define build_avahi 1
30 %define build_mdnsr 1
31 %define build_docs 1
32 # openSUSE Configuration
33 %if 0%{?suse_version}
34 %if %{suse_version} >= 1030
35 %define build_avahi 1
36 %define build_mdnsr 0
37 #BuildRequires: avahi-mono
38 %endif
39 %if %{suse_version} >= 1020 && %{suse_version} < 1030
40 %define build_avahi 1
41 %define build_mdnsr 1
42 #BuildRequires: avahi-mono
43 BuildRequires: mDNSResponder-devel
44 %endif
45 %if %{suse_version} < 1020
46 %define build_avahi 0
47 %define build_mdnsr 1
48 BuildRequires: mDNSResponder-devel
49 %endif
50 %endif
51 # Fedora Configuration
52 %if 0%{?fedora_version}
53 %define env_options export MONO_SHARED_DIR=/tmp
54 %define build_docs 0
55 %define build_mdnsr 0
56 %define build_avahi 1
57 BuildRequires: avahi-sharp
58 %endif
59 # Mandriva Configuration
60 %if 0%{?mandriva_version}
61 %define build_docs 0
62 %define build_avahi 1
63 %define build_mdnsr 0
64 BuildRequires: avahi-sharp
65 %endif
66 %if 0%{?build_docs}
67 BuildRequires: monodoc-core
68 %endif
69 ## --- Base Package Information --- ##
70  
71 %description
72 Mono.Zeroconf is a cross platform Zero Configuration Networking library
73 for Mono and .NET. It provides a unified API for performing the most
74 common zeroconf operations on a variety of platforms and subsystems:
75 all the operating systems supported by Mono and both the Avahi and
76 Bonjour/mDNSResponder transports.
77  
78  
79  
80 Authors:
81 --------
82 Aaron Bockover <abockover@novell.com>
83  
84 %files
85 %defattr(-, root, root)
86 %doc AUTHORS COPYING ChangeLog NEWS README
87 %dir %_prefix/lib/mono-zeroconf
88 %dir %_prefix/lib/mono/mono-zeroconf
89 %dir %_prefix/lib/mono/gac/Mono.Zeroconf
90 %dir %_prefix/lib/mono/gac/Mono.Zeroconf/%{assembly_version}__e60c4f4a95e1099e
91 %dir %_prefix/lib/mono/gac/policy.1.0.Mono.Zeroconf
92 %dir %_prefix/lib/mono/gac/policy.1.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e
93 %dir %_prefix/lib/mono/gac/policy.2.0.Mono.Zeroconf
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
97 %_bindir/mzclient
98 %_prefix/share/pkgconfig/mono-zeroconf.pc
99 %_prefix/lib/mono/gac/Mono.Zeroconf/*/*.dll*
100 %_prefix/lib/mono/gac/policy.1.0.Mono.Zeroconf/*/*
101 %_prefix/lib/mono/gac/policy.2.0.Mono.Zeroconf/*/*
102 %_prefix/lib/mono/gac/policy.3.0.Mono.Zeroconf/*/*
103 %_prefix/lib/mono/mono-zeroconf/Mono.Zeroconf.dll*
104 %_prefix/lib/mono-zeroconf/MZClient.exe*
105 ## --- mDNSResponder Provider --- ##
106 %if %{build_mdnsr} == 1
107  
108 %package provider-mDNSResponder
109 Summary: A cross platform Zero Configuration Networking library for Mono
110 Group: Development/Languages/Mono
111 BuildRequires: mDNSResponder-devel
112 Requires: mDNSResponder mono-zeroconf
113 Provides: mono-zeroconf-provider
114  
115 %description provider-mDNSResponder
116 Mono.Zeroconf is a cross platform Zero Configuration Networking library
117 for Mono and .NET. It provides a unified API for performing the most
118 common zeroconf operations on a variety of platforms and subsystems:
119 all the operating systems supported by Mono and both the Avahi and
120 Bonjour/mDNSResponder transports.
121  
122  
123  
124 Authors:
125 --------
126 Aaron Bockover <abockover@novell.com>
127  
128 %files provider-mDNSResponder
129 %defattr(-, root, root)
130 %dir %_prefix/lib/mono-zeroconf
131 %_prefix/lib/mono-zeroconf/Mono.Zeroconf.Providers.Bonjour.dll*
132 %endif
133 ## --- Avahi Provider --- ##
134 %if %{build_avahi} == 1
135  
136 %package provider-avahi
137 Summary: A cross platform Zero Configuration Networking library for Mono
138 Group: Development/Languages/Mono
139 Requires: mono-zeroconf avahi
140 Provides: mono-zeroconf-provider
141  
142 %description provider-avahi
143 Mono.Zeroconf is a cross platform Zero Configuration Networking library
144 for Mono and .NET. It provides a unified API for performing the most
145 common zeroconf operations on a variety of platforms and subsystems:
146 all the operating systems supported by Mono and both the Avahi and
147 Bonjour/mDNSResponder transports.
148  
149  
150  
151 Authors:
152 --------
153 Aaron Bockover <abockover@novell.com>
154  
155 %files provider-avahi
156 %defattr(-, root, root)
157 %dir %_prefix/lib/mono-zeroconf
158 %_prefix/lib/mono-zeroconf/Mono.Zeroconf.Providers.AvahiDBus.dll*
159 %endif
160 ## --- Monodoc Developer API Documentation --- ##
161 %if %{build_docs} == 1
162  
163 %package doc
164 Summary: A cross platform Zero Configuration Networking library for Mono
165 Group: Development/Languages/Mono
166  
167 %description doc
168 Mono.Zeroconf is a cross platform Zero Configuration Networking library
169 for Mono and .NET. It provides a unified API for performing the most
170 common zeroconf operations on a variety of platforms and subsystems:
171 all the operating systems supported by Mono and both the Avahi and
172 Bonjour/mDNSResponder transports.
173  
174  
175  
176 Authors:
177 --------
178 Aaron Bockover <abockover@novell.com>
179  
180 %files doc
181 %defattr(-, root, root)
182 %dir %_prefix/lib/monodoc/sources/
183 %_prefix/lib/monodoc/sources/mono-zeroconf-docs*
184 %endif
185 ## --- Build/Install --- #
186  
187 %prep
188 %setup -q
189  
190 %build
191 %{?env_options}
192 ./configure --prefix=/usr \
193 %if %{build_docs} == 0
194 --disable-docs \
195 %else
196 --enable-docs \
197 %endif
198 %if %{build_avahi} == 0
199 --disable-avahi \
200 %else
201 --enable-avahi \
202 %endif
203 %if %{build_mdnsr} == 0
204 --disable-mdnsresponder
205 %else
206 --enable-mdnsresponder
207 %endif
208 make
209  
210 %install
211 %{?env_options}
212 make install DESTDIR=$RPM_BUILD_ROOT
213 mkdir -p $RPM_BUILD_ROOT/usr/share/pkgconfig
214 mv $RPM_BUILD_ROOT/usr/lib/pkgconfig/* $RPM_BUILD_ROOT/usr/share/pkgconfig
215  
216 %clean
217 rm -rf $RPM_BUILD_ROOT
218  
219 %changelog
220 * Fri Mar 21 2008 abockover@suse.de
221 - Updated to version 0.7.6
222 - Adds NetworkInterface API to IService objects
223 - Supports IPv6 host address resolutions
224 * Fri Jan 25 2008 abockover@suse.de
225 - Updated to version 0.7.5
226 - Adds GAC version policy assemblies so package upgrades don't break apps
227 * Wed Jan 23 2008 abockover@suse.de
228 - Updated to version 0.7.4
229 - Fixes IP address resolution bug in Bonjour provider that
230 only manifested under .NET on Windows XP SP2
231 - Minor bug fix in MZClient
232 - libdir patch removed from package; fixed in upstream release
233 * Fri Dec 28 2007 abockover@suse.de
234 - Patch to fix libdir issue in mono-zeroconf.pc on x86_64
235 * Sun Dec 23 2007 abockover@suse.de
236 - Initial import of Mono.Zeroconf for STABLE from the build serivce
237 - Version 0.7.3 release
238 - Provides a cross platform (Linux, Mac, Windows) Mono/.NET API
239 for Zero Configuration networking supporting either Bonjour
240 or Avahi mDNS providers