3 %bcond_with dotnet # build with dotnet bindings
5 Summary: Free mDNS/DNS-SD implementation
6 Summary(pl): Wolna implementacja mDNS/DNS-SD
12 Source0: http://avahi.org/download/%{name}-%{version}.tar.gz
13 # Source0-md5: 12eb941043f26f82c51e99821ac52c44
14 URL: http://avahi.org/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: dbus-devel >= 0.34
18 BuildRequires: doxygen
19 BuildRequires: expat-devel
20 BuildRequires: gdbm-devel
21 BuildRequires: glib2-devel >= 1:2.4.0
22 BuildRequires: graphviz
23 BuildRequires: gtk+2-devel >= 2:2.4.0
24 BuildRequires: libdaemon-devel >= 0.5
25 BuildRequires: libglade2-devel >= 2.4.0
26 BuildRequires: libtool
29 BuildRequires: monodoc
31 BuildRequires: python-dbus
32 BuildRequires: python-pygtk-devel
33 BuildRequires: qt-devel
34 BuildRequires: rpmbuild(macros) >= 1.228
35 Requires(post,preun): /sbin/chkconfig
36 Requires: %{name}-libs = %{version}-%{release}
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 Avahi is an implementation the DNS Service Discovery and Multicast
41 DNS specifications for Zeroconf Computing. It uses D-BUS for
42 communication between user applications and a system daemon.
45 Avahi jest implementacj± specyfikacji DNS Service Discovery
46 i Multicast DNS dla Zeroconf Computing. U¿ywa D-BUSa dla komunikacji
47 pomiêdzy programami u¿ytkownika a demonem systemowym.
50 Summary: Avahi client, common and core libraries
51 Summary(pl): Biblioteki Avahi: klienta, wspólna i g³ówna
55 Avahi client, common and core libraries.
57 %description libs -l pl
58 Biblioteki Avahi: klienta, wspólna i g³ówna.
61 Summary: Header files for Avahi library
62 Summary(pl): Pliki nag³ówkowe biblioteki Avahi
63 Group: Development/Libraries
64 Requires: %{name}-libs = %{version}-%{release}
66 Requires: libdaemon-devel >= 0.5
69 This is the package containing the header files for Avahi library.
71 %description devel -l pl
72 Ten pakiet zawiera pliki nag³ówkowe biblioteki Avahi.
75 Summary: Static Avahi library
76 Summary(pl): Statyczna biblioteka Avahi
77 Group: Development/Libraries
78 Requires: %{name}-devel = %{version}-%{release}
83 %description static -l pl
84 Statyczna biblioteka Avahi.
87 Summary: Avahi GLib library bindings
88 Summary(pl): Wi±zania Avahi dla bibioteki GLib
92 Avahi GLib library bindings.
94 %description glib -l pl
95 Wi±zania Avahi dla bibioteki GLib.
98 Summary: Header files for Avahi GLib library bindings
99 Summary(pl): Pliki nag³ówkowe wi±zañ Avahi dla biblioteki GLib
100 Group: Development/Libraries
101 Requires: %{name}-libs = %{version}-%{release}
102 Requires: glib2-devel >= 1:2.4.0
104 %description glib-devel
105 This is the package containing the header files for Avahi-glib library.
107 %description glib-devel -l pl
108 Ten pakiet zawiera pliki nag³ówkowe biblioteki Avahi-glib.
111 Summary: Static Avahi GLib library
112 Summary(pl): Statyczna biblioteka Avahi GLib
113 Group: Development/Libraries
114 Requires: %{name}-glib-devel = %{version}-%{release}
116 %description glib-static
117 Static Avahi GLib library.
119 %description glib-static -l pl
120 Statyczna biblioteka Avahi GLib.
123 Summary: Avahi Qt 3 library bindings
124 Summary(pl): Wi±zania Avahi dla biblioteki Qt 3
126 Requires: %{name}-libs = %{version}-%{release}
129 Avahi Qt 3 library bindings.
131 %description qt3 -l pl
132 Wi±zania Avahi dla biblioteki Qt 3.
135 Summary: Header files for Avahi Qt 3 library bindings
136 Summary(pl): Pliki nag³ówkowe wi±zañ Avahi dla biblioteki Qt 3
137 Group: Development/Libraries
138 Requires: %{name}-qt3 = %{version}-%{release}
141 %description qt3-devel
142 Header files for Avahi Qt 3 library bindings.
144 %description qt3-devel -l pl
145 Pliki nag³ówkowe wi±zañ Avahi dla biblioteki Qt 3.
148 Summary: Static Avahi Qt 3 library
149 Summary(pl): Statyczna biblioteka Avahi Qt 3
150 Group: Development/Libraries
151 Requires: %{name}-qt3-devel = %{version}-%{release}
153 %description qt3-static
154 Static Avahi Qt 3 library.
156 %description qt3-static -l pl
157 Statyczna biblioteka Avahi Qt 3.
159 %package -n dotnet-avahi
160 Summary: Avahi MONO bindings
161 Summary(pl): Wi±zania Avahi dla MONO
164 %description -n dotnet-avahi
167 %description -n dotnet-avahi -l pl
168 Wi±zania Avahi dla MONO.
170 %package -n dotnet-avahi-devel
171 Summary: Development files for MONO Avahi bindings
172 Summary(pl): Pliki rozwojowe wi±zañ Avahi dla MONO
173 Group: Development/Libraries
174 Requires: %{name}-libs = %{version}-%{release}
176 %description -n dotnet-avahi-devel
177 Development files for MONO Avahi bindings.
179 %description -n dotnet-avahi-devel -l pl
180 Pliki rozwojowe wi±zañ Avahi dla MONO.
183 Summary: Miniature web server
184 Summary(pl): Miniaturowy serwer web
187 %description bookmarks
188 A Python based miniature web server that browses for mDNS/DNS-SD
189 services of type '_http._tcp' (i.e. web sites) and makes them
190 available as HTML links on http://localhost:8080.
192 %description bookmarks -l pl
193 Napisany w Pythonie miniaturowy serwer web, pozwalaj±cy nap
194 przegl±danie us³ug typu '_http._tcp' (np. stron web) i
195 udostêpniaj±cy je jako linki HTML na http://localhost:8080.
198 Summary: Avahi Zeroconf browser
199 Summary(pl): Przegl±darka Zeroconf Avahi
202 %description discover
203 A tool for enumerating all available services on the
204 local LAN (python-pygtk implementation).
206 %description discover -l pl
207 Narzêdzie wymieniaj±ce wszystkie dostêpne us³ugi w sieci
208 lokalnej LAN (implementacja w python-pygtk).
210 %package discover-standalone
211 Summary: Avahi Zeroconf browser
212 Summary(pl): Przegl±darka Zeroconf Avahi
215 %description discover-standalone
216 GTK+ tool for enumerating all available services on the local LAN.
218 %description discover-standalone -l pl
219 Narzêdzie GTK+ wymieniaj±ce wszystkie dostêpne us³ugi w sieci
223 Summary: Avahi CLI utilities
224 Summary(pl): Narzêdzia CLI Avahi
228 Command line utilities using avahi-client.
230 %description utils -l pl
231 Narzêdzia linii poleceñ korzystaj±ce z avahi-client.
238 %{__aclocal} -I common
243 --enable-compat-howl \
246 %{!?with_dotnet:--disable-mono} \
247 %{!?with_dotnet:--disable-monodoc}
251 rm -rf $RPM_BUILD_ROOT
254 DESTDIR=$RPM_BUILD_ROOT \
255 pythondir=%{py_sitedir}
257 #rm -f $RPM_BUILD_ROOT%{py_sitedir}/avahi/*.py
260 rm -rf $RPM_BUILD_ROOT
265 /sbin/chkconfig --add %{name}
266 %service %{name} restart
269 if [ "$1" = "0" ]; then
270 %service -q %{name} stop
271 /sbin/chkconfig --del %{name}
275 %post libs -p /sbin/ldconfig
276 %postun libs -p /sbin/ldconfig
278 %post glib -p /sbin/ldconfig
279 %postun glib -p /sbin/ldconfig
281 %post qt3 -p /sbin/ldconfig
282 %postun qt3 -p /sbin/ldconfig
285 %defattr(644,root,root,755)
286 %doc docs/AUTHORS docs/COMPAT-LAYERS docs/NEWS docs/README docs/TODO
288 %dir %{_sysconfdir}/avahi
289 %dir %{_sysconfdir}/avahi/services
290 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-daemon.conf
291 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-dnsconfd.action
292 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/ssh.service
293 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus-1/system.d/*
295 %attr(755,root,root) %{_bindir}/avahi-browse
296 %attr(755,root,root) %{_bindir}/avahi-publish
297 %attr(755,root,root) %{_bindir}/avahi-resolve
299 %attr(755,root,root) %{_sbindir}/avahi-daemon
300 %attr(755,root,root) %{_sbindir}/avahi-dnsconfd
302 %dir %{_datadir}/%{name}
304 %dir %{_datadir}/%{name}/introspection
305 %{_datadir}/%{name}/introspection/*.introspect
306 %{_datadir}/%{name}/avahi-service.dtd
307 %{_datadir}/%{name}/service-types
308 %{_datadir}/%{name}/service-types.db
314 %attr(754,root,root) /etc/rc.d/init.d/%{name}
315 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
319 %defattr(644,root,root,755)
320 %attr(755,root,root) %{_libdir}/libavahi-client.so.*.*.*
321 %attr(755,root,root) %{_libdir}/libavahi-common.so.*.*.*
322 %attr(755,root,root) %{_libdir}/libavahi-core.so.*.*.*
325 %defattr(644,root,root,755)
326 %doc docs/API-CHANGES-0.6 docs/DBUS-API docs/HACKING docs/MALLOC
327 %attr(755,root,root) %{_libdir}/libavahi-client.so
328 %attr(755,root,root) %{_libdir}/libavahi-common.so
329 %attr(755,root,root) %{_libdir}/libavahi-core.so
330 %{_libdir}/libavahi-client.la
331 %{_libdir}/libavahi-common.la
332 %{_libdir}/libavahi-core.la
333 %{_includedir}/avahi-client
334 %{_includedir}/avahi-common
335 %{_includedir}/avahi-core
336 %{_pkgconfigdir}/avahi-client.pc
337 %{_pkgconfigdir}/avahi-core.pc
340 %defattr(644,root,root,755)
341 %{_libdir}/libavahi-client.a
342 %{_libdir}/libavahi-common.a
343 %{_libdir}/libavahi-core.a
345 #%files -n dotnet-avahi
346 #%defattr(644,root,root,755)
348 #%files -n dotnet-avahi-devel
349 #%defattr(644,root,root,755)
352 %defattr(644,root,root,755)
353 %attr(755,root,root) %{_libdir}/libavahi-glib.so.*.*.*
356 %defattr(644,root,root,755)
357 %attr(755,root,root) %{_libdir}/libavahi-glib.so
358 %{_libdir}/libavahi-glib.la
359 %{_includedir}/avahi-glib
360 %{_pkgconfigdir}/avahi-glib.pc
363 %defattr(644,root,root,755)
364 %{_libdir}/libavahi-glib.a
367 %defattr(644,root,root,755)
368 %attr(755,root,root) %{_libdir}/libavahi-qt3.so.*.*.*
371 %defattr(644,root,root,755)
372 %attr(755,root,root) %{_libdir}/libavahi-qt3.so
373 %{_libdir}/libavahi-qt3.la
374 %{_includedir}/avahi-qt3
375 %{_pkgconfigdir}/avahi-qt3.pc
378 %defattr(644,root,root,755)
379 %{_libdir}/libavahi-qt3.a
382 %defattr(644,root,root,755)
383 %attr(755,root,root) %{_bindir}/avahi-bookmarks
386 %defattr(644,root,root,755)
387 %attr(755,root,root) %{_bindir}/avahi-discover
388 %{_datadir}/%{name}/interfaces/avahi-discover.glade
390 %{_desktopdir}/*.desktop
392 %files discover-standalone
393 %defattr(644,root,root,755)
394 %attr(755,root,root) %{_bindir}/avahi-discover-standalone
397 %defattr(644,root,root,755)
398 %attr(755,root,root) %{_bindir}/avahi-browse
399 %attr(755,root,root) %{_bindir}/avahi-publish
400 %attr(755,root,root) %{_bindir}/avahi-resolve