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: d0143a5aa3265019072e53ab497818d0
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},bvnc}.1
699 echo '.so avahi-browse.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-browse-domains.1
700 echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-address.1
701 echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-service.1
702 echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-address.1
703 echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-host-name.1
704 echo '.so bssh.1' > $RPM_BUILD_ROOT%{_mandir}/man1/bvnc.1
705 echo '.so bssh.1' > $RPM_BUILD_ROOT%{_mandir}/man1/bshell.1
707 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
712 rm -rf $RPM_BUILD_ROOT
715 %groupadd -g 165 -r -f avahi
716 %useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi
719 %groupadd -g 165 -r -f avahi
720 %useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi
723 /sbin/chkconfig --add %{name}-daemon
724 %service %{name}-daemon restart
725 /sbin/chkconfig --add %{name}-dnsconfd
726 %service %{name}-dnsconfd restart
729 if [ "$1" = "0" ]; then
730 %service -q %{name}-dnsconfd stop
731 /sbin/chkconfig --del %{name}-dnsconfd
732 %service -q %{name}-daemon stop
733 /sbin/chkconfig --del %{name}-daemon
737 if [ "$1" = "0" ]; then
743 if [ "$1" = "0" ]; then
749 %upstart_post avahi-daemon
750 %upstart_post avahi-dnsconfd
753 %upstart_postun avahi-daemon
754 %upstart_postun avahi-dnsconfd
756 %post libs -p /sbin/ldconfig
757 %postun libs -p /sbin/ldconfig
759 %post ui -p /sbin/ldconfig
760 %postun ui -p /sbin/ldconfig
762 %post ui-gtk3 -p /sbin/ldconfig
763 %postun ui-gtk3 -p /sbin/ldconfig
765 %post compat-libdns_sd -p /sbin/ldconfig
766 %postun compat-libdns_sd -p /sbin/ldconfig
768 %post compat-howl -p /sbin/ldconfig
769 %postun compat-howl -p /sbin/ldconfig
771 %post glib -p /sbin/ldconfig
772 %postun glib -p /sbin/ldconfig
774 %post gobject -p /sbin/ldconfig
775 %postun gobject -p /sbin/ldconfig
777 %post qt -p /sbin/ldconfig
778 %postun qt -p /sbin/ldconfig
780 %post Qt -p /sbin/ldconfig
781 %postun Qt -p /sbin/ldconfig
784 %defattr(644,root,root,755)
785 %doc docs/AUTHORS docs/COMPAT-LAYERS docs/NEWS docs/README docs/TODO
787 %dir %{_sysconfdir}/avahi
788 %dir %{_sysconfdir}/avahi/services
789 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-daemon.conf
790 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-dnsconfd.action
791 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/hosts
792 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/ssh.service
793 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/sftp-ssh.service
794 %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/*
796 %attr(755,root,root) %{_bindir}/avahi-set-host-name
798 %attr(755,root,root) %{_sbindir}/avahi-daemon
799 %attr(755,root,root) %{_sbindir}/avahi-dnsconfd
800 %dir %{_libdir}/%{name}
801 %{_libdir}/%{name}/service-types.db
802 #%%dir %{_datadir}/%{name}/introspection
803 #%%{_datadir}/%{name}/introspection/*.introspect
804 %{_datadir}/%{name}/avahi-service.dtd
805 %{_datadir}/%{name}/service-types
806 %{_datadir}/dbus-1/interfaces/org.freedesktop.Avahi.*.xml
808 %{_mandir}/man1/avahi-set-host-name.1*
809 %{_mandir}/man5/avahi-daemon.conf.5*
810 %{_mandir}/man5/avahi.hosts.5*
811 %{_mandir}/man5/avahi.service.5*
812 %{_mandir}/man8/avahi-daemon.8*
813 %{_mandir}/man8/avahi-dnsconfd.8*
814 %{_mandir}/man8/avahi-dnsconfd.action.8*
816 %attr(754,root,root) /etc/rc.d/init.d/%{name}-daemon
817 %attr(754,root,root) /etc/rc.d/init.d/%{name}-dnsconfd
819 %if "%{pld_release}" != "ti"
821 %defattr(644,root,root,755)
822 %config(noreplace) %verify(not md5 mtime size) /etc/init/*.conf
826 %defattr(644,root,root,755)
827 %dir %{_sysconfdir}/avahi
828 %attr(755,root,root) %{_sysconfdir}/%{name}/avahi-autoipd.action
829 %config(noreplace) %verify(not md5 mtime size) /etc/dhclient-enter-hooks.d/avahi-autoipd
830 %config(noreplace) %verify(not md5 mtime size) /etc/dhclient-exit-hooks.d/avahi-autoipd
831 %attr(755,root,root) %{_sbindir}/avahi-autoipd
832 %{_mandir}/man8/avahi-autoipd.8*
833 %{_mandir}/man8/avahi-autoipd.action.8*
835 %files libs -f %{name}.lang
836 %defattr(644,root,root,755)
837 %attr(755,root,root) %{_libdir}/libavahi-client.so.*.*.*
838 %attr(755,root,root) %ghost %{_libdir}/libavahi-client.so.3
839 %attr(755,root,root) %{_libdir}/libavahi-common.so.*.*.*
840 %attr(755,root,root) %ghost %{_libdir}/libavahi-common.so.3
841 %attr(755,root,root) %{_libdir}/libavahi-core.so.*.*.*
842 %attr(755,root,root) %ghost %{_libdir}/libavahi-core.so.7
843 # common for -discover*
844 %dir %{_datadir}/%{name}
845 %dir %{_datadir}/%{name}/interfaces
848 %defattr(644,root,root,755)
849 %doc docs/API-CHANGES-0.6 docs/DBUS-API docs/HACKING docs/MALLOC
850 %attr(755,root,root) %{_libdir}/libavahi-client.so
851 %attr(755,root,root) %{_libdir}/libavahi-common.so
852 %attr(755,root,root) %{_libdir}/libavahi-core.so
853 %{_includedir}/avahi-client
854 %{_includedir}/avahi-common
855 %{_includedir}/avahi-core
856 %{_pkgconfigdir}/avahi-client.pc
857 %{_pkgconfigdir}/avahi-core.pc
860 %defattr(644,root,root,755)
861 %{_libdir}/libavahi-client.a
862 %{_libdir}/libavahi-common.a
863 %{_libdir}/libavahi-core.a
867 %defattr(644,root,root,755)
868 %attr(755,root,root) %{_libdir}/libavahi-ui.so.*.*.*
869 %attr(755,root,root) %ghost %{_libdir}/libavahi-ui.so.0
871 %attr(755,root,root) %{_bindir}/bshell
872 %attr(755,root,root) %{_bindir}/bssh
873 %attr(755,root,root) %{_bindir}/bvnc
874 %{_mandir}/man1/bshell.1*
875 %{_mandir}/man1/bssh.1*
876 %{_mandir}/man1/bvnc.1*
877 %{_desktopdir}/bssh.desktop
878 %{_desktopdir}/bvnc.desktop
882 %defattr(644,root,root,755)
883 %attr(755,root,root) %{_libdir}/libavahi-ui.so
884 %{_pkgconfigdir}/avahi-ui.pc
887 %defattr(644,root,root,755)
888 %{_libdir}/libavahi-ui.a
891 %if %{with gtk} || %{with gtk3}
892 %files ui-devel-common
893 %defattr(644,root,root,755)
894 %{_includedir}/avahi-ui
899 %defattr(644,root,root,755)
900 %attr(755,root,root) %{_bindir}/bshell
901 %attr(755,root,root) %{_bindir}/bssh
902 %attr(755,root,root) %{_bindir}/bvnc
903 %attr(755,root,root) %{_libdir}/libavahi-ui-gtk3.so.*.*.*
904 %attr(755,root,root) %ghost %{_libdir}/libavahi-ui-gtk3.so.0
905 %{_mandir}/man1/bshell.1*
906 %{_mandir}/man1/bssh.1*
907 %{_mandir}/man1/bvnc.1*
908 %{_desktopdir}/bssh.desktop
909 %{_desktopdir}/bvnc.desktop
912 %defattr(644,root,root,755)
913 %attr(755,root,root) %{_libdir}/libavahi-ui-gtk3.so
914 %{_pkgconfigdir}/avahi-ui-gtk3.pc
916 %files ui-gtk3-static
917 %defattr(644,root,root,755)
918 %{_libdir}/libavahi-ui-gtk3.a
921 %files compat-libdns_sd
922 %defattr(644,root,root,755)
923 %attr(755,root,root) %{_libdir}/libdns_sd.so.*.*.*
924 %attr(755,root,root) %ghost %{_libdir}/libdns_sd.so.1
926 %files compat-libdns_sd-devel
927 %defattr(644,root,root,755)
928 %attr(755,root,root) %{_libdir}/libdns_sd.so
929 %{_includedir}/avahi-compat-libdns_sd
930 %{_includedir}/dns_sd.h
931 %{_pkgconfigdir}/avahi-compat-libdns_sd.pc
933 %files compat-libdns_sd-static
934 %defattr(644,root,root,755)
935 %{_libdir}/libdns_sd.a
938 %defattr(644,root,root,755)
939 %attr(755,root,root) %{_libdir}/libhowl.so.*.*.*
940 %attr(755,root,root) %ghost %{_libdir}/libhowl.so.0
942 %files compat-howl-devel
943 %defattr(644,root,root,755)
944 %attr(755,root,root) %{_libdir}/libhowl.so
945 %{_includedir}/avahi-compat-howl
946 %{_pkgconfigdir}/avahi-compat-howl.pc
947 %{_pkgconfigdir}/howl.pc
949 %files compat-howl-static
950 %defattr(644,root,root,755)
953 %files -n python-avahi
954 %defattr(644,root,root,755)
958 %files -n dotnet-avahi
959 %defattr(644,root,root,755)
960 %{_prefix}/lib/mono/gac/avahi-sharp
962 %files -n dotnet-avahi-devel
963 %defattr(644,root,root,755)
964 %{_prefix}/lib/mono/avahi-sharp
965 %{_prefix}/lib/monodoc/sources/avahi-sharp-docs.*
966 %{_pkgconfigdir}/avahi-sharp.pc
968 %files -n dotnet-avahi-ui
969 %defattr(644,root,root,755)
970 %{_prefix}/lib/mono/gac/avahi-ui-sharp
972 %files -n dotnet-avahi-ui-devel
973 %defattr(644,root,root,755)
974 %{_prefix}/lib/mono/avahi-ui-sharp
975 %{_prefix}/lib/monodoc/sources/avahi-ui-sharp-docs.*
976 %{_pkgconfigdir}/avahi-ui-sharp.pc
980 %defattr(644,root,root,755)
981 %attr(755,root,root) %{_libdir}/libavahi-glib.so.*.*.*
982 %attr(755,root,root) %ghost %{_libdir}/libavahi-glib.so.1
985 %defattr(644,root,root,755)
986 %attr(755,root,root) %{_libdir}/libavahi-glib.so
987 %{_includedir}/avahi-glib
988 %{_pkgconfigdir}/avahi-glib.pc
991 %defattr(644,root,root,755)
992 %{_libdir}/libavahi-glib.a
995 %defattr(644,root,root,755)
996 %attr(755,root,root) %{_libdir}/libavahi-gobject.so.*.*.*
997 %attr(755,root,root) %ghost %{_libdir}/libavahi-gobject.so.0
998 %{_libdir}/girepository-1.0/Avahi-0.6.typelib
999 %{_libdir}/girepository-1.0/AvahiCore-0.6.typelib
1001 %files gobject-devel
1002 %defattr(644,root,root,755)
1003 %attr(755,root,root) %{_libdir}/libavahi-gobject.so
1004 %{_includedir}/avahi-gobject
1005 %{_pkgconfigdir}/avahi-gobject.pc
1006 %{_datadir}/gir-1.0/Avahi-0.6.gir
1007 %{_datadir}/gir-1.0/AvahiCore-0.6.gir
1009 %files gobject-static
1010 %defattr(644,root,root,755)
1011 %{_libdir}/libavahi-gobject.a
1015 %defattr(644,root,root,755)
1016 %attr(755,root,root) %{_libdir}/libavahi-qt3.so.*.*.*
1017 %attr(755,root,root) %ghost %{_libdir}/libavahi-qt3.so.1
1020 %defattr(644,root,root,755)
1021 %attr(755,root,root) %{_libdir}/libavahi-qt3.so
1022 %{_includedir}/avahi-qt3
1023 %{_pkgconfigdir}/avahi-qt3.pc
1026 %defattr(644,root,root,755)
1027 %{_libdir}/libavahi-qt3.a
1032 %defattr(644,root,root,755)
1033 %attr(755,root,root) %{_libdir}/libavahi-qt4.so.*.*.*
1034 %attr(755,root,root) %ghost %{_libdir}/libavahi-qt4.so.1
1037 %defattr(644,root,root,755)
1038 %attr(755,root,root) %{_libdir}/libavahi-qt4.so
1039 %{_includedir}/avahi-qt4
1040 %{_pkgconfigdir}/avahi-qt4.pc
1043 %defattr(644,root,root,755)
1044 %{_libdir}/libavahi-qt4.a
1048 %defattr(644,root,root,755)
1049 %attr(755,root,root) %{_bindir}/avahi-bookmarks
1050 %{_mandir}/man1/avahi-bookmarks.1*
1054 %defattr(644,root,root,755)
1055 %attr(755,root,root) %{_bindir}/avahi-discover
1056 %{py_sitedir}/avahi_discover
1057 %{_datadir}/%{name}/interfaces/avahi-discover.ui
1058 %{_desktopdir}/avahi-discover.desktop
1059 %{_pixmapsdir}/avahi.png
1060 %{_mandir}/man1/avahi-discover.1*
1064 %files discover-standalone
1065 %defattr(644,root,root,755)
1066 %attr(755,root,root) %{_bindir}/avahi-discover-standalone
1067 %{_datadir}/%{name}/interfaces/avahi-discover-standalone.glade
1071 %defattr(644,root,root,755)
1072 %attr(755,root,root) %{_bindir}/avahi-browse
1073 %attr(755,root,root) %{_bindir}/avahi-browse-domains
1074 %attr(755,root,root) %{_bindir}/avahi-publish
1075 %attr(755,root,root) %{_bindir}/avahi-publish-address
1076 %attr(755,root,root) %{_bindir}/avahi-publish-service
1077 %attr(755,root,root) %{_bindir}/avahi-resolve
1078 %attr(755,root,root) %{_bindir}/avahi-resolve-address
1079 %attr(755,root,root) %{_bindir}/avahi-resolve-host-name
1080 %{_mandir}/man1/avahi-browse.1*
1081 %{_mandir}/man1/avahi-browse-domains.1*
1082 %{_mandir}/man1/avahi-publish.1*
1083 %{_mandir}/man1/avahi-publish-address.1*
1084 %{_mandir}/man1/avahi-publish-service.1*
1085 %{_mandir}/man1/avahi-resolve.1*
1086 %{_mandir}/man1/avahi-resolve-address.1*
1087 %{_mandir}/man1/avahi-resolve-host-name.1*