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 Patch0: %{name}-desktop.patch
34 Patch1: %{name}-glade.patch
35 Patch2: %{name}-destdir.patch
36 Patch3: %{name}-mono-dir.patch
37 Patch4: nss-mdns-package.patch
38 Patch5: %{name}-dhclient_hooks.patch
39 Patch6: %{name}-autoipd-sbin_ip.patch
40 URL: http://avahi.org/
41 BuildRequires: autoconf
42 BuildRequires: automake
43 BuildRequires: dbus-devel >= 0.92
44 BuildRequires: doxygen
45 BuildRequires: expat-devel
46 BuildRequires: gdbm-devel
47 BuildRequires: gettext-devel
48 BuildRequires: glib2-devel >= 1:2.12.2
49 BuildRequires: graphviz
50 BuildRequires: gtk+2-devel >= 2:2.10.2
51 BuildRequires: intltool >= 0.35
52 BuildRequires: libcap-devel
53 BuildRequires: libdaemon-devel >= 0.11
54 BuildRequires: libglade2-devel >= 1:2.6.0
55 BuildRequires: libtool
57 BuildRequires: dotnet-gtk-sharp2-devel >= 2.10
58 BuildRequires: mono-csharp
59 BuildRequires: monodoc >= 2.6
61 BuildRequires: pkgconfig
62 BuildRequires: python >= 1:2.4
63 BuildRequires: python-dbus >= 0.71
64 BuildRequires: python-pygtk-devel >= 2:2.9.6
66 BuildRequires: qt-devel >= 1:3.0
69 BuildRequires: QtCore-devel
70 BuildRequires: qt4-build
72 BuildRequires: rpm-pythonprov
73 BuildRequires: rpmbuild(macros) >= 1.228
74 Requires(post,preun): /sbin/chkconfig
75 Requires: %{name}-libs = %{version}-%{release}
76 Requires: dbus >= 0.92
77 Requires: libdaemon >= 0.11
78 Suggests: nss_mdns >= 0.10-2
79 Provides: group(avahi)
81 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
84 Avahi is an implementation the DNS Service Discovery and Multicast DNS
85 specifications for Zeroconf Computing. It uses D-BUS for communication
86 between user applications and a system daemon.
88 %description -l pl.UTF-8
89 Avahi jest implementacją specyfikacji DNS Service Discovery i
90 Multicast DNS dla Zeroconf Computing. Używa D-BUSa dla komunikacji
91 pomiędzy programami użytkownika a demonem systemowym.
94 Summary: IPv4LL network address configuration daemon
95 Summary(pl.UTF-8): Demon configurujący adresy IPv4LL
96 Group: Networking/Daemons
97 Requires(postun): /usr/sbin/groupdel
98 Requires(postun): /usr/sbin/userdel
99 Requires(pre): /bin/id
100 Requires(pre): /usr/bin/getgid
101 Requires(pre): /usr/sbin/groupadd
102 Requires(pre): /usr/sbin/useradd
103 Provides: group(avahi)
104 Provides: user(avahi)
107 avahi-autoipd implements IPv4LL, "Dynamic Configuration of IPv4 Link-
108 Local Addresses" (IETF RFC3927), a protocol for automatic IP address
109 configuration from the link-local 169.254.0.0/16 range without the
110 need for a central server. It is primarily intended to be used in
111 ad-hoc networks which lack a DHCP server.
113 IPv4LL is part of the Zeroconf stack.
115 %description autoipd -l pl.UTF-8
116 avahi-autoipd jest implementacją IPv4LL, protokołu umożliwiającego
117 automatyczną konfigurację adresu z zakresu 169.254.0.0/16 bez potrzeby
118 użycia centralnego serwera. Jego głównym zastosowaniem są sieci
119 ad-hoc, w których brakuje serwera DHCP.
121 IPv4LL jest częścią stosu Zeroconf.
124 Summary: Avahi client, common and core libraries
125 Summary(pl.UTF-8): Biblioteki Avahi: klienta, wspólna i główna
129 Avahi client, common and core libraries.
131 %description libs -l pl.UTF-8
132 Biblioteki Avahi: klienta, wspólna i główna.
135 Summary: Header files for Avahi library
136 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi
137 Group: Development/Libraries
138 Requires: %{name}-libs = %{version}-%{release}
139 Requires: dbus-devel >= 0.92
140 Requires: expat-devel
143 This is the package containing the header files for Avahi library.
145 %description devel -l pl.UTF-8
146 Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi.
149 Summary: Static Avahi library
150 Summary(pl.UTF-8): Statyczna biblioteka Avahi
151 Group: Development/Libraries
152 Requires: %{name}-devel = %{version}-%{release}
155 Static Avahi library.
157 %description static -l pl.UTF-8
158 Statyczna biblioteka Avahi.
161 Summary: Avahi UI library
162 Summary(pl.UTF-8): Biblioteka Avahi UI
164 Requires: %{name}-libs = %{version}-%{release}
165 Requires: gtk+2 >= 2:2.10.2
168 Common GTK+ UI support library for Avahi.
170 %description ui -l pl.UTF-8
171 Biblioteka wspólnego interfejsu użytkownika GTK+ dla Avahi.
174 Summary: Header files for Avahi UI library
175 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI
176 Group: X11/Development/Libraries
177 Requires: %{name}-devel = %{version}-%{release}
178 Requires: %{name}-ui = %{version}-%{release}
179 Requires: gtk+2-devel >= 2:2.10.2
181 %description ui-devel
182 Header files for Avahi UI library.
184 %description ui-devel -l pl.UTF-8
185 Pliki nagłówkowe biblioteki Avahi UI.
188 Summary: Static Avahi UI library
189 Summary(pl.UTF-8): Statyczna biblioteka Avahi UI
190 Group: X11/Development/Libraries
191 Requires: %{name}-ui-devel = %{version}-%{release}
193 %description ui-static
194 Static Avahi UI library.
196 %description ui-static -l pl.UTF-8
197 Statyczna biblioteka Avahi UI.
199 %package compat-libdns_sd
200 Summary: Avahi Bonjour compat library
201 Summary(pl.UTF-8): Biblioteka Avahi zgodna z Bonjour
203 Provides: mdns-bonjour
204 Obsoletes: mDNSResponder-libs
206 %description compat-libdns_sd
207 Avahi Bonjour compat library.
209 %description compat-libdns_sd -l pl.UTF-8
210 Biblioteka Avahi zgodna z Bonjour.
212 %package compat-libdns_sd-devel
213 Summary: Header files for Avahi Bonjour compat library
214 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour
215 Group: Development/Libraries
216 Requires: %{name}-compat-libdns_sd = %{version}-%{release}
217 Requires: %{name}-devel = %{version}-%{release}
218 Provides: mdns-bonjour-devel
219 Obsoletes: mDNSResponder-devel
221 %description compat-libdns_sd-devel
222 Header files for Avahi Bonjour compat library.
224 %description compat-libdns_sd-devel -l pl.UTF-8
225 Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour.
227 %package compat-libdns_sd-static
228 Summary: Static Avahi Bonjour compat library
229 Summary(pl.UTF-8): Statyczna biblioteka Avahi zgodna z Bonjour
230 Group: Development/Libraries
231 Requires: %{name}-compat-libdns_sd-devel = %{version}-%{release}
232 Provides: mdns-bonjour-static
234 %description compat-libdns_sd-static
235 Static Avahi Bonjour compat library.
237 %description compat-libdns_sd-static -l pl.UTF-8
238 Statyczna biblioteka Avahi zgodna z Bonjour.
241 Summary: Avahi Howl compat library
242 Summary(pl.UTF-8): Biblioteka Avahi zgodna z Howl
244 Provides: mdns-howl-libs
247 %description compat-howl
248 Avahi Howl compat library.
250 %description compat-howl -l pl.UTF-8
251 Biblioteka Avahi zgodna z Howl.
253 %package compat-howl-devel
254 Summary: Header files for Avahi Howl compat library
255 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl
256 Group: Development/Libraries
257 Requires: %{name}-compat-howl = %{version}-%{release}
258 Requires: %{name}-devel = %{version}-%{release}
259 Provides: mdns-howl-devel
260 Obsoletes: howl-devel
262 %description compat-howl-devel
263 Header files for Avahi Howl compat library.
265 %description compat-howl-devel -l pl.UTF-8
266 Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl.
268 %package compat-howl-static
269 Summary: Static Avahi Howl compat library
270 Summary(pl.UTF-8): Statyczna biblioteka Avahi zgodna z Howl
271 Group: Development/Libraries
272 Requires: %{name}-compat-howl-devel = %{version}-%{release}
273 Provides: mdns-howl-static
274 Obsoletes: howl-static
276 %description compat-howl-static
277 Static Avahi Howl compat library.
279 %description compat-howl-static -l pl.UTF-8
280 Statyczna biblioteka Avahi zgodna z Howl.
283 Summary: Avahi GLib library bindings
284 Summary(pl.UTF-8): Wiązania Avahi dla bibioteki GLib
288 Avahi GLib library bindings.
290 %description glib -l pl.UTF-8
291 Wiązania Avahi dla bibioteki GLib.
294 Summary: Header files for Avahi GLib library bindings
295 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki GLib
296 Group: Development/Libraries
297 Requires: %{name}-devel = %{version}-%{release}
298 Requires: %{name}-glib = %{version}-%{release}
299 Requires: glib2-devel >= 1:2.12.2
301 %description glib-devel
302 This is the package containing the header files for Avahi-glib
305 %description glib-devel -l pl.UTF-8
306 Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi-glib.
309 Summary: Static Avahi GLib library
310 Summary(pl.UTF-8): Statyczna biblioteka Avahi GLib
311 Group: Development/Libraries
312 Requires: %{name}-glib-devel = %{version}-%{release}
314 %description glib-static
315 Static Avahi GLib library.
317 %description glib-static -l pl.UTF-8
318 Statyczna biblioteka Avahi GLib.
321 Summary: Avahi GObject interface
322 Summary(pl.UTF-8): Interfejs GObject do Avahi
326 Avahi GObject interface.
328 %description gobject -l pl.UTF-8
329 Interfejs GObject do Avahi.
331 %package gobject-devel
332 Summary: Header files for Avahi GObject interface
333 Summary(pl.UTF-8): Pliki nagłówkowe interfejsu GObject do Avahi
334 Group: Development/Libraries
335 Requires: %{name}-devel = %{version}-%{release}
336 Requires: %{name}-gobject = %{version}-%{release}
337 Requires: glib2-devel >= 1:2.12.2
339 %description gobject-devel
340 This is the package containing the header files for Avahi GObject
343 %description gobject-devel -l pl.UTF-8
344 Ten pakiet zawiera pliki nagłówkowe interfejsu GObject do Avahi.
346 %package gobject-static
347 Summary: Static Avahi GObject library
348 Summary(pl.UTF-8): Statyczna biblioteka Avahi GObject
349 Group: Development/Libraries
350 Requires: %{name}-gobject-devel = %{version}-%{release}
352 %description gobject-static
353 Static Avahi GObject library.
355 %description gobject-static -l pl.UTF-8
356 Statyczna biblioteka Avahi GObject.
359 Summary: Avahi Qt 3 library bindings
360 Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 3
362 Requires: %{name}-libs = %{version}-%{release}
366 Avahi Qt 3 library bindings.
368 %description qt -l pl.UTF-8
369 Wiązania Avahi dla biblioteki Qt 3.
372 Summary: Header files for Avahi Qt 3 library bindings
373 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3
374 Group: Development/Libraries
375 Requires: %{name}-devel = %{version}-%{release}
376 Requires: %{name}-qt = %{version}-%{release}
377 Requires: qt-devel >= 1:3.0
378 Obsoletes: avahi-qt3-devel
380 %description qt-devel
381 Header files for Avahi Qt 3 library bindings.
383 %description qt-devel -l pl.UTF-8
384 Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3.
387 Summary: Static Avahi Qt 3 library
388 Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 3
389 Group: Development/Libraries
390 Requires: %{name}-qt-devel = %{version}-%{release}
391 Obsoletes: avahi-qt3-static
393 %description qt-static
394 Static Avahi Qt 3 library.
396 %description qt-static -l pl.UTF-8
397 Statyczna biblioteka Avahi Qt 3.
400 Summary: Avahi Qt 4 library bindings
401 Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 4
403 Requires: %{name}-libs = %{version}-%{release}
406 Avahi Qt 4 library bindings.
408 %description Qt -l pl.UTF-8
409 Wiązania Avahi dla biblioteki Qt 4.
412 Summary: Header files for Avahi Qt 4 library bindings
413 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4
414 Group: Development/Libraries
415 Requires: %{name}-Qt = %{version}-%{release}
416 Requires: %{name}-devel = %{version}-%{release}
418 %description Qt-devel
419 Header files for Avahi Qt 4 library bindings.
421 %description Qt-devel -l pl.UTF-8
422 Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4.
425 Summary: Static Avahi Qt 4 library
426 Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 4
427 Group: Development/Libraries
428 Requires: %{name}-Qt-devel = %{version}-%{release}
430 %description Qt-static
431 Static Avahi Qt 4 library.
433 %description Qt-static -l pl.UTF-8
434 Statyczna biblioteka Avahi Qt 4.
436 %package -n python-avahi
437 Summary: Avahi Python bindings
438 Summary(pl.UTF-8): Wiązania Avahi dla Pythona
439 Group: Development/Languages/Python
440 Requires: %{name}-libs = %{version}-%{release}
441 Requires: python-dbus >= 0.71
443 %description -n python-avahi
444 Avahi Python bindings.
446 %description -n python-avahi -l pl.UTF-8
447 Wiązania Avahi dla Pythona.
449 %package -n dotnet-avahi
450 Summary: Avahi MONO bindings
451 Summary(pl.UTF-8): Wiązania Avahi dla MONO
453 Requires: %{name}-libs = %{version}-%{release}
455 %description -n dotnet-avahi
458 %description -n dotnet-avahi -l pl.UTF-8
459 Wiązania Avahi dla MONO.
461 %package -n dotnet-avahi-devel
462 Summary: Development files for MONO Avahi bindings
463 Summary(pl.UTF-8): Pliki rozwojowe wiązań Avahi dla MONO
464 Group: Development/Libraries
465 Requires: dotnet-avahi = %{version}-%{release}
466 Requires: monodoc >= 2.6
468 %description -n dotnet-avahi-devel
469 Development files for MONO Avahi bindings.
471 %description -n dotnet-avahi-devel -l pl.UTF-8
472 Pliki rozwojowe wiązań Avahi dla MONO.
474 %package -n dotnet-avahi-ui
475 Summary: Avahi UI MONO bindings
476 Summary(pl.UTF-8): Wiązania Avahi UI dla MONO
478 Requires: %{name}-ui = %{version}-%{release}
479 Requires: dotnet-avahi = %{version}-%{release}
481 %description -n dotnet-avahi-ui
482 Avahi UI MONO bindings.
484 %description -n dotnet-avahi-ui -l pl.UTF-8
485 Wiązania Avahi UI dla MONO.
487 %package -n dotnet-avahi-ui-devel
488 Summary: Development files for MONO Avahi UI bindings
489 Summary(pl.UTF-8): Pliki rozwojowe wiązań Avahi UI dla MONO
490 Group: X11/Development/Libraries
491 Requires: dotnet-avahi-ui = %{version}-%{release}
492 Requires: monodoc >= 2.6
494 %description -n dotnet-avahi-ui-devel
495 Development files for MONO Avahi UI bindings.
497 %description -n dotnet-avahi-ui-devel -l pl.UTF-8
498 Pliki rozwojowe wiązań Avahi UI dla MONO.
501 Summary: Miniature web server
502 Summary(pl.UTF-8): Miniaturowy serwer web
505 %description bookmarks
506 A Python based miniature web server that browses for mDNS/DNS-SD
507 services of type '_http._tcp' (i.e. web sites) and makes them
508 available as HTML links on http://localhost:8080/.
510 %description bookmarks -l pl.UTF-8
511 Napisany w Pythonie miniaturowy serwer WWW, pozwalający na
512 przeglądanie usług typu '_http._tcp' (np. stron WWW) i udostępniający
513 je jako odnośniki HTML na http://localhost:8080/.
516 Summary: Avahi Zeroconf browser
517 Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi
519 Requires: python-avahi = %{version}-%{release}
520 Requires: python-pygtk-glade >= 2:2.9.6
522 %description discover
523 A tool for enumerating all available services on the local LAN
524 (python-pygtk implementation).
526 %description discover -l pl.UTF-8
527 Narzędzie wymieniające wszystkie dostępne usługi w sieci lokalnej LAN
528 (implementacja w python-pygtk).
530 %package discover-standalone
531 Summary: Avahi Zeroconf browser
532 Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi
534 Requires: %{name}-glib = %{version}-%{release}
536 %description discover-standalone
537 GTK+ tool for enumerating all available services on the local LAN.
539 %description discover-standalone -l pl.UTF-8
540 Narzędzie GTK+ wymieniające wszystkie dostępne usługi w sieci lokalnej
544 Summary: Avahi CLI utilities
545 Summary(pl.UTF-8): Narzędzia CLI Avahi
549 Command line utilities using avahi-client.
551 %description utils -l pl.UTF-8
552 Narzędzia linii poleceń korzystające z avahi-client.
567 %{__aclocal} -I common
572 --enable-compat-libdns_sd \
573 --enable-compat-howl \
575 %{!?with_qt3:--disable-qt3} \
576 %{!?with_qt4:--disable-qt4} \
577 %{!?with_dotnet:--disable-mono} \
578 %{!?with_dotnet:--disable-monodoc} \
579 --with-avahi-priv-access-group=adm \
580 --with-autoipd-user=avahi \
581 --with-autoipd-group=avahi
585 rm -rf $RPM_BUILD_ROOT
586 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},/etc/rc.d/init.d}
589 DESTDIR=$RPM_BUILD_ROOT \
590 pythondir=%{py_sitedir}
592 install -p %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d
593 cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
595 ln -sf %{_includedir}/avahi-compat-libdns_sd/dns_sd.h \
596 $RPM_BUILD_ROOT%{_includedir}/dns_sd.h
598 ln -sf %{_pkgconfigdir}/avahi-compat-howl.pc \
599 $RPM_BUILD_ROOT%{_pkgconfigdir}/howl.pc
601 rm -f $RPM_BUILD_ROOT%{py_sitedir}/avahi/{__init__,SimpleGladeApp}.py \
602 $RPM_BUILD_ROOT%{py_sitedir}/avahi_discover/*.py
604 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{avahi-{browse-domains,publish-address,publish-service,resolve-address,resolve-host-name},bvnc}.1
605 echo '.so avahi-browse.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-browse-domains.1
606 echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-address.1
607 echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-service.1
608 echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-address.1
609 echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-host-name.1
610 echo '.so bssh.1' > $RPM_BUILD_ROOT%{_mandir}/man1/bvnc.1
615 rm -rf $RPM_BUILD_ROOT
618 %groupadd -g 165 -r -f avahi
619 %useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi
622 %groupadd -g 165 -r -f avahi
623 %useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi
626 /sbin/chkconfig --add %{name}-daemon
627 %service %{name}-daemon restart
628 /sbin/chkconfig --add %{name}-dnsconfd
629 %service %{name}-dnsconfd restart
632 if [ "$1" = "0" ]; then
633 %service -q %{name}-dnsconfd stop
634 /sbin/chkconfig --del %{name}-dnsconfd
635 %service -q %{name}-daemon stop
636 /sbin/chkconfig --del %{name}-daemon
640 if [ "$1" = "0" ]; then
646 if [ "$1" = "0" ]; then
651 %post libs -p /sbin/ldconfig
652 %postun libs -p /sbin/ldconfig
654 %post ui -p /sbin/ldconfig
655 %postun ui -p /sbin/ldconfig
657 %post compat-libdns_sd -p /sbin/ldconfig
658 %postun compat-libdns_sd -p /sbin/ldconfig
660 %post compat-howl -p /sbin/ldconfig
661 %postun compat-howl -p /sbin/ldconfig
663 %post glib -p /sbin/ldconfig
664 %postun glib -p /sbin/ldconfig
666 %post gobject -p /sbin/ldconfig
667 %postun gobject -p /sbin/ldconfig
669 %post qt -p /sbin/ldconfig
670 %postun qt -p /sbin/ldconfig
672 %post Qt -p /sbin/ldconfig
673 %postun Qt -p /sbin/ldconfig
676 %defattr(644,root,root,755)
677 %doc docs/AUTHORS docs/COMPAT-LAYERS docs/NEWS docs/README docs/TODO
679 %dir %{_sysconfdir}/avahi
680 %dir %{_sysconfdir}/avahi/services
681 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-daemon.conf
682 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-dnsconfd.action
683 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/hosts
684 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/ssh.service
685 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/sftp-ssh.service
686 %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/*
688 %attr(755,root,root) %{_bindir}/avahi-set-host-name
690 %attr(755,root,root) %{_sbindir}/avahi-daemon
691 %attr(755,root,root) %{_sbindir}/avahi-dnsconfd
693 %dir %{_datadir}/%{name}/introspection
694 %{_datadir}/%{name}/introspection/*.introspect
695 %{_datadir}/%{name}/avahi-service.dtd
696 %{_datadir}/%{name}/service-types
697 %dir %{_libdir}/%{name}
698 %{_libdir}/%{name}/service-types.db
700 %{_mandir}/man1/avahi-set-host-name.1*
701 %{_mandir}/man5/avahi-daemon.conf.5*
702 %{_mandir}/man5/avahi.hosts.5*
703 %{_mandir}/man5/avahi.service.5*
704 %{_mandir}/man8/avahi-daemon.8*
705 %{_mandir}/man8/avahi-dnsconfd.8*
706 %{_mandir}/man8/avahi-dnsconfd.action.8*
708 %attr(754,root,root) /etc/rc.d/init.d/%{name}-daemon
709 %attr(754,root,root) /etc/rc.d/init.d/%{name}-dnsconfd
712 %defattr(644,root,root,755)
713 %dir %{_sysconfdir}/avahi
714 %attr(755,root,root) %{_sysconfdir}/%{name}/avahi-autoipd.action
715 %dir %{_sysconfdir}/dhclient-enter-hooks.d
716 %config(noreplace) %verify(not md5 mtime size) /etc/dhclient-enter-hooks.d/avahi-autoipd
717 %dir %{_sysconfdir}/dhclient-exit-hooks.d
718 %config(noreplace) %verify(not md5 mtime size) /etc/dhclient-exit-hooks.d/avahi-autoipd
719 %attr(755,root,root) %{_sbindir}/avahi-autoipd
720 %{_mandir}/man8/avahi-autoipd.8*
721 %{_mandir}/man8/avahi-autoipd.action.8*
723 %files libs -f %{name}.lang
724 %defattr(644,root,root,755)
725 %attr(755,root,root) %{_libdir}/libavahi-client.so.*.*.*
726 %attr(755,root,root) %ghost %{_libdir}/libavahi-client.so.3
727 %attr(755,root,root) %{_libdir}/libavahi-common.so.*.*.*
728 %attr(755,root,root) %ghost %{_libdir}/libavahi-common.so.3
729 %attr(755,root,root) %{_libdir}/libavahi-core.so.*.*.*
730 %attr(755,root,root) %ghost %{_libdir}/libavahi-core.so.6
731 # common for -discover*
732 %dir %{_datadir}/%{name}
733 %dir %{_datadir}/%{name}/interfaces
736 %defattr(644,root,root,755)
737 %doc docs/API-CHANGES-0.6 docs/DBUS-API docs/HACKING docs/MALLOC
738 %attr(755,root,root) %{_libdir}/libavahi-client.so
739 %attr(755,root,root) %{_libdir}/libavahi-common.so
740 %attr(755,root,root) %{_libdir}/libavahi-core.so
741 %{_libdir}/libavahi-client.la
742 %{_libdir}/libavahi-common.la
743 %{_libdir}/libavahi-core.la
744 %{_includedir}/avahi-client
745 %{_includedir}/avahi-common
746 %{_includedir}/avahi-core
747 %{_pkgconfigdir}/avahi-client.pc
748 %{_pkgconfigdir}/avahi-core.pc
751 %defattr(644,root,root,755)
752 %{_libdir}/libavahi-client.a
753 %{_libdir}/libavahi-common.a
754 %{_libdir}/libavahi-core.a
757 %defattr(644,root,root,755)
758 %attr(755,root,root) %{_bindir}/bshell
759 %attr(755,root,root) %{_bindir}/bssh
760 %attr(755,root,root) %{_bindir}/bvnc
761 %attr(755,root,root) %{_libdir}/libavahi-ui.so.*.*.*
762 %attr(755,root,root) %ghost %{_libdir}/libavahi-ui.so.0
763 %{_mandir}/man1/bssh.1*
764 %{_mandir}/man1/bvnc.1*
765 %{_desktopdir}/bssh.desktop
766 %{_desktopdir}/bvnc.desktop
769 %defattr(644,root,root,755)
770 %attr(755,root,root) %{_libdir}/libavahi-ui.so
771 %{_libdir}/libavahi-ui.la
772 %{_includedir}/avahi-ui
773 %{_pkgconfigdir}/avahi-ui.pc
776 %defattr(644,root,root,755)
777 %{_libdir}/libavahi-ui.a
779 %files compat-libdns_sd
780 %defattr(644,root,root,755)
781 %attr(755,root,root) %{_libdir}/libdns_sd.so.*.*.*
782 %attr(755,root,root) %ghost %{_libdir}/libdns_sd.so.1
784 %files compat-libdns_sd-devel
785 %defattr(644,root,root,755)
786 %attr(755,root,root) %{_libdir}/libdns_sd.so
787 %{_libdir}/libdns_sd.la
788 %{_includedir}/avahi-compat-libdns_sd
789 %{_includedir}/dns_sd.h
790 %{_pkgconfigdir}/avahi-compat-libdns_sd.pc
792 %files compat-libdns_sd-static
793 %defattr(644,root,root,755)
794 %{_libdir}/libdns_sd.a
797 %defattr(644,root,root,755)
798 %attr(755,root,root) %{_libdir}/libhowl.so.*.*.*
799 %attr(755,root,root) %ghost %{_libdir}/libhowl.so.0
801 %files compat-howl-devel
802 %defattr(644,root,root,755)
803 %attr(755,root,root) %{_libdir}/libhowl.so
804 %{_libdir}/libhowl.la
805 %{_includedir}/avahi-compat-howl
806 %{_pkgconfigdir}/avahi-compat-howl.pc
807 %{_pkgconfigdir}/howl.pc
809 %files compat-howl-static
810 %defattr(644,root,root,755)
813 %files -n python-avahi
814 %defattr(644,root,root,755)
818 %files -n dotnet-avahi
819 %defattr(644,root,root,755)
820 %{_prefix}/lib/mono/gac/avahi-sharp
822 %files -n dotnet-avahi-devel
823 %defattr(644,root,root,755)
824 %{_prefix}/lib/mono/avahi-sharp
825 %{_prefix}/lib/monodoc/sources/avahi-sharp-docs.*
826 %{_pkgconfigdir}/avahi-sharp.pc
828 %files -n dotnet-avahi-ui
829 %defattr(644,root,root,755)
830 %{_prefix}/lib/mono/gac/avahi-ui-sharp
832 %files -n dotnet-avahi-ui-devel
833 %defattr(644,root,root,755)
834 %{_prefix}/lib/mono/avahi-ui-sharp
835 %{_prefix}/lib/monodoc/sources/avahi-ui-sharp-docs.*
836 %{_pkgconfigdir}/avahi-ui-sharp.pc
840 %defattr(644,root,root,755)
841 %attr(755,root,root) %{_libdir}/libavahi-glib.so.*.*.*
842 %attr(755,root,root) %ghost %{_libdir}/libavahi-glib.so.1
845 %defattr(644,root,root,755)
846 %attr(755,root,root) %{_libdir}/libavahi-glib.so
847 %{_libdir}/libavahi-glib.la
848 %{_includedir}/avahi-glib
849 %{_pkgconfigdir}/avahi-glib.pc
852 %defattr(644,root,root,755)
853 %{_libdir}/libavahi-glib.a
856 %defattr(644,root,root,755)
857 %attr(755,root,root) %{_libdir}/libavahi-gobject.so.*.*.*
858 %attr(755,root,root) %ghost %{_libdir}/libavahi-gobject.so.0
861 %defattr(644,root,root,755)
862 %attr(755,root,root) %{_libdir}/libavahi-gobject.so
863 %{_libdir}/libavahi-gobject.la
864 %{_includedir}/avahi-gobject
865 %{_pkgconfigdir}/avahi-gobject.pc
867 %files gobject-static
868 %defattr(644,root,root,755)
869 %{_libdir}/libavahi-gobject.a
873 %defattr(644,root,root,755)
874 %attr(755,root,root) %{_libdir}/libavahi-qt3.so.*.*.*
875 %attr(755,root,root) %ghost %{_libdir}/libavahi-qt3.so.1
878 %defattr(644,root,root,755)
879 %attr(755,root,root) %{_libdir}/libavahi-qt3.so
880 %{_libdir}/libavahi-qt3.la
881 %{_includedir}/avahi-qt3
882 %{_pkgconfigdir}/avahi-qt3.pc
885 %defattr(644,root,root,755)
886 %{_libdir}/libavahi-qt3.a
891 %defattr(644,root,root,755)
892 %attr(755,root,root) %{_libdir}/libavahi-qt4.so.*.*.*
893 %attr(755,root,root) %ghost %{_libdir}/libavahi-qt4.so.1
896 %defattr(644,root,root,755)
897 %attr(755,root,root) %{_libdir}/libavahi-qt4.so
898 %{_libdir}/libavahi-qt4.la
899 %{_includedir}/avahi-qt4
900 %{_pkgconfigdir}/avahi-qt4.pc
903 %defattr(644,root,root,755)
904 %{_libdir}/libavahi-qt4.a
908 %defattr(644,root,root,755)
909 %attr(755,root,root) %{_bindir}/avahi-bookmarks
910 %{_mandir}/man1/avahi-bookmarks.1*
913 %defattr(644,root,root,755)
914 %attr(755,root,root) %{_bindir}/avahi-discover
915 %{py_sitedir}/avahi_discover
916 %{_datadir}/%{name}/interfaces/avahi-discover.glade
917 %{_desktopdir}/avahi-discover.desktop
918 %{_pixmapsdir}/avahi.png
919 %{_mandir}/man1/avahi-discover.1*
921 %files discover-standalone
922 %defattr(644,root,root,755)
923 %attr(755,root,root) %{_bindir}/avahi-discover-standalone
924 %{_datadir}/%{name}/interfaces/avahi-discover-standalone.glade
927 %defattr(644,root,root,755)
928 %attr(755,root,root) %{_bindir}/avahi-browse
929 %attr(755,root,root) %{_bindir}/avahi-browse-domains
930 %attr(755,root,root) %{_bindir}/avahi-publish
931 %attr(755,root,root) %{_bindir}/avahi-publish-address
932 %attr(755,root,root) %{_bindir}/avahi-publish-service
933 %attr(755,root,root) %{_bindir}/avahi-resolve
934 %attr(755,root,root) %{_bindir}/avahi-resolve-address
935 %attr(755,root,root) %{_bindir}/avahi-resolve-host-name
936 %{_mandir}/man1/avahi-browse.1*
937 %{_mandir}/man1/avahi-browse-domains.1*
938 %{_mandir}/man1/avahi-publish.1*
939 %{_mandir}/man1/avahi-publish-address.1*
940 %{_mandir}/man1/avahi-publish-service.1*
941 %{_mandir}/man1/avahi-resolve.1*
942 %{_mandir}/man1/avahi-resolve-address.1*
943 %{_mandir}/man1/avahi-resolve-host-name.1*