3 %bcond_without dotnet # build without dotnet bindings
4 %bcond_without qt # build without (any) qt bindings
5 %bcond_without qt3 # build without qt3 bindings
6 %bcond_without qt4 # build without qt4 bindings
8 %ifnarch %{ix86} %{x8664} alpha arm hppa ia64 mips ppc s390 s390x sparc sparcv9
20 %{?with_dotnet:%include /usr/lib/rpm/macros.mono}
21 Summary: Free mDNS/DNS-SD/Zeroconf implementation
22 Summary(pl.UTF-8): Wolna implementacja mDNS/DNS-SD/Zeroconf
28 Source0: http://avahi.org/download/%{name}-%{version}.tar.gz
29 # Source0-md5: a83155a6e29e3988f07e5eea3287b21e
30 Source1: %{name}-daemon
31 Source2: %{name}-dnsconfd
33 Source4: %{name}-daemon.upstart
34 Source5: %{name}-dnsconfd.upstart
35 Patch0: %{name}-desktop.patch
36 Patch1: %{name}-glade.patch
37 Patch2: %{name}-destdir.patch
38 Patch3: %{name}-mono-dir.patch
39 Patch4: nss-mdns-package.patch
40 Patch5: %{name}-dhclient_hooks.patch
41 Patch6: %{name}-autoipd-sbin_ip.patch
42 URL: http://avahi.org/
43 BuildRequires: autoconf
44 BuildRequires: automake
45 BuildRequires: dbus-devel >= 0.92
46 BuildRequires: doxygen
47 BuildRequires: expat-devel
48 BuildRequires: gdbm-devel
49 BuildRequires: gettext-devel
50 BuildRequires: glib2-devel >= 1:2.12.2
51 BuildRequires: graphviz
52 BuildRequires: gtk+2-devel >= 2:2.10.2
53 BuildRequires: intltool >= 0.35
54 BuildRequires: libcap-devel
55 BuildRequires: libdaemon-devel >= 0.11
56 BuildRequires: libglade2-devel >= 1:2.6.0
57 BuildRequires: libtool
59 BuildRequires: dotnet-gtk-sharp2-devel >= 2.10
60 BuildRequires: mono-csharp
61 BuildRequires: monodoc >= 2.6
63 BuildRequires: pkgconfig
64 BuildRequires: python >= 1:2.4
65 BuildRequires: python-dbus >= 0.71
66 BuildRequires: python-pygtk-devel >= 2:2.9.6
68 BuildRequires: qt-devel >= 1:3.0
71 BuildRequires: QtCore-devel
72 BuildRequires: qt4-build
74 BuildRequires: rpm-pythonprov
75 BuildRequires: rpmbuild(macros) >= 1.561
76 Requires(post,preun): /sbin/chkconfig
77 Requires: %{name}-libs = %{version}-%{release}
78 Requires: dbus >= 0.92
79 Requires: libdaemon >= 0.11
80 Requires: rc-scripts >= 0.4.3
81 Suggests: nss_mdns >= 0.10-2
82 Provides: group(avahi)
84 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
87 Avahi is an implementation the DNS Service Discovery and Multicast DNS
88 specifications for Zeroconf Computing. It uses D-BUS for communication
89 between user applications and a system daemon.
91 %description -l pl.UTF-8
92 Avahi jest implementacją specyfikacji DNS Service Discovery i
93 Multicast DNS dla Zeroconf Computing. Używa D-BUSa dla komunikacji
94 pomiędzy programami użytkownika a demonem systemowym.
97 Summary: Upstart jobs description for Avahi daemons
98 Summary(pl.UTF-8): Opis zadań Upstart dla demonów Avahi
100 Requires: %{name} = %{version}-%{release}
101 Requires: upstart >= 0.6
104 Upstart jobs description for Avahi daemons.
106 %description upstart -l pl.UTF-8
107 Opis zadań Upstart dla demonów Avahi.
110 Summary: IPv4LL network address configuration daemon
111 Summary(pl.UTF-8): Demon configurujący adresy IPv4LL
112 Group: Networking/Daemons
113 Requires(postun): /usr/sbin/groupdel
114 Requires(postun): /usr/sbin/userdel
115 Requires(pre): /bin/id
116 Requires(pre): /usr/bin/getgid
117 Requires(pre): /usr/sbin/groupadd
118 Requires(pre): /usr/sbin/useradd
119 Provides: group(avahi)
120 Provides: user(avahi)
123 avahi-autoipd implements IPv4LL, "Dynamic Configuration of IPv4 Link-
124 Local Addresses" (IETF RFC3927), a protocol for automatic IP address
125 configuration from the link-local 169.254.0.0/16 range without the
126 need for a central server. It is primarily intended to be used in
127 ad-hoc networks which lack a DHCP server.
129 IPv4LL is part of the Zeroconf stack.
131 %description autoipd -l pl.UTF-8
132 avahi-autoipd jest implementacją IPv4LL, protokołu umożliwiającego
133 automatyczną konfigurację adresu z zakresu 169.254.0.0/16 bez potrzeby
134 użycia centralnego serwera. Jego głównym zastosowaniem są sieci
135 ad-hoc, w których brakuje serwera DHCP.
137 IPv4LL jest częścią stosu Zeroconf.
140 Summary: Avahi client, common and core libraries
141 Summary(pl.UTF-8): Biblioteki Avahi: klienta, wspólna i główna
145 Avahi client, common and core libraries.
147 %description libs -l pl.UTF-8
148 Biblioteki Avahi: klienta, wspólna i główna.
151 Summary: Header files for Avahi library
152 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi
153 Group: Development/Libraries
154 Requires: %{name}-libs = %{version}-%{release}
155 Requires: dbus-devel >= 0.92
156 Requires: expat-devel
159 This is the package containing the header files for Avahi library.
161 %description devel -l pl.UTF-8
162 Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi.
165 Summary: Static Avahi library
166 Summary(pl.UTF-8): Statyczna biblioteka Avahi
167 Group: Development/Libraries
168 Requires: %{name}-devel = %{version}-%{release}
171 Static Avahi library.
173 %description static -l pl.UTF-8
174 Statyczna biblioteka Avahi.
177 Summary: Avahi UI library
178 Summary(pl.UTF-8): Biblioteka Avahi UI
180 Requires: %{name}-libs = %{version}-%{release}
181 Requires: gtk+2 >= 2:2.10.2
184 Common GTK+ UI support library for Avahi.
186 %description ui -l pl.UTF-8
187 Biblioteka wspólnego interfejsu użytkownika GTK+ dla Avahi.
190 Summary: Header files for Avahi UI library
191 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI
192 Group: X11/Development/Libraries
193 Requires: %{name}-devel = %{version}-%{release}
194 Requires: %{name}-ui = %{version}-%{release}
195 Requires: gtk+2-devel >= 2:2.10.2
197 %description ui-devel
198 Header files for Avahi UI library.
200 %description ui-devel -l pl.UTF-8
201 Pliki nagłówkowe biblioteki Avahi UI.
204 Summary: Static Avahi UI library
205 Summary(pl.UTF-8): Statyczna biblioteka Avahi UI
206 Group: X11/Development/Libraries
207 Requires: %{name}-ui-devel = %{version}-%{release}
209 %description ui-static
210 Static Avahi UI library.
212 %description ui-static -l pl.UTF-8
213 Statyczna biblioteka Avahi UI.
215 %package compat-libdns_sd
216 Summary: Avahi Bonjour compat library
217 Summary(pl.UTF-8): Biblioteka Avahi zgodna z Bonjour
219 Provides: mdns-bonjour
220 Obsoletes: mDNSResponder-libs
222 %description compat-libdns_sd
223 Avahi Bonjour compat library.
225 %description compat-libdns_sd -l pl.UTF-8
226 Biblioteka Avahi zgodna z Bonjour.
228 %package compat-libdns_sd-devel
229 Summary: Header files for Avahi Bonjour compat library
230 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour
231 Group: Development/Libraries
232 Requires: %{name}-compat-libdns_sd = %{version}-%{release}
233 Requires: %{name}-devel = %{version}-%{release}
234 Provides: mdns-bonjour-devel
235 Obsoletes: mDNSResponder-devel
237 %description compat-libdns_sd-devel
238 Header files for Avahi Bonjour compat library.
240 %description compat-libdns_sd-devel -l pl.UTF-8
241 Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour.
243 %package compat-libdns_sd-static
244 Summary: Static Avahi Bonjour compat library
245 Summary(pl.UTF-8): Statyczna biblioteka Avahi zgodna z Bonjour
246 Group: Development/Libraries
247 Requires: %{name}-compat-libdns_sd-devel = %{version}-%{release}
248 Provides: mdns-bonjour-static
250 %description compat-libdns_sd-static
251 Static Avahi Bonjour compat library.
253 %description compat-libdns_sd-static -l pl.UTF-8
254 Statyczna biblioteka Avahi zgodna z Bonjour.
257 Summary: Avahi Howl compat library
258 Summary(pl.UTF-8): Biblioteka Avahi zgodna z Howl
260 Provides: mdns-howl-libs
263 %description compat-howl
264 Avahi Howl compat library.
266 %description compat-howl -l pl.UTF-8
267 Biblioteka Avahi zgodna z Howl.
269 %package compat-howl-devel
270 Summary: Header files for Avahi Howl compat library
271 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl
272 Group: Development/Libraries
273 Requires: %{name}-compat-howl = %{version}-%{release}
274 Requires: %{name}-devel = %{version}-%{release}
275 Provides: mdns-howl-devel
276 Obsoletes: howl-devel
278 %description compat-howl-devel
279 Header files for Avahi Howl compat library.
281 %description compat-howl-devel -l pl.UTF-8
282 Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl.
284 %package compat-howl-static
285 Summary: Static Avahi Howl compat library
286 Summary(pl.UTF-8): Statyczna biblioteka Avahi zgodna z Howl
287 Group: Development/Libraries
288 Requires: %{name}-compat-howl-devel = %{version}-%{release}
289 Provides: mdns-howl-static
290 Obsoletes: howl-static
292 %description compat-howl-static
293 Static Avahi Howl compat library.
295 %description compat-howl-static -l pl.UTF-8
296 Statyczna biblioteka Avahi zgodna z Howl.
299 Summary: Avahi GLib library bindings
300 Summary(pl.UTF-8): Wiązania Avahi dla bibioteki GLib
304 Avahi GLib library bindings.
306 %description glib -l pl.UTF-8
307 Wiązania Avahi dla bibioteki GLib.
310 Summary: Header files for Avahi GLib library bindings
311 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki GLib
312 Group: Development/Libraries
313 Requires: %{name}-devel = %{version}-%{release}
314 Requires: %{name}-glib = %{version}-%{release}
315 Requires: glib2-devel >= 1:2.12.2
317 %description glib-devel
318 This is the package containing the header files for Avahi-glib
321 %description glib-devel -l pl.UTF-8
322 Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi-glib.
325 Summary: Static Avahi GLib library
326 Summary(pl.UTF-8): Statyczna biblioteka Avahi GLib
327 Group: Development/Libraries
328 Requires: %{name}-glib-devel = %{version}-%{release}
330 %description glib-static
331 Static Avahi GLib library.
333 %description glib-static -l pl.UTF-8
334 Statyczna biblioteka Avahi GLib.
337 Summary: Avahi GObject interface
338 Summary(pl.UTF-8): Interfejs GObject do Avahi
342 Avahi GObject interface.
344 %description gobject -l pl.UTF-8
345 Interfejs GObject do Avahi.
347 %package gobject-devel
348 Summary: Header files for Avahi GObject interface
349 Summary(pl.UTF-8): Pliki nagłówkowe interfejsu GObject do Avahi
350 Group: Development/Libraries
351 Requires: %{name}-devel = %{version}-%{release}
352 Requires: %{name}-gobject = %{version}-%{release}
353 Requires: glib2-devel >= 1:2.12.2
355 %description gobject-devel
356 This is the package containing the header files for Avahi GObject
359 %description gobject-devel -l pl.UTF-8
360 Ten pakiet zawiera pliki nagłówkowe interfejsu GObject do Avahi.
362 %package gobject-static
363 Summary: Static Avahi GObject library
364 Summary(pl.UTF-8): Statyczna biblioteka Avahi GObject
365 Group: Development/Libraries
366 Requires: %{name}-gobject-devel = %{version}-%{release}
368 %description gobject-static
369 Static Avahi GObject library.
371 %description gobject-static -l pl.UTF-8
372 Statyczna biblioteka Avahi GObject.
375 Summary: Avahi Qt 3 library bindings
376 Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 3
378 Requires: %{name}-libs = %{version}-%{release}
382 Avahi Qt 3 library bindings.
384 %description qt -l pl.UTF-8
385 Wiązania Avahi dla biblioteki Qt 3.
388 Summary: Header files for Avahi Qt 3 library bindings
389 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3
390 Group: Development/Libraries
391 Requires: %{name}-devel = %{version}-%{release}
392 Requires: %{name}-qt = %{version}-%{release}
393 Requires: qt-devel >= 1:3.0
394 Obsoletes: avahi-qt3-devel
396 %description qt-devel
397 Header files for Avahi Qt 3 library bindings.
399 %description qt-devel -l pl.UTF-8
400 Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3.
403 Summary: Static Avahi Qt 3 library
404 Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 3
405 Group: Development/Libraries
406 Requires: %{name}-qt-devel = %{version}-%{release}
407 Obsoletes: avahi-qt3-static
409 %description qt-static
410 Static Avahi Qt 3 library.
412 %description qt-static -l pl.UTF-8
413 Statyczna biblioteka Avahi Qt 3.
416 Summary: Avahi Qt 4 library bindings
417 Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 4
419 Requires: %{name}-libs = %{version}-%{release}
422 Avahi Qt 4 library bindings.
424 %description Qt -l pl.UTF-8
425 Wiązania Avahi dla biblioteki Qt 4.
428 Summary: Header files for Avahi Qt 4 library bindings
429 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4
430 Group: Development/Libraries
431 Requires: %{name}-Qt = %{version}-%{release}
432 Requires: %{name}-devel = %{version}-%{release}
434 %description Qt-devel
435 Header files for Avahi Qt 4 library bindings.
437 %description Qt-devel -l pl.UTF-8
438 Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4.
441 Summary: Static Avahi Qt 4 library
442 Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 4
443 Group: Development/Libraries
444 Requires: %{name}-Qt-devel = %{version}-%{release}
446 %description Qt-static
447 Static Avahi Qt 4 library.
449 %description Qt-static -l pl.UTF-8
450 Statyczna biblioteka Avahi Qt 4.
452 %package -n python-avahi
453 Summary: Avahi Python bindings
454 Summary(pl.UTF-8): Wiązania Avahi dla Pythona
455 Group: Development/Languages/Python
456 Requires: %{name}-libs = %{version}-%{release}
457 Requires: python-dbus >= 0.71
459 %description -n python-avahi
460 Avahi Python bindings.
462 %description -n python-avahi -l pl.UTF-8
463 Wiązania Avahi dla Pythona.
465 %package -n dotnet-avahi
466 Summary: Avahi MONO bindings
467 Summary(pl.UTF-8): Wiązania Avahi dla MONO
469 Requires: %{name}-libs = %{version}-%{release}
471 %description -n dotnet-avahi
474 %description -n dotnet-avahi -l pl.UTF-8
475 Wiązania Avahi dla MONO.
477 %package -n dotnet-avahi-devel
478 Summary: Development files for MONO Avahi bindings
479 Summary(pl.UTF-8): Pliki rozwojowe wiązań Avahi dla MONO
480 Group: Development/Libraries
481 Requires: dotnet-avahi = %{version}-%{release}
482 Requires: monodoc >= 2.6
484 %description -n dotnet-avahi-devel
485 Development files for MONO Avahi bindings.
487 %description -n dotnet-avahi-devel -l pl.UTF-8
488 Pliki rozwojowe wiązań Avahi dla MONO.
490 %package -n dotnet-avahi-ui
491 Summary: Avahi UI MONO bindings
492 Summary(pl.UTF-8): Wiązania Avahi UI dla MONO
494 Requires: %{name}-ui = %{version}-%{release}
495 Requires: dotnet-avahi = %{version}-%{release}
497 %description -n dotnet-avahi-ui
498 Avahi UI MONO bindings.
500 %description -n dotnet-avahi-ui -l pl.UTF-8
501 Wiązania Avahi UI dla MONO.
503 %package -n dotnet-avahi-ui-devel
504 Summary: Development files for MONO Avahi UI bindings
505 Summary(pl.UTF-8): Pliki rozwojowe wiązań Avahi UI dla MONO
506 Group: X11/Development/Libraries
507 Requires: dotnet-avahi-ui = %{version}-%{release}
508 Requires: monodoc >= 2.6
510 %description -n dotnet-avahi-ui-devel
511 Development files for MONO Avahi UI bindings.
513 %description -n dotnet-avahi-ui-devel -l pl.UTF-8
514 Pliki rozwojowe wiązań Avahi UI dla MONO.
517 Summary: Miniature web server
518 Summary(pl.UTF-8): Miniaturowy serwer web
521 %description bookmarks
522 A Python based miniature web server that browses for mDNS/DNS-SD
523 services of type '_http._tcp' (i.e. web sites) and makes them
524 available as HTML links on http://localhost:8080/.
526 %description bookmarks -l pl.UTF-8
527 Napisany w Pythonie miniaturowy serwer WWW, pozwalający na
528 przeglądanie usług typu '_http._tcp' (np. stron WWW) i udostępniający
529 je jako odnośniki HTML na http://localhost:8080/.
532 Summary: Avahi Zeroconf browser
533 Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi
535 Requires: python-avahi = %{version}-%{release}
536 Requires: python-pygtk-glade >= 2:2.9.6
538 %description discover
539 A tool for enumerating all available services on the local LAN
540 (python-pygtk implementation).
542 %description discover -l pl.UTF-8
543 Narzędzie wymieniające wszystkie dostępne usługi w sieci lokalnej LAN
544 (implementacja w python-pygtk).
546 %package discover-standalone
547 Summary: Avahi Zeroconf browser
548 Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi
550 Requires: %{name}-glib = %{version}-%{release}
552 %description discover-standalone
553 GTK+ tool for enumerating all available services on the local LAN.
555 %description discover-standalone -l pl.UTF-8
556 Narzędzie GTK+ wymieniające wszystkie dostępne usługi w sieci lokalnej
560 Summary: Avahi CLI utilities
561 Summary(pl.UTF-8): Narzędzia CLI Avahi
565 Command line utilities using avahi-client.
567 %description utils -l pl.UTF-8
568 Narzędzia linii poleceń korzystające z avahi-client.
583 %{__aclocal} -I common
588 --enable-compat-libdns_sd \
589 --enable-compat-howl \
591 %{!?with_qt3:--disable-qt3} \
592 %{!?with_qt4:--disable-qt4} \
593 %{!?with_dotnet:--disable-mono} \
594 %{!?with_dotnet:--disable-monodoc} \
595 --with-avahi-priv-access-group=adm \
596 --with-autoipd-user=avahi \
597 --with-autoipd-group=avahi
601 rm -rf $RPM_BUILD_ROOT
602 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},/etc/rc.d/init.d,/etc/init}
605 DESTDIR=$RPM_BUILD_ROOT \
606 pythondir=%{py_sitedir}
608 install -p %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d
609 cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
611 install %{SOURCE4} $RPM_BUILD_ROOT/etc/init/avahi-daemon.conf
612 install %{SOURCE5} $RPM_BUILD_ROOT/etc/init/avahi-dnsconfd.conf
614 ln -sf %{_includedir}/avahi-compat-libdns_sd/dns_sd.h \
615 $RPM_BUILD_ROOT%{_includedir}/dns_sd.h
617 ln -sf %{_pkgconfigdir}/avahi-compat-howl.pc \
618 $RPM_BUILD_ROOT%{_pkgconfigdir}/howl.pc
620 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
621 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
624 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{avahi-{browse-domains,publish-address,publish-service,resolve-address,resolve-host-name},bvnc}.1
625 echo '.so avahi-browse.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-browse-domains.1
626 echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-address.1
627 echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-service.1
628 echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-address.1
629 echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-host-name.1
630 echo '.so bssh.1' > $RPM_BUILD_ROOT%{_mandir}/man1/bvnc.1
635 rm -rf $RPM_BUILD_ROOT
638 %groupadd -g 165 -r -f avahi
639 %useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi
642 %groupadd -g 165 -r -f avahi
643 %useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi
646 /sbin/chkconfig --add %{name}-daemon
647 %service %{name}-daemon restart
648 /sbin/chkconfig --add %{name}-dnsconfd
649 %service %{name}-dnsconfd restart
652 if [ "$1" = "0" ]; then
653 %service -q %{name}-dnsconfd stop
654 /sbin/chkconfig --del %{name}-dnsconfd
655 %service -q %{name}-daemon stop
656 /sbin/chkconfig --del %{name}-daemon
660 if [ "$1" = "0" ]; then
666 if [ "$1" = "0" ]; then
672 %upstart_post avahi-daemon
673 %upstart_post avahi-dnsconfd
676 %upstart_postun avahi-daemon
677 %upstart_postun avahi-dnsconfd
679 %post libs -p /sbin/ldconfig
680 %postun libs -p /sbin/ldconfig
682 %post ui -p /sbin/ldconfig
683 %postun ui -p /sbin/ldconfig
685 %post compat-libdns_sd -p /sbin/ldconfig
686 %postun compat-libdns_sd -p /sbin/ldconfig
688 %post compat-howl -p /sbin/ldconfig
689 %postun compat-howl -p /sbin/ldconfig
691 %post glib -p /sbin/ldconfig
692 %postun glib -p /sbin/ldconfig
694 %post gobject -p /sbin/ldconfig
695 %postun gobject -p /sbin/ldconfig
697 %post qt -p /sbin/ldconfig
698 %postun qt -p /sbin/ldconfig
700 %post Qt -p /sbin/ldconfig
701 %postun Qt -p /sbin/ldconfig
704 %defattr(644,root,root,755)
705 %doc docs/AUTHORS docs/COMPAT-LAYERS docs/NEWS docs/README docs/TODO
707 %dir %{_sysconfdir}/avahi
708 %dir %{_sysconfdir}/avahi/services
709 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-daemon.conf
710 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-dnsconfd.action
711 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/hosts
712 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/ssh.service
713 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/sftp-ssh.service
714 %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/*
716 %attr(755,root,root) %{_bindir}/avahi-set-host-name
718 %attr(755,root,root) %{_sbindir}/avahi-daemon
719 %attr(755,root,root) %{_sbindir}/avahi-dnsconfd
721 %dir %{_datadir}/%{name}/introspection
722 %{_datadir}/%{name}/introspection/*.introspect
723 %{_datadir}/%{name}/avahi-service.dtd
724 %{_datadir}/%{name}/service-types
725 %dir %{_libdir}/%{name}
726 %{_libdir}/%{name}/service-types.db
728 %{_mandir}/man1/avahi-set-host-name.1*
729 %{_mandir}/man5/avahi-daemon.conf.5*
730 %{_mandir}/man5/avahi.hosts.5*
731 %{_mandir}/man5/avahi.service.5*
732 %{_mandir}/man8/avahi-daemon.8*
733 %{_mandir}/man8/avahi-dnsconfd.8*
734 %{_mandir}/man8/avahi-dnsconfd.action.8*
736 %attr(754,root,root) /etc/rc.d/init.d/%{name}-daemon
737 %attr(754,root,root) /etc/rc.d/init.d/%{name}-dnsconfd
740 %defattr(644,root,root,755)
741 %config(noreplace) %verify(not md5 mtime size) /etc/init/*.conf
744 %defattr(644,root,root,755)
745 %dir %{_sysconfdir}/avahi
746 %attr(755,root,root) %{_sysconfdir}/%{name}/avahi-autoipd.action
747 %dir %{_sysconfdir}/dhclient-enter-hooks.d
748 %config(noreplace) %verify(not md5 mtime size) /etc/dhclient-enter-hooks.d/avahi-autoipd
749 %dir %{_sysconfdir}/dhclient-exit-hooks.d
750 %config(noreplace) %verify(not md5 mtime size) /etc/dhclient-exit-hooks.d/avahi-autoipd
751 %attr(755,root,root) %{_sbindir}/avahi-autoipd
752 %{_mandir}/man8/avahi-autoipd.8*
753 %{_mandir}/man8/avahi-autoipd.action.8*
755 %files libs -f %{name}.lang
756 %defattr(644,root,root,755)
757 %attr(755,root,root) %{_libdir}/libavahi-client.so.*.*.*
758 %attr(755,root,root) %ghost %{_libdir}/libavahi-client.so.3
759 %attr(755,root,root) %{_libdir}/libavahi-common.so.*.*.*
760 %attr(755,root,root) %ghost %{_libdir}/libavahi-common.so.3
761 %attr(755,root,root) %{_libdir}/libavahi-core.so.*.*.*
762 %attr(755,root,root) %ghost %{_libdir}/libavahi-core.so.6
763 # common for -discover*
764 %dir %{_datadir}/%{name}
765 %dir %{_datadir}/%{name}/interfaces
768 %defattr(644,root,root,755)
769 %doc docs/API-CHANGES-0.6 docs/DBUS-API docs/HACKING docs/MALLOC
770 %attr(755,root,root) %{_libdir}/libavahi-client.so
771 %attr(755,root,root) %{_libdir}/libavahi-common.so
772 %attr(755,root,root) %{_libdir}/libavahi-core.so
773 %{_libdir}/libavahi-client.la
774 %{_libdir}/libavahi-common.la
775 %{_libdir}/libavahi-core.la
776 %{_includedir}/avahi-client
777 %{_includedir}/avahi-common
778 %{_includedir}/avahi-core
779 %{_pkgconfigdir}/avahi-client.pc
780 %{_pkgconfigdir}/avahi-core.pc
783 %defattr(644,root,root,755)
784 %{_libdir}/libavahi-client.a
785 %{_libdir}/libavahi-common.a
786 %{_libdir}/libavahi-core.a
789 %defattr(644,root,root,755)
790 %attr(755,root,root) %{_bindir}/bshell
791 %attr(755,root,root) %{_bindir}/bssh
792 %attr(755,root,root) %{_bindir}/bvnc
793 %attr(755,root,root) %{_libdir}/libavahi-ui.so.*.*.*
794 %attr(755,root,root) %ghost %{_libdir}/libavahi-ui.so.0
795 %{_mandir}/man1/bssh.1*
796 %{_mandir}/man1/bvnc.1*
797 %{_desktopdir}/bssh.desktop
798 %{_desktopdir}/bvnc.desktop
801 %defattr(644,root,root,755)
802 %attr(755,root,root) %{_libdir}/libavahi-ui.so
803 %{_libdir}/libavahi-ui.la
804 %{_includedir}/avahi-ui
805 %{_pkgconfigdir}/avahi-ui.pc
808 %defattr(644,root,root,755)
809 %{_libdir}/libavahi-ui.a
811 %files compat-libdns_sd
812 %defattr(644,root,root,755)
813 %attr(755,root,root) %{_libdir}/libdns_sd.so.*.*.*
814 %attr(755,root,root) %ghost %{_libdir}/libdns_sd.so.1
816 %files compat-libdns_sd-devel
817 %defattr(644,root,root,755)
818 %attr(755,root,root) %{_libdir}/libdns_sd.so
819 %{_libdir}/libdns_sd.la
820 %{_includedir}/avahi-compat-libdns_sd
821 %{_includedir}/dns_sd.h
822 %{_pkgconfigdir}/avahi-compat-libdns_sd.pc
824 %files compat-libdns_sd-static
825 %defattr(644,root,root,755)
826 %{_libdir}/libdns_sd.a
829 %defattr(644,root,root,755)
830 %attr(755,root,root) %{_libdir}/libhowl.so.*.*.*
831 %attr(755,root,root) %ghost %{_libdir}/libhowl.so.0
833 %files compat-howl-devel
834 %defattr(644,root,root,755)
835 %attr(755,root,root) %{_libdir}/libhowl.so
836 %{_libdir}/libhowl.la
837 %{_includedir}/avahi-compat-howl
838 %{_pkgconfigdir}/avahi-compat-howl.pc
839 %{_pkgconfigdir}/howl.pc
841 %files compat-howl-static
842 %defattr(644,root,root,755)
845 %files -n python-avahi
846 %defattr(644,root,root,755)
850 %files -n dotnet-avahi
851 %defattr(644,root,root,755)
852 %{_prefix}/lib/mono/gac/avahi-sharp
854 %files -n dotnet-avahi-devel
855 %defattr(644,root,root,755)
856 %{_prefix}/lib/mono/avahi-sharp
857 %{_prefix}/lib/monodoc/sources/avahi-sharp-docs.*
858 %{_pkgconfigdir}/avahi-sharp.pc
860 %files -n dotnet-avahi-ui
861 %defattr(644,root,root,755)
862 %{_prefix}/lib/mono/gac/avahi-ui-sharp
864 %files -n dotnet-avahi-ui-devel
865 %defattr(644,root,root,755)
866 %{_prefix}/lib/mono/avahi-ui-sharp
867 %{_prefix}/lib/monodoc/sources/avahi-ui-sharp-docs.*
868 %{_pkgconfigdir}/avahi-ui-sharp.pc
872 %defattr(644,root,root,755)
873 %attr(755,root,root) %{_libdir}/libavahi-glib.so.*.*.*
874 %attr(755,root,root) %ghost %{_libdir}/libavahi-glib.so.1
877 %defattr(644,root,root,755)
878 %attr(755,root,root) %{_libdir}/libavahi-glib.so
879 %{_libdir}/libavahi-glib.la
880 %{_includedir}/avahi-glib
881 %{_pkgconfigdir}/avahi-glib.pc
884 %defattr(644,root,root,755)
885 %{_libdir}/libavahi-glib.a
888 %defattr(644,root,root,755)
889 %attr(755,root,root) %{_libdir}/libavahi-gobject.so.*.*.*
890 %attr(755,root,root) %ghost %{_libdir}/libavahi-gobject.so.0
893 %defattr(644,root,root,755)
894 %attr(755,root,root) %{_libdir}/libavahi-gobject.so
895 %{_libdir}/libavahi-gobject.la
896 %{_includedir}/avahi-gobject
897 %{_pkgconfigdir}/avahi-gobject.pc
899 %files gobject-static
900 %defattr(644,root,root,755)
901 %{_libdir}/libavahi-gobject.a
905 %defattr(644,root,root,755)
906 %attr(755,root,root) %{_libdir}/libavahi-qt3.so.*.*.*
907 %attr(755,root,root) %ghost %{_libdir}/libavahi-qt3.so.1
910 %defattr(644,root,root,755)
911 %attr(755,root,root) %{_libdir}/libavahi-qt3.so
912 %{_libdir}/libavahi-qt3.la
913 %{_includedir}/avahi-qt3
914 %{_pkgconfigdir}/avahi-qt3.pc
917 %defattr(644,root,root,755)
918 %{_libdir}/libavahi-qt3.a
923 %defattr(644,root,root,755)
924 %attr(755,root,root) %{_libdir}/libavahi-qt4.so.*.*.*
925 %attr(755,root,root) %ghost %{_libdir}/libavahi-qt4.so.1
928 %defattr(644,root,root,755)
929 %attr(755,root,root) %{_libdir}/libavahi-qt4.so
930 %{_libdir}/libavahi-qt4.la
931 %{_includedir}/avahi-qt4
932 %{_pkgconfigdir}/avahi-qt4.pc
935 %defattr(644,root,root,755)
936 %{_libdir}/libavahi-qt4.a
940 %defattr(644,root,root,755)
941 %attr(755,root,root) %{_bindir}/avahi-bookmarks
942 %{_mandir}/man1/avahi-bookmarks.1*
945 %defattr(644,root,root,755)
946 %attr(755,root,root) %{_bindir}/avahi-discover
947 %{py_sitedir}/avahi_discover
948 %{_datadir}/%{name}/interfaces/avahi-discover.glade
949 %{_desktopdir}/avahi-discover.desktop
950 %{_pixmapsdir}/avahi.png
951 %{_mandir}/man1/avahi-discover.1*
953 %files discover-standalone
954 %defattr(644,root,root,755)
955 %attr(755,root,root) %{_bindir}/avahi-discover-standalone
956 %{_datadir}/%{name}/interfaces/avahi-discover-standalone.glade
959 %defattr(644,root,root,755)
960 %attr(755,root,root) %{_bindir}/avahi-browse
961 %attr(755,root,root) %{_bindir}/avahi-browse-domains
962 %attr(755,root,root) %{_bindir}/avahi-publish
963 %attr(755,root,root) %{_bindir}/avahi-publish-address
964 %attr(755,root,root) %{_bindir}/avahi-publish-service
965 %attr(755,root,root) %{_bindir}/avahi-resolve
966 %attr(755,root,root) %{_bindir}/avahi-resolve-address
967 %attr(755,root,root) %{_bindir}/avahi-resolve-host-name
968 %{_mandir}/man1/avahi-browse.1*
969 %{_mandir}/man1/avahi-browse-domains.1*
970 %{_mandir}/man1/avahi-publish.1*
971 %{_mandir}/man1/avahi-publish-address.1*
972 %{_mandir}/man1/avahi-publish-service.1*
973 %{_mandir}/man1/avahi-resolve.1*
974 %{_mandir}/man1/avahi-resolve-address.1*
975 %{_mandir}/man1/avahi-resolve-host-name.1*