3 # - finish with_apidocs
4 # - introspection files
8 %bcond_with apidocs # build API documentation
9 %bcond_without dotnet # build without dotnet bindings
10 %bcond_without gtk # build without GTK+
11 %bcond_without gtk3 # build without GTK+3
12 %bcond_without pygtk # build without PyGTK
13 %bcond_without qt # build without (any) qt bindings
14 %bcond_without qt3 # build without qt3 bindings
15 %bcond_without qt4 # build without qt4 bindings
17 %ifnarch %{ix86} %{x8664} alpha arm hppa ia64 mips ppc s390 s390x sparc sparcv9
29 %{?with_dotnet:%include /usr/lib/rpm/macros.mono}
30 Summary: Free mDNS/DNS-SD/Zeroconf implementation
31 Summary(pl.UTF-8): Wolna implementacja mDNS/DNS-SD/Zeroconf
37 Source0: http://avahi.org/download/%{name}-%{version}.tar.gz
38 # Source0-md5: bb9d326770689610d1dbaceab5a787fc
39 Source1: %{name}-daemon
40 Source2: %{name}-dnsconfd
42 Source4: %{name}-daemon.upstart
43 Source5: %{name}-dnsconfd.upstart
44 Patch0: %{name}-desktop.patch
45 Patch1: %{name}-glade.patch
46 Patch2: %{name}-destdir.patch
47 Patch3: %{name}-mono-dir.patch
48 Patch4: nss-mdns-package.patch
49 Patch5: %{name}-dhclient_hooks.patch
50 Patch6: %{name}-autoipd-sbin_ip.patch
51 URL: http://avahi.org/
52 BuildRequires: autoconf >= 2.63
53 BuildRequires: automake >= 1:1.11
54 BuildRequires: dbus-devel >= 0.92
56 BuildRequires: doxygen
57 # for the 'dot' tool used by doxygen
58 BuildRequires: graphviz
60 BuildRequires: expat-devel
61 BuildRequires: gdbm-devel
62 BuildRequires: gettext-devel
63 BuildRequires: gobject-introspection-devel >= 0.9.5
65 BuildRequires: glib2-devel >= 1:2.12.2
66 BuildRequires: gtk+2-devel >= 2:2.14.0
69 BuildRequires: glib2-devel >= 1:2.28.0
70 BuildRequires: gtk+3-devel >= 3.0.0
72 BuildRequires: intltool >= 0.35
73 BuildRequires: libcap-devel
74 BuildRequires: libdaemon-devel >= 0.14
75 BuildRequires: libtool
77 BuildRequires: dotnet-gtk-sharp2-devel >= 2.10
78 BuildRequires: mono-csharp
79 BuildRequires: monodoc >= 2.6
81 BuildRequires: pkgconfig
82 BuildRequires: python >= 1:2.4
83 BuildRequires: python-dbus >= 0.71
84 %{?with_pygtk:BuildRequires: python-pygtk-devel >= 2:2.9.6}
86 BuildRequires: qt-devel >= 1:3.0
89 BuildRequires: QtCore-devel >= 4.0.0
90 BuildRequires: qt4-build
92 BuildRequires: rpm-pythonprov
93 BuildRequires: rpmbuild(macros) >= 1.561
94 Requires(post,preun): /sbin/chkconfig
95 Requires: %{name}-libs = %{version}-%{release}
96 Requires: dbus >= 0.92
97 Requires: libdaemon >= 0.14
98 Requires: rc-scripts >= 0.4.3
99 Suggests: nss_mdns >= 0.10-2
100 Provides: group(avahi)
101 Provides: user(avahi)
102 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
105 Avahi is an implementation the DNS Service Discovery and Multicast DNS
106 specifications for Zeroconf Computing. It uses D-BUS for communication
107 between user applications and a system daemon.
109 %description -l pl.UTF-8
110 Avahi jest implementacją specyfikacji DNS Service Discovery i
111 Multicast DNS dla Zeroconf Computing. Używa D-BUSa dla komunikacji
112 pomiędzy programami użytkownika a demonem systemowym.
115 Summary: Upstart jobs description for Avahi daemons
116 Summary(pl.UTF-8): Opis zadań Upstart dla demonów Avahi
118 Requires: %{name} = %{version}-%{release}
119 Requires: upstart >= 0.6
122 Upstart jobs description for Avahi daemons.
124 %description upstart -l pl.UTF-8
125 Opis zadań Upstart dla demonów Avahi.
128 Summary: IPv4LL network address configuration daemon
129 Summary(pl.UTF-8): Demon configurujący adresy IPv4LL
130 Group: Networking/Daemons
131 Requires(postun): /usr/sbin/groupdel
132 Requires(postun): /usr/sbin/userdel
133 Requires(pre): /bin/id
134 Requires(pre): /usr/bin/getgid
135 Requires(pre): /usr/sbin/groupadd
136 Requires(pre): /usr/sbin/useradd
137 Provides: group(avahi)
138 Provides: user(avahi)
141 avahi-autoipd implements IPv4LL, "Dynamic Configuration of IPv4 Link-
142 Local Addresses" (IETF RFC3927), a protocol for automatic IP address
143 configuration from the link-local 169.254.0.0/16 range without the
144 need for a central server. It is primarily intended to be used in
145 ad-hoc networks which lack a DHCP server.
147 IPv4LL is part of the Zeroconf stack.
149 %description autoipd -l pl.UTF-8
150 avahi-autoipd jest implementacją IPv4LL, protokołu umożliwiającego
151 automatyczną konfigurację adresu z zakresu 169.254.0.0/16 bez potrzeby
152 użycia centralnego serwera. Jego głównym zastosowaniem są sieci
153 ad-hoc, w których brakuje serwera DHCP.
155 IPv4LL jest częścią stosu Zeroconf.
158 Summary: Avahi client, common and core libraries
159 Summary(pl.UTF-8): Biblioteki Avahi: klienta, wspólna i główna
163 Avahi client, common and core libraries.
165 %description libs -l pl.UTF-8
166 Biblioteki Avahi: klienta, wspólna i główna.
169 Summary: Header files for Avahi library
170 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi
171 Group: Development/Libraries
172 Requires: %{name}-libs = %{version}-%{release}
173 Requires: dbus-devel >= 0.92
174 Requires: expat-devel
177 This is the package containing the header files for Avahi library.
179 %description devel -l pl.UTF-8
180 Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi.
183 Summary: Static Avahi library
184 Summary(pl.UTF-8): Statyczna biblioteka Avahi
185 Group: Development/Libraries
186 Requires: %{name}-devel = %{version}-%{release}
189 Static Avahi library.
191 %description static -l pl.UTF-8
192 Statyczna biblioteka Avahi.
195 Summary: Avahi UI library
196 Summary(pl.UTF-8): Biblioteka Avahi UI
198 Requires: %{name}-libs = %{version}-%{release}
199 Requires: gtk+2 >= 2:2.14.0
202 Common GTK+ UI support library for Avahi.
204 %description ui -l pl.UTF-8
205 Biblioteka wspólnego interfejsu użytkownika GTK+ dla Avahi.
208 Summary: Header files for Avahi UI library
209 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI
210 Group: X11/Development/Libraries
211 Requires: %{name}-devel = %{version}-%{release}
212 Requires: %{name}-ui = %{version}-%{release}
213 Requires: %{name}-ui-devel-common = %{version}-%{release}
214 Requires: gtk+2-devel >= 2:2.14.0
216 %description ui-devel
217 Header files for Avahi UI library.
219 %description ui-devel -l pl.UTF-8
220 Pliki nagłówkowe biblioteki Avahi UI.
223 Summary: Static Avahi UI library
224 Summary(pl.UTF-8): Statyczna biblioteka Avahi UI
225 Group: X11/Development/Libraries
226 Requires: %{name}-ui-devel = %{version}-%{release}
228 %description ui-static
229 Static Avahi UI library.
231 %description ui-static -l pl.UTF-8
232 Statyczna biblioteka Avahi UI.
234 %package ui-devel-common
235 Summary: Header files for Avahi UI library
236 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI
237 Group: X11/Development/Libraries
238 Requires: %{name}-devel = %{version}-%{release}
240 %description ui-devel-common
241 Header files for Avahi UI library.
243 %description ui-devel-common -l pl.UTF-8
244 Pliki nagłówkowe biblioteki Avahi GTK+ UI.
247 Summary: Avahi UI library - GTK+ 3.x version
248 Summary(pl.UTF-8): Biblioteka Avahi UI - wersja dla GTK+ 3.x
250 Requires: %{name}-libs = %{version}-%{release}
253 Common GTK+ 3.x UI support library for Avahi.
255 %description ui-gtk3 -l pl.UTF-8
256 Biblioteka wspólnego interfejsu użytkownika GTK+ 3.x dla Avahi.
258 %package ui-gtk3-devel
259 Summary: Header files for Avahi UI library - GTK+ 3.x version
260 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI - wersja dla GTK+ 3.x
261 Group: X11/Development/Libraries
262 Requires: %{name}-devel = %{version}-%{release}
263 Requires: %{name}-ui-devel-common = %{version}-%{release}
264 Requires: %{name}-ui-gtk3 = %{version}-%{release}
266 %description ui-gtk3-devel
267 Header files for Avahi GTK+ 3.x UI library.
269 %description ui-devel -l pl.UTF-8
270 Pliki nagłówkowe biblioteki Avahi GTK+ 3.x UI.
272 %package ui-gtk3-static
273 Summary: Static Avahi UI library - GTK+ 3.x version
274 Summary(pl.UTF-8): Statyczna biblioteka Avahi UI - wersja GTK+ 3.x
275 Group: X11/Development/Libraries
276 Requires: %{name}-ui-gtk3-devel = %{version}-%{release}
278 %description ui-gtk3-static
279 Static Avahi GTK+ 3.x UI library.
281 %description ui-gtk3-static -l pl.UTF-8
282 Statyczna biblioteka Avahi GTK+ 3.x UI.
284 %package compat-libdns_sd
285 Summary: Avahi Bonjour compat library
286 Summary(pl.UTF-8): Biblioteka Avahi zgodna z Bonjour
288 Provides: mdns-bonjour
289 Obsoletes: mDNSResponder-libs
291 %description compat-libdns_sd
292 Avahi Bonjour compat library.
294 %description compat-libdns_sd -l pl.UTF-8
295 Biblioteka Avahi zgodna z Bonjour.
297 %package compat-libdns_sd-devel
298 Summary: Header files for Avahi Bonjour compat library
299 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour
300 Group: Development/Libraries
301 Requires: %{name}-compat-libdns_sd = %{version}-%{release}
302 Requires: %{name}-devel = %{version}-%{release}
303 Provides: mdns-bonjour-devel
304 Obsoletes: mDNSResponder-devel
306 %description compat-libdns_sd-devel
307 Header files for Avahi Bonjour compat library.
309 %description compat-libdns_sd-devel -l pl.UTF-8
310 Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour.
312 %package compat-libdns_sd-static
313 Summary: Static Avahi Bonjour compat library
314 Summary(pl.UTF-8): Statyczna biblioteka Avahi zgodna z Bonjour
315 Group: Development/Libraries
316 Requires: %{name}-compat-libdns_sd-devel = %{version}-%{release}
317 Provides: mdns-bonjour-static
319 %description compat-libdns_sd-static
320 Static Avahi Bonjour compat library.
322 %description compat-libdns_sd-static -l pl.UTF-8
323 Statyczna biblioteka Avahi zgodna z Bonjour.
326 Summary: Avahi Howl compat library
327 Summary(pl.UTF-8): Biblioteka Avahi zgodna z Howl
329 Provides: mdns-howl-libs
332 %description compat-howl
333 Avahi Howl compat library.
335 %description compat-howl -l pl.UTF-8
336 Biblioteka Avahi zgodna z Howl.
338 %package compat-howl-devel
339 Summary: Header files for Avahi Howl compat library
340 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl
341 Group: Development/Libraries
342 Requires: %{name}-compat-howl = %{version}-%{release}
343 Requires: %{name}-devel = %{version}-%{release}
344 Provides: mdns-howl-devel
345 Obsoletes: howl-devel
347 %description compat-howl-devel
348 Header files for Avahi Howl compat library.
350 %description compat-howl-devel -l pl.UTF-8
351 Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl.
353 %package compat-howl-static
354 Summary: Static Avahi Howl compat library
355 Summary(pl.UTF-8): Statyczna biblioteka Avahi zgodna z Howl
356 Group: Development/Libraries
357 Requires: %{name}-compat-howl-devel = %{version}-%{release}
358 Provides: mdns-howl-static
359 Obsoletes: howl-static
361 %description compat-howl-static
362 Static Avahi Howl compat library.
364 %description compat-howl-static -l pl.UTF-8
365 Statyczna biblioteka Avahi zgodna z Howl.
368 Summary: Avahi GLib library bindings
369 Summary(pl.UTF-8): Wiązania Avahi dla bibioteki GLib
373 Avahi GLib library bindings.
375 %description glib -l pl.UTF-8
376 Wiązania Avahi dla bibioteki GLib.
379 Summary: Header files for Avahi GLib library bindings
380 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki GLib
381 Group: Development/Libraries
382 Requires: %{name}-devel = %{version}-%{release}
383 Requires: %{name}-glib = %{version}-%{release}
384 Requires: glib2-devel >= 1:2.12.2
386 %description glib-devel
387 This is the package containing the header files for Avahi-glib
390 %description glib-devel -l pl.UTF-8
391 Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi-glib.
394 Summary: Static Avahi GLib library
395 Summary(pl.UTF-8): Statyczna biblioteka Avahi GLib
396 Group: Development/Libraries
397 Requires: %{name}-glib-devel = %{version}-%{release}
399 %description glib-static
400 Static Avahi GLib library.
402 %description glib-static -l pl.UTF-8
403 Statyczna biblioteka Avahi GLib.
406 Summary: Avahi GObject interface
407 Summary(pl.UTF-8): Interfejs GObject do Avahi
411 Avahi GObject interface.
413 %description gobject -l pl.UTF-8
414 Interfejs GObject do Avahi.
416 %package gobject-devel
417 Summary: Header files for Avahi GObject interface
418 Summary(pl.UTF-8): Pliki nagłówkowe interfejsu GObject do Avahi
419 Group: Development/Libraries
420 Requires: %{name}-devel = %{version}-%{release}
421 Requires: %{name}-gobject = %{version}-%{release}
422 Requires: glib2-devel >= 1:2.12.2
424 %description gobject-devel
425 This is the package containing the header files for Avahi GObject
428 %description gobject-devel -l pl.UTF-8
429 Ten pakiet zawiera pliki nagłówkowe interfejsu GObject do Avahi.
431 %package gobject-static
432 Summary: Static Avahi GObject library
433 Summary(pl.UTF-8): Statyczna biblioteka Avahi GObject
434 Group: Development/Libraries
435 Requires: %{name}-gobject-devel = %{version}-%{release}
437 %description gobject-static
438 Static Avahi GObject library.
440 %description gobject-static -l pl.UTF-8
441 Statyczna biblioteka Avahi GObject.
444 Summary: Avahi Qt 3 library bindings
445 Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 3
447 Requires: %{name}-libs = %{version}-%{release}
451 Avahi Qt 3 library bindings.
453 %description qt -l pl.UTF-8
454 Wiązania Avahi dla biblioteki Qt 3.
457 Summary: Header files for Avahi Qt 3 library bindings
458 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3
459 Group: Development/Libraries
460 Requires: %{name}-devel = %{version}-%{release}
461 Requires: %{name}-qt = %{version}-%{release}
462 Requires: qt-devel >= 1:3.0
463 Obsoletes: avahi-qt3-devel
465 %description qt-devel
466 Header files for Avahi Qt 3 library bindings.
468 %description qt-devel -l pl.UTF-8
469 Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3.
472 Summary: Static Avahi Qt 3 library
473 Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 3
474 Group: Development/Libraries
475 Requires: %{name}-qt-devel = %{version}-%{release}
476 Obsoletes: avahi-qt3-static
478 %description qt-static
479 Static Avahi Qt 3 library.
481 %description qt-static -l pl.UTF-8
482 Statyczna biblioteka Avahi Qt 3.
485 Summary: Avahi Qt 4 library bindings
486 Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 4
488 Requires: %{name}-libs = %{version}-%{release}
491 Avahi Qt 4 library bindings.
493 %description Qt -l pl.UTF-8
494 Wiązania Avahi dla biblioteki Qt 4.
497 Summary: Header files for Avahi Qt 4 library bindings
498 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4
499 Group: Development/Libraries
500 Requires: %{name}-Qt = %{version}-%{release}
501 Requires: %{name}-devel = %{version}-%{release}
503 %description Qt-devel
504 Header files for Avahi Qt 4 library bindings.
506 %description Qt-devel -l pl.UTF-8
507 Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4.
510 Summary: Static Avahi Qt 4 library
511 Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 4
512 Group: Development/Libraries
513 Requires: %{name}-Qt-devel = %{version}-%{release}
515 %description Qt-static
516 Static Avahi Qt 4 library.
518 %description Qt-static -l pl.UTF-8
519 Statyczna biblioteka Avahi Qt 4.
521 %package -n python-avahi
522 Summary: Avahi Python bindings
523 Summary(pl.UTF-8): Wiązania Avahi dla Pythona
524 Group: Development/Languages/Python
525 Requires: %{name}-libs = %{version}-%{release}
526 Requires: python-dbus >= 0.71
528 %description -n python-avahi
529 Avahi Python bindings.
531 %description -n python-avahi -l pl.UTF-8
532 Wiązania Avahi dla Pythona.
534 %package -n dotnet-avahi
535 Summary: Avahi MONO bindings
536 Summary(pl.UTF-8): Wiązania Avahi dla MONO
538 Requires: %{name}-libs = %{version}-%{release}
540 %description -n dotnet-avahi
543 %description -n dotnet-avahi -l pl.UTF-8
544 Wiązania Avahi dla MONO.
546 %package -n dotnet-avahi-devel
547 Summary: Development files for MONO Avahi bindings
548 Summary(pl.UTF-8): Pliki rozwojowe wiązań Avahi dla MONO
549 Group: Development/Libraries
550 Requires: dotnet-avahi = %{version}-%{release}
551 Requires: monodoc >= 2.6
553 %description -n dotnet-avahi-devel
554 Development files for MONO Avahi bindings.
556 %description -n dotnet-avahi-devel -l pl.UTF-8
557 Pliki rozwojowe wiązań Avahi dla MONO.
559 %package -n dotnet-avahi-ui
560 Summary: Avahi UI MONO bindings
561 Summary(pl.UTF-8): Wiązania Avahi UI dla MONO
563 Requires: %{name}-ui = %{version}-%{release}
564 Requires: dotnet-avahi = %{version}-%{release}
566 %description -n dotnet-avahi-ui
567 Avahi UI MONO bindings.
569 %description -n dotnet-avahi-ui -l pl.UTF-8
570 Wiązania Avahi UI dla MONO.
572 %package -n dotnet-avahi-ui-devel
573 Summary: Development files for MONO Avahi UI bindings
574 Summary(pl.UTF-8): Pliki rozwojowe wiązań Avahi UI dla MONO
575 Group: X11/Development/Libraries
576 Requires: dotnet-avahi-ui = %{version}-%{release}
577 Requires: monodoc >= 2.6
579 %description -n dotnet-avahi-ui-devel
580 Development files for MONO Avahi UI bindings.
582 %description -n dotnet-avahi-ui-devel -l pl.UTF-8
583 Pliki rozwojowe wiązań Avahi UI dla MONO.
586 Summary: Miniature web server
587 Summary(pl.UTF-8): Miniaturowy serwer WWW
590 %description bookmarks
591 A Python based miniature web server that browses for mDNS/DNS-SD
592 services of type '_http._tcp' (i.e. web sites) and makes them
593 available as HTML links on http://localhost:8080/.
595 %description bookmarks -l pl.UTF-8
596 Napisany w Pythonie miniaturowy serwer WWW, pozwalający na
597 przeglądanie usług typu '_http._tcp' (np. stron WWW) i udostępniający
598 je jako odnośniki HTML na http://localhost:8080/.
601 Summary: Avahi Zeroconf browser
602 Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi
604 Requires: python-avahi = %{version}-%{release}
605 Requires: python-pygtk-glade >= 2:2.9.6
607 %description discover
608 A tool for enumerating all available services on the local LAN
609 (python-pygtk implementation).
611 %description discover -l pl.UTF-8
612 Narzędzie wymieniające wszystkie dostępne usługi w sieci lokalnej LAN
613 (implementacja w python-pygtk).
615 %package discover-standalone
616 Summary: Avahi Zeroconf browser
617 Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi
619 Requires: %{name}-glib = %{version}-%{release}
621 %description discover-standalone
622 GTK+ tool for enumerating all available services on the local LAN.
624 %description discover-standalone -l pl.UTF-8
625 Narzędzie GTK+ wymieniające wszystkie dostępne usługi w sieci lokalnej
629 Summary: Avahi CLI utilities
630 Summary(pl.UTF-8): Narzędzia CLI Avahi
634 Command line utilities using avahi-client.
636 %description utils -l pl.UTF-8
637 Narzędzia linii poleceń korzystające z avahi-client.
652 %{__aclocal} -I common
657 --disable-silent-rules \
658 --enable-compat-libdns_sd \
659 --enable-compat-howl \
661 %{!?with_apidocs:--disable-doxygen-doc} \
662 %{!?with_gtk:--disable-gtk} \
663 %{!?with_gtk3:--disable-gtk3} \
664 %{!?with_pygtk:--disable-pygtk} \
665 %{!?with_qt3:--disable-qt3} \
666 %{!?with_qt4:--disable-qt4} \
667 %{!?with_dotnet:--disable-mono} \
668 %{!?with_dotnet:--disable-monodoc} \
669 --with-avahi-priv-access-group=adm \
670 --with-autoipd-user=avahi \
671 --with-autoipd-group=avahi
675 rm -rf $RPM_BUILD_ROOT
676 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},/etc/rc.d/init.d,/etc/init}
679 DESTDIR=$RPM_BUILD_ROOT \
680 pythondir=%{py_sitedir}
682 install -p %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d
683 cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
685 install %{SOURCE4} $RPM_BUILD_ROOT/etc/init/avahi-daemon.conf
686 install %{SOURCE5} $RPM_BUILD_ROOT/etc/init/avahi-dnsconfd.conf
688 ln -sf %{_includedir}/avahi-compat-libdns_sd/dns_sd.h \
689 $RPM_BUILD_ROOT%{_includedir}/dns_sd.h
691 ln -sf %{_pkgconfigdir}/avahi-compat-howl.pc \
692 $RPM_BUILD_ROOT%{_pkgconfigdir}/howl.pc
694 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
695 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
698 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/avahi-{browse-domains,publish-address,publish-service,resolve-address,resolve-host-name}.1
699 %{?with_gtk:%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/bvnc.1}
700 echo '.so avahi-browse.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-browse-domains.1
701 echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-address.1
702 echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-service.1
703 echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-address.1
704 echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-host-name.1
705 echo '.so bssh.1' > $RPM_BUILD_ROOT%{_mandir}/man1/bvnc.1
706 echo '.so bssh.1' > $RPM_BUILD_ROOT%{_mandir}/man1/bshell.1
708 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
713 rm -rf $RPM_BUILD_ROOT
716 %groupadd -g 165 -r -f avahi
717 %useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi
720 %groupadd -g 165 -r -f avahi
721 %useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi
724 /sbin/chkconfig --add %{name}-daemon
725 %service %{name}-daemon restart
726 /sbin/chkconfig --add %{name}-dnsconfd
727 %service %{name}-dnsconfd restart
730 if [ "$1" = "0" ]; then
731 %service -q %{name}-dnsconfd stop
732 /sbin/chkconfig --del %{name}-dnsconfd
733 %service -q %{name}-daemon stop
734 /sbin/chkconfig --del %{name}-daemon
738 if [ "$1" = "0" ]; then
744 if [ "$1" = "0" ]; then
750 %upstart_post avahi-daemon
751 %upstart_post avahi-dnsconfd
754 %upstart_postun avahi-daemon
755 %upstart_postun avahi-dnsconfd
757 %post libs -p /sbin/ldconfig
758 %postun libs -p /sbin/ldconfig
760 %post ui -p /sbin/ldconfig
761 %postun ui -p /sbin/ldconfig
763 %post ui-gtk3 -p /sbin/ldconfig
764 %postun ui-gtk3 -p /sbin/ldconfig
766 %post compat-libdns_sd -p /sbin/ldconfig
767 %postun compat-libdns_sd -p /sbin/ldconfig
769 %post compat-howl -p /sbin/ldconfig
770 %postun compat-howl -p /sbin/ldconfig
772 %post glib -p /sbin/ldconfig
773 %postun glib -p /sbin/ldconfig
775 %post gobject -p /sbin/ldconfig
776 %postun gobject -p /sbin/ldconfig
778 %post qt -p /sbin/ldconfig
779 %postun qt -p /sbin/ldconfig
781 %post Qt -p /sbin/ldconfig
782 %postun Qt -p /sbin/ldconfig
785 %defattr(644,root,root,755)
786 %doc docs/AUTHORS docs/COMPAT-LAYERS docs/NEWS docs/README docs/TODO
788 %dir %{_sysconfdir}/avahi
789 %dir %{_sysconfdir}/avahi/services
790 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-daemon.conf
791 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-dnsconfd.action
792 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/hosts
793 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/ssh.service
794 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/sftp-ssh.service
795 %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/*
797 %attr(755,root,root) %{_bindir}/avahi-set-host-name
799 %attr(755,root,root) %{_sbindir}/avahi-daemon
800 %attr(755,root,root) %{_sbindir}/avahi-dnsconfd
801 %dir %{_libdir}/%{name}
802 %{_libdir}/%{name}/service-types.db
803 #%%dir %{_datadir}/%{name}/introspection
804 #%%{_datadir}/%{name}/introspection/*.introspect
805 %{_datadir}/%{name}/avahi-service.dtd
806 %{_datadir}/%{name}/service-types
807 %{_datadir}/dbus-1/interfaces/org.freedesktop.Avahi.*.xml
809 %{_mandir}/man1/avahi-set-host-name.1*
810 %{_mandir}/man5/avahi-daemon.conf.5*
811 %{_mandir}/man5/avahi.hosts.5*
812 %{_mandir}/man5/avahi.service.5*
813 %{_mandir}/man8/avahi-daemon.8*
814 %{_mandir}/man8/avahi-dnsconfd.8*
815 %{_mandir}/man8/avahi-dnsconfd.action.8*
817 %attr(754,root,root) /etc/rc.d/init.d/%{name}-daemon
818 %attr(754,root,root) /etc/rc.d/init.d/%{name}-dnsconfd
820 %if "%{pld_release}" != "ti"
822 %defattr(644,root,root,755)
823 %config(noreplace) %verify(not md5 mtime size) /etc/init/*.conf
827 %defattr(644,root,root,755)
828 %dir %{_sysconfdir}/avahi
829 %attr(755,root,root) %{_sysconfdir}/%{name}/avahi-autoipd.action
830 %config(noreplace) %verify(not md5 mtime size) /etc/dhclient-enter-hooks.d/avahi-autoipd
831 %config(noreplace) %verify(not md5 mtime size) /etc/dhclient-exit-hooks.d/avahi-autoipd
832 %attr(755,root,root) %{_sbindir}/avahi-autoipd
833 %{_mandir}/man8/avahi-autoipd.8*
834 %{_mandir}/man8/avahi-autoipd.action.8*
836 %files libs -f %{name}.lang
837 %defattr(644,root,root,755)
838 %attr(755,root,root) %{_libdir}/libavahi-client.so.*.*.*
839 %attr(755,root,root) %ghost %{_libdir}/libavahi-client.so.3
840 %attr(755,root,root) %{_libdir}/libavahi-common.so.*.*.*
841 %attr(755,root,root) %ghost %{_libdir}/libavahi-common.so.3
842 %attr(755,root,root) %{_libdir}/libavahi-core.so.*.*.*
843 %attr(755,root,root) %ghost %{_libdir}/libavahi-core.so.7
844 # common for -discover*
845 %dir %{_datadir}/%{name}
846 %dir %{_datadir}/%{name}/interfaces
849 %defattr(644,root,root,755)
850 %doc docs/API-CHANGES-0.6 docs/DBUS-API docs/HACKING docs/MALLOC
851 %attr(755,root,root) %{_libdir}/libavahi-client.so
852 %attr(755,root,root) %{_libdir}/libavahi-common.so
853 %attr(755,root,root) %{_libdir}/libavahi-core.so
854 %{_includedir}/avahi-client
855 %{_includedir}/avahi-common
856 %{_includedir}/avahi-core
857 %{_pkgconfigdir}/avahi-client.pc
858 %{_pkgconfigdir}/avahi-core.pc
861 %defattr(644,root,root,755)
862 %{_libdir}/libavahi-client.a
863 %{_libdir}/libavahi-common.a
864 %{_libdir}/libavahi-core.a
868 %defattr(644,root,root,755)
869 %attr(755,root,root) %{_libdir}/libavahi-ui.so.*.*.*
870 %attr(755,root,root) %ghost %{_libdir}/libavahi-ui.so.0
872 %attr(755,root,root) %{_bindir}/bshell
873 %attr(755,root,root) %{_bindir}/bssh
874 %attr(755,root,root) %{_bindir}/bvnc
875 %{_mandir}/man1/bshell.1*
876 %{_mandir}/man1/bssh.1*
877 %{_mandir}/man1/bvnc.1*
878 %{_desktopdir}/bssh.desktop
879 %{_desktopdir}/bvnc.desktop
883 %defattr(644,root,root,755)
884 %attr(755,root,root) %{_libdir}/libavahi-ui.so
885 %{_pkgconfigdir}/avahi-ui.pc
888 %defattr(644,root,root,755)
889 %{_libdir}/libavahi-ui.a
892 %if %{with gtk} || %{with gtk3}
893 %files ui-devel-common
894 %defattr(644,root,root,755)
895 %{_includedir}/avahi-ui
900 %defattr(644,root,root,755)
901 %attr(755,root,root) %{_bindir}/bshell
902 %attr(755,root,root) %{_bindir}/bssh
903 %attr(755,root,root) %{_bindir}/bvnc
904 %attr(755,root,root) %{_libdir}/libavahi-ui-gtk3.so.*.*.*
905 %attr(755,root,root) %ghost %{_libdir}/libavahi-ui-gtk3.so.0
906 %{_mandir}/man1/bshell.1*
907 %{_mandir}/man1/bssh.1*
908 %{_mandir}/man1/bvnc.1*
909 %{_desktopdir}/bssh.desktop
910 %{_desktopdir}/bvnc.desktop
913 %defattr(644,root,root,755)
914 %attr(755,root,root) %{_libdir}/libavahi-ui-gtk3.so
915 %{_pkgconfigdir}/avahi-ui-gtk3.pc
917 %files ui-gtk3-static
918 %defattr(644,root,root,755)
919 %{_libdir}/libavahi-ui-gtk3.a
922 %files compat-libdns_sd
923 %defattr(644,root,root,755)
924 %attr(755,root,root) %{_libdir}/libdns_sd.so.*.*.*
925 %attr(755,root,root) %ghost %{_libdir}/libdns_sd.so.1
927 %files compat-libdns_sd-devel
928 %defattr(644,root,root,755)
929 %attr(755,root,root) %{_libdir}/libdns_sd.so
930 %{_includedir}/avahi-compat-libdns_sd
931 %{_includedir}/dns_sd.h
932 %{_pkgconfigdir}/avahi-compat-libdns_sd.pc
934 %files compat-libdns_sd-static
935 %defattr(644,root,root,755)
936 %{_libdir}/libdns_sd.a
939 %defattr(644,root,root,755)
940 %attr(755,root,root) %{_libdir}/libhowl.so.*.*.*
941 %attr(755,root,root) %ghost %{_libdir}/libhowl.so.0
943 %files compat-howl-devel
944 %defattr(644,root,root,755)
945 %attr(755,root,root) %{_libdir}/libhowl.so
946 %{_includedir}/avahi-compat-howl
947 %{_pkgconfigdir}/avahi-compat-howl.pc
948 %{_pkgconfigdir}/howl.pc
950 %files compat-howl-static
951 %defattr(644,root,root,755)
954 %files -n python-avahi
955 %defattr(644,root,root,755)
959 %files -n dotnet-avahi
960 %defattr(644,root,root,755)
961 %{_prefix}/lib/mono/gac/avahi-sharp
963 %files -n dotnet-avahi-devel
964 %defattr(644,root,root,755)
965 %{_prefix}/lib/mono/avahi-sharp
966 %{_prefix}/lib/monodoc/sources/avahi-sharp-docs.*
967 %{_pkgconfigdir}/avahi-sharp.pc
969 %files -n dotnet-avahi-ui
970 %defattr(644,root,root,755)
971 %{_prefix}/lib/mono/gac/avahi-ui-sharp
973 %files -n dotnet-avahi-ui-devel
974 %defattr(644,root,root,755)
975 %{_prefix}/lib/mono/avahi-ui-sharp
976 %{_prefix}/lib/monodoc/sources/avahi-ui-sharp-docs.*
977 %{_pkgconfigdir}/avahi-ui-sharp.pc
981 %defattr(644,root,root,755)
982 %attr(755,root,root) %{_libdir}/libavahi-glib.so.*.*.*
983 %attr(755,root,root) %ghost %{_libdir}/libavahi-glib.so.1
986 %defattr(644,root,root,755)
987 %attr(755,root,root) %{_libdir}/libavahi-glib.so
988 %{_includedir}/avahi-glib
989 %{_pkgconfigdir}/avahi-glib.pc
992 %defattr(644,root,root,755)
993 %{_libdir}/libavahi-glib.a
996 %defattr(644,root,root,755)
997 %attr(755,root,root) %{_libdir}/libavahi-gobject.so.*.*.*
998 %attr(755,root,root) %ghost %{_libdir}/libavahi-gobject.so.0
999 %{_libdir}/girepository-1.0/Avahi-0.6.typelib
1000 %{_libdir}/girepository-1.0/AvahiCore-0.6.typelib
1002 %files gobject-devel
1003 %defattr(644,root,root,755)
1004 %attr(755,root,root) %{_libdir}/libavahi-gobject.so
1005 %{_includedir}/avahi-gobject
1006 %{_pkgconfigdir}/avahi-gobject.pc
1007 %{_datadir}/gir-1.0/Avahi-0.6.gir
1008 %{_datadir}/gir-1.0/AvahiCore-0.6.gir
1010 %files gobject-static
1011 %defattr(644,root,root,755)
1012 %{_libdir}/libavahi-gobject.a
1016 %defattr(644,root,root,755)
1017 %attr(755,root,root) %{_libdir}/libavahi-qt3.so.*.*.*
1018 %attr(755,root,root) %ghost %{_libdir}/libavahi-qt3.so.1
1021 %defattr(644,root,root,755)
1022 %attr(755,root,root) %{_libdir}/libavahi-qt3.so
1023 %{_includedir}/avahi-qt3
1024 %{_pkgconfigdir}/avahi-qt3.pc
1027 %defattr(644,root,root,755)
1028 %{_libdir}/libavahi-qt3.a
1033 %defattr(644,root,root,755)
1034 %attr(755,root,root) %{_libdir}/libavahi-qt4.so.*.*.*
1035 %attr(755,root,root) %ghost %{_libdir}/libavahi-qt4.so.1
1038 %defattr(644,root,root,755)
1039 %attr(755,root,root) %{_libdir}/libavahi-qt4.so
1040 %{_includedir}/avahi-qt4
1041 %{_pkgconfigdir}/avahi-qt4.pc
1044 %defattr(644,root,root,755)
1045 %{_libdir}/libavahi-qt4.a
1049 %defattr(644,root,root,755)
1050 %attr(755,root,root) %{_bindir}/avahi-bookmarks
1051 %{_mandir}/man1/avahi-bookmarks.1*
1055 %defattr(644,root,root,755)
1056 %attr(755,root,root) %{_bindir}/avahi-discover
1057 %{py_sitedir}/avahi_discover
1058 %{_datadir}/%{name}/interfaces/avahi-discover.ui
1059 %{_desktopdir}/avahi-discover.desktop
1060 %{_pixmapsdir}/avahi.png
1061 %{_mandir}/man1/avahi-discover.1*
1065 %files discover-standalone
1066 %defattr(644,root,root,755)
1067 %attr(755,root,root) %{_bindir}/avahi-discover-standalone
1068 %{_datadir}/%{name}/interfaces/avahi-discover-standalone.glade
1072 %defattr(644,root,root,755)
1073 %attr(755,root,root) %{_bindir}/avahi-browse
1074 %attr(755,root,root) %{_bindir}/avahi-browse-domains
1075 %attr(755,root,root) %{_bindir}/avahi-publish
1076 %attr(755,root,root) %{_bindir}/avahi-publish-address
1077 %attr(755,root,root) %{_bindir}/avahi-publish-service
1078 %attr(755,root,root) %{_bindir}/avahi-resolve
1079 %attr(755,root,root) %{_bindir}/avahi-resolve-address
1080 %attr(755,root,root) %{_bindir}/avahi-resolve-host-name
1081 %{_mandir}/man1/avahi-browse.1*
1082 %{_mandir}/man1/avahi-browse-domains.1*
1083 %{_mandir}/man1/avahi-publish.1*
1084 %{_mandir}/man1/avahi-publish-address.1*
1085 %{_mandir}/man1/avahi-publish-service.1*
1086 %{_mandir}/man1/avahi-resolve.1*
1087 %{_mandir}/man1/avahi-resolve-address.1*
1088 %{_mandir}/man1/avahi-resolve-host-name.1*