2 # - finish with_apidocs
5 %bcond_with apidocs # API documentation
6 %bcond_without dotnet # .NET (mono) bindings
7 %bcond_without gtk2 # GTK+ 2 UI (+ bshell and avahi-discover-standalone utilities if no gtk3)
8 %bcond_without gtk3 # GTK+ 3 UI (+ bshell and avahi-discover-standalone utilities)
9 %bcond_without pygobject # PyGObject based avahi-discover utility
10 %bcond_without libevent # libevent main loop integration
11 %bcond_without qt # (any) Qt main loop integration
12 %bcond_without qt3 # Qt 3 main loop integration
13 %bcond_without qt4 # Qt 4 main loop integration
14 %bcond_without qt5 # Qt 5 main loop integration
16 %ifnarch %{ix86} %{x8664} alpha %{arm} hppa ia64 mips ppc s390 s390x sparc sparcv9
29 # see http://lists.pld-linux.org/mailman/pipermail/pld-devel-pl/2012-October/155984.html
32 Summary: Free mDNS/DNS-SD/Zeroconf implementation
33 Summary(pl.UTF-8): Wolna implementacja mDNS/DNS-SD/Zeroconf
38 Group: Applications/Networking
39 #Source0Download: https://github.com/lathiat/avahi/releases
40 Source0: https://github.com/lathiat/avahi/releases/download/v%{version}/%{name}-%{version}.tar.gz
41 # Source0-md5: 229c6aa30674fc43c202b22c5f8c2be7
42 Source1: %{name}-daemon
43 Source2: %{name}-dnsconfd
45 Patch0: %{name}-desktop.patch
46 Patch1: %{name}-missing.patch
47 Patch2: %{name}-destdir.patch
48 Patch3: %{name}-mono-dir.patch
49 Patch4: nss-mdns-package.patch
50 Patch5: %{name}-dhclient_hooks.patch
51 Patch6: %{name}-autoipd-sbin_ip.patch
52 Patch7: %{name}-man-conditions.patch
53 Patch8: %{name}-qt3.patch
54 Patch9: %{name}-libevent.patch
55 Patch10: %{name}-localedir.patch
56 URL: http://avahi.org/
57 BuildRequires: autoconf >= 2.63
58 BuildRequires: automake >= 1:1.11
59 BuildRequires: dbus-devel >= 0.92
61 BuildRequires: doxygen
62 # for the 'dot' tool used by doxygen
63 BuildRequires: graphviz
65 BuildRequires: expat-devel
66 BuildRequires: gdbm-devel
67 BuildRequires: gettext-tools >= 0.19.8
68 BuildRequires: glib2-devel >= 1:2.12.2
69 BuildRequires: gobject-introspection-devel >= 0.9.5
71 BuildRequires: gtk+2-devel >= 2:2.14.0
74 BuildRequires: glib2-devel >= 1:2.28.0
75 BuildRequires: gtk+3-devel >= 3.0.0
77 BuildRequires: libcap-devel
78 BuildRequires: libdaemon-devel >= 0.14
79 %{?with_libevent:BuildRequires: libevent-devel >= 2.0.21}
80 BuildRequires: libtool
82 BuildRequires: dotnet-gtk-sharp2-devel >= 2.10
83 BuildRequires: mono-csharp
84 BuildRequires: monodoc >= 2.6
86 BuildRequires: pkgconfig
87 BuildRequires: python >= 1:2.6
88 BuildRequires: python-dbus >= 0.71
89 %{?with_pygobject:BuildRequires: python-pygobject3-devel >= 3.0}
91 BuildRequires: qt-devel >= 1:3.0
94 BuildRequires: QtCore-devel >= 4.0.0
95 BuildRequires: qt4-build >= 4.0.0
98 BuildRequires: Qt5Core-devel >= 5.0.0
99 BuildRequires: qt5-build >= 5.0.0
101 BuildRequires: rpm-pythonprov
102 BuildRequires: rpmbuild(macros) >= 1.626
103 BuildRequires: xmltoman
104 Requires(post,preun): /sbin/chkconfig
105 Requires(post,preun,postun): systemd-units >= 38
106 Requires: %{name}-libs = %{version}-%{release}
107 Requires: dbus >= 0.92
108 Requires: libdaemon >= 0.14
109 Requires: rc-scripts >= 0.4.3
110 Requires: systemd-units >= 38
111 Suggests: nss_mdns >= 0.10-2
112 Provides: group(avahi)
113 Provides: user(avahi)
114 Obsoletes: avahi-systemd
115 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
118 Avahi is an implementation the DNS Service Discovery and Multicast DNS
119 specifications for Zeroconf Computing. It uses D-BUS for communication
120 between user applications and a system daemon.
122 %description -l pl.UTF-8
123 Avahi jest implementacją specyfikacji DNS Service Discovery i
124 Multicast DNS dla Zeroconf Computing. Używa D-BUSa dla komunikacji
125 pomiędzy programami użytkownika a demonem systemowym.
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}
251 Requires: glib2 >= 1:2.28.0
252 Requires: gtk+3 >= 3.0.0
255 Common GTK+ 3.x UI support library for Avahi.
257 %description ui-gtk3 -l pl.UTF-8
258 Biblioteka wspólnego interfejsu użytkownika GTK+ 3.x dla Avahi.
260 %package ui-gtk3-devel
261 Summary: Header files for Avahi UI library - GTK+ 3.x version
262 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI - wersja dla GTK+ 3.x
263 Group: X11/Development/Libraries
264 Requires: %{name}-devel = %{version}-%{release}
265 Requires: %{name}-ui-devel-common = %{version}-%{release}
266 Requires: %{name}-ui-gtk3 = %{version}-%{release}
267 Requires: glib2-devel >= 1:2.28.0
268 Requires: gtk+3-devel >= 3.0.0
270 %description ui-gtk3-devel
271 Header files for Avahi GTK+ 3.x UI library.
273 %description ui-devel -l pl.UTF-8
274 Pliki nagłówkowe biblioteki Avahi GTK+ 3.x UI.
276 %package ui-gtk3-static
277 Summary: Static Avahi UI library - GTK+ 3.x version
278 Summary(pl.UTF-8): Statyczna biblioteka Avahi UI - wersja GTK+ 3.x
279 Group: X11/Development/Libraries
280 Requires: %{name}-ui-gtk3-devel = %{version}-%{release}
282 %description ui-gtk3-static
283 Static Avahi GTK+ 3.x UI library.
285 %description ui-gtk3-static -l pl.UTF-8
286 Statyczna biblioteka Avahi GTK+ 3.x UI.
288 %package compat-libdns_sd
289 Summary: Avahi Bonjour compat library
290 Summary(pl.UTF-8): Biblioteka Avahi zgodna z Bonjour
292 Requires: %{name}-libs = %{version}-%{release}
293 Provides: mdns-bonjour
294 Obsoletes: mDNSResponder-libs
296 %description compat-libdns_sd
297 Avahi Bonjour compat library.
299 %description compat-libdns_sd -l pl.UTF-8
300 Biblioteka Avahi zgodna z Bonjour.
302 %package compat-libdns_sd-devel
303 Summary: Header files for Avahi Bonjour compat library
304 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour
305 Group: Development/Libraries
306 Requires: %{name}-compat-libdns_sd = %{version}-%{release}
307 Requires: %{name}-devel = %{version}-%{release}
308 Provides: mdns-bonjour-devel
309 Obsoletes: mDNSResponder-devel
311 %description compat-libdns_sd-devel
312 Header files for Avahi Bonjour compat library.
314 %description compat-libdns_sd-devel -l pl.UTF-8
315 Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour.
317 %package compat-libdns_sd-static
318 Summary: Static Avahi Bonjour compat library
319 Summary(pl.UTF-8): Statyczna biblioteka Avahi zgodna z Bonjour
320 Group: Development/Libraries
321 Requires: %{name}-compat-libdns_sd-devel = %{version}-%{release}
322 Provides: mdns-bonjour-static
324 %description compat-libdns_sd-static
325 Static Avahi Bonjour compat library.
327 %description compat-libdns_sd-static -l pl.UTF-8
328 Statyczna biblioteka Avahi zgodna z Bonjour.
331 Summary: Avahi Howl compat library
332 Summary(pl.UTF-8): Biblioteka Avahi zgodna z Howl
334 Provides: mdns-howl-libs
337 %description compat-howl
338 Avahi Howl compat library.
340 %description compat-howl -l pl.UTF-8
341 Biblioteka Avahi zgodna z Howl.
343 %package compat-howl-devel
344 Summary: Header files for Avahi Howl compat library
345 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl
346 Group: Development/Libraries
347 Requires: %{name}-compat-howl = %{version}-%{release}
348 Requires: %{name}-devel = %{version}-%{release}
349 Provides: mdns-howl-devel
350 Obsoletes: howl-devel
352 %description compat-howl-devel
353 Header files for Avahi Howl compat library.
355 %description compat-howl-devel -l pl.UTF-8
356 Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl.
358 %package compat-howl-static
359 Summary: Static Avahi Howl compat library
360 Summary(pl.UTF-8): Statyczna biblioteka Avahi zgodna z Howl
361 Group: Development/Libraries
362 Requires: %{name}-compat-howl-devel = %{version}-%{release}
363 Provides: mdns-howl-static
364 Obsoletes: howl-static
366 %description compat-howl-static
367 Static Avahi Howl compat library.
369 %description compat-howl-static -l pl.UTF-8
370 Statyczna biblioteka Avahi zgodna z Howl.
373 Summary: Avahi GLib library bindings
374 Summary(pl.UTF-8): Wiązania Avahi dla bibioteki GLib
376 Requires: %{name}-libs = %{version}-%{release}
377 Requires: glib2 >= 1:2.12.2
380 Avahi GLib library bindings.
382 %description glib -l pl.UTF-8
383 Wiązania Avahi dla bibioteki GLib.
386 Summary: Header files for Avahi GLib library bindings
387 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki GLib
388 Group: Development/Libraries
389 Requires: %{name}-devel = %{version}-%{release}
390 Requires: %{name}-glib = %{version}-%{release}
391 Requires: glib2-devel >= 1:2.12.2
393 %description glib-devel
394 This is the package containing the header files for Avahi-glib
397 %description glib-devel -l pl.UTF-8
398 Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi-glib.
401 Summary: Static Avahi GLib library
402 Summary(pl.UTF-8): Statyczna biblioteka Avahi GLib
403 Group: Development/Libraries
404 Requires: %{name}-glib-devel = %{version}-%{release}
406 %description glib-static
407 Static Avahi GLib library.
409 %description glib-static -l pl.UTF-8
410 Statyczna biblioteka Avahi GLib.
413 Summary: Avahi GObject interface
414 Summary(pl.UTF-8): Interfejs GObject do Avahi
416 Requires: %{name}-glib = %{version}-%{release}
419 Avahi GObject interface.
421 %description gobject -l pl.UTF-8
422 Interfejs GObject do Avahi.
424 %package gobject-devel
425 Summary: Header files for Avahi GObject interface
426 Summary(pl.UTF-8): Pliki nagłówkowe interfejsu GObject do Avahi
427 Group: Development/Libraries
428 Requires: %{name}-glib-devel = %{version}-%{release}
429 Requires: %{name}-gobject = %{version}-%{release}
431 %description gobject-devel
432 This is the package containing the header files for Avahi GObject
435 %description gobject-devel -l pl.UTF-8
436 Ten pakiet zawiera pliki nagłówkowe interfejsu GObject do Avahi.
438 %package gobject-static
439 Summary: Static Avahi GObject library
440 Summary(pl.UTF-8): Statyczna biblioteka Avahi GObject
441 Group: Development/Libraries
442 Requires: %{name}-gobject-devel = %{version}-%{release}
444 %description gobject-static
445 Static Avahi GObject library.
447 %description gobject-static -l pl.UTF-8
448 Statyczna biblioteka Avahi GObject.
451 Summary: Avahi libevent support library
452 Summary(pl.UTF-8): Wiązania Avahi obsługująca libevent
454 Requires: %{name}-libs = %{version}-%{release}
455 Requires: libevent >= 2.0.21
457 %description libevent
458 Avahi libevent support library.
460 %description libevent -l pl.UTF-8
461 Biblioteka Avahi obsługująca libevent.
463 %package libevent-devel
464 Summary: Header files for Avahi libevent support library
465 Summary(pl.UTF-8): Pliki nagłówkowe Avahi dla biblioteki obsługującej libevent
466 Group: Development/Libraries
467 Requires: %{name}-devel = %{version}-%{release}
468 Requires: %{name}-libevent = %{version}-%{release}
469 Requires: libevent-devel >= 2.0.21
471 %description libevent-devel
472 This is the package containing the header files for Avahi libevent
475 %description libevent-devel -l pl.UTF-8
476 Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi libevent.
478 %package libevent-static
479 Summary: Static Avahi libevent library
480 Summary(pl.UTF-8): Statyczna biblioteka Avahi libevent
481 Group: Development/Libraries
482 Requires: %{name}-libevent-devel = %{version}-%{release}
484 %description libevent-static
485 Static Avahi libevent library.
487 %description libevent-static -l pl.UTF-8
488 Statyczna biblioteka Avahi libevent.
491 Summary: Avahi Qt 3 library bindings
492 Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 3
494 Requires: %{name}-libs = %{version}-%{release}
495 Provides: avahi-qt = %{version}-%{release}
496 Obsoletes: avahi-qt < 0.8
499 Avahi Qt 3 library bindings.
501 %description qt3 -l pl.UTF-8
502 Wiązania Avahi dla biblioteki Qt 3.
505 Summary: Header files for Avahi Qt 3 library bindings
506 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3
507 Group: Development/Libraries
508 Requires: %{name}-devel = %{version}-%{release}
509 Requires: %{name}-qt3 = %{version}-%{release}
510 Requires: qt-devel >= 1:3.0
511 Provides: avahi-qt-devel = %{version}-%{release}
512 Obsoletes: avahi-qt-devel < 0.8
514 %description qt3-devel
515 Header files for Avahi Qt 3 library bindings.
517 %description qt3-devel -l pl.UTF-8
518 Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3.
521 Summary: Static Avahi Qt 3 library
522 Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 3
523 Group: Development/Libraries
524 Requires: %{name}-qt3-devel = %{version}-%{release}
525 Provides: avahi-qt-static = %{version}-%{release}
526 Obsoletes: avahi-qt-static < 0.8
528 %description qt3-static
529 Static Avahi Qt 3 library.
531 %description qt3-static -l pl.UTF-8
532 Statyczna biblioteka Avahi Qt 3.
535 Summary: Avahi Qt 4 library bindings
536 Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 4
538 Requires: %{name}-libs = %{version}-%{release}
539 Provides: avahi-Qt = %{version}-%{release}
540 Obsoletes: avahi-Qt < 0.8
543 Avahi Qt 4 library bindings.
545 %description qt4 -l pl.UTF-8
546 Wiązania Avahi dla biblioteki Qt 4.
549 Summary: Header files for Avahi Qt 4 library bindings
550 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4
551 Group: Development/Libraries
552 Requires: %{name}-qt4 = %{version}-%{release}
553 Requires: %{name}-devel = %{version}-%{release}
554 Requires: QtCore-devel >= 4.0.0
555 Provides: avahi-Qt-devel = %{version}-%{release}
556 Obsoletes: avahi-Qt-devel < 0.8
558 %description qt4-devel
559 Header files for Avahi Qt 4 library bindings.
561 %description qt4-devel -l pl.UTF-8
562 Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4.
565 Summary: Static Avahi Qt 4 library
566 Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 4
567 Group: Development/Libraries
568 Requires: %{name}-qt4-devel = %{version}-%{release}
569 Provides: avahi-Qt-static = %{version}-%{release}
570 Obsoletes: avahi-Qt-static < 0.8
572 %description qt4-static
573 Static Avahi Qt 4 library.
575 %description qt4-static -l pl.UTF-8
576 Statyczna biblioteka Avahi Qt 4.
579 Summary: Avahi Qt 5 library bindings
580 Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 5
582 Requires: %{name}-libs = %{version}-%{release}
585 Avahi Qt 5 library bindings.
587 %description qt5 -l pl.UTF-8
588 Wiązania Avahi dla biblioteki Qt 5.
591 Summary: Header files for Avahi Qt 5 library bindings
592 Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 5
593 Group: Development/Libraries
594 Requires: %{name}-qt5 = %{version}-%{release}
595 Requires: %{name}-devel = %{version}-%{release}
596 Requires: Qt5Core-devel >= 5.0.0
598 %description qt5-devel
599 Header files for Avahi Qt 5 library bindings.
601 %description qt5-devel -l pl.UTF-8
602 Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 5.
605 Summary: Static Avahi Qt 5 library
606 Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 5
607 Group: Development/Libraries
608 Requires: %{name}-qt5-devel = %{version}-%{release}
610 %description qt5-static
611 Static Avahi Qt 5 library.
613 %description qt5-static -l pl.UTF-8
614 Statyczna biblioteka Avahi Qt 5.
616 %package -n python-avahi
617 Summary: Avahi Python bindings
618 Summary(pl.UTF-8): Wiązania Avahi dla Pythona
619 Group: Development/Languages/Python
620 Requires: %{name}-libs = %{version}-%{release}
621 Requires: python-dbus >= 0.71
623 %description -n python-avahi
624 Avahi Python bindings.
626 %description -n python-avahi -l pl.UTF-8
627 Wiązania Avahi dla Pythona.
629 %package -n dotnet-avahi
630 Summary: Avahi MONO bindings
631 Summary(pl.UTF-8): Wiązania Avahi dla MONO
633 Requires: %{name}-libs = %{version}-%{release}
635 %description -n dotnet-avahi
638 %description -n dotnet-avahi -l pl.UTF-8
639 Wiązania Avahi dla MONO.
641 %package -n dotnet-avahi-devel
642 Summary: Development files for MONO Avahi bindings
643 Summary(pl.UTF-8): Pliki rozwojowe wiązań Avahi dla MONO
644 Group: Development/Libraries
645 Requires: dotnet-avahi = %{version}-%{release}
646 Requires: monodoc >= 2.6
648 %description -n dotnet-avahi-devel
649 Development files for MONO Avahi bindings.
651 %description -n dotnet-avahi-devel -l pl.UTF-8
652 Pliki rozwojowe wiązań Avahi dla MONO.
654 %package -n dotnet-avahi-ui
655 Summary: Avahi UI MONO bindings
656 Summary(pl.UTF-8): Wiązania Avahi UI dla MONO
658 Requires: %{name}-ui = %{version}-%{release}
659 Requires: dotnet-avahi = %{version}-%{release}
661 %description -n dotnet-avahi-ui
662 Avahi UI MONO bindings.
664 %description -n dotnet-avahi-ui -l pl.UTF-8
665 Wiązania Avahi UI dla MONO.
667 %package -n dotnet-avahi-ui-devel
668 Summary: Development files for MONO Avahi UI bindings
669 Summary(pl.UTF-8): Pliki rozwojowe wiązań Avahi UI dla MONO
670 Group: X11/Development/Libraries
671 Requires: dotnet-avahi-ui = %{version}-%{release}
672 Requires: monodoc >= 2.6
674 %description -n dotnet-avahi-ui-devel
675 Development files for MONO Avahi UI bindings.
677 %description -n dotnet-avahi-ui-devel -l pl.UTF-8
678 Pliki rozwojowe wiązań Avahi UI dla MONO.
681 Summary: Miniature web server
682 Summary(pl.UTF-8): Miniaturowy serwer WWW
683 Group: Applications/Networking
685 %description bookmarks
686 A Python based miniature web server that browses for mDNS/DNS-SD
687 services of type '_http._tcp' (i.e. web sites) and makes them
688 available as HTML links on http://localhost:8080/.
690 %description bookmarks -l pl.UTF-8
691 Napisany w Pythonie miniaturowy serwer WWW, pozwalający na
692 przeglądanie usług typu '_http._tcp' (np. stron WWW) i udostępniający
693 je jako odnośniki HTML na http://localhost:8080/.
696 Summary: Avahi Zeroconf browser
697 Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi
698 Group: X11/Applications/Networking
699 Requires: gtk+3 >= 3.0
700 Requires: python-avahi = %{version}-%{release}
701 Requires: python-pygobject3 >= 3.0
703 %description discover
704 A tool for enumerating all available services on the local LAN
705 (Python/PyGObject implementation).
707 %description discover -l pl.UTF-8
708 Narzędzie wymieniające wszystkie dostępne usługi w sieci lokalnej LAN
709 (implementacja oparta na szkielecie Python/PyGObject).
711 %package discover-standalone
712 Summary: Avahi Zeroconf browser
713 Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi
714 Group: X11/Applications/Networking
715 Requires: %{name}-glib = %{version}-%{release}
717 Requires: gtk+3 >= 3.0.0
719 Requires: gtk+2 >= 2:2.14.0
722 %description discover-standalone
723 GTK+ tool for enumerating all available services on the local LAN.
725 %description discover-standalone -l pl.UTF-8
726 Narzędzie GTK+ wymieniające wszystkie dostępne usługi w sieci lokalnej
730 Summary: Avahi SSH/VNC servers browser
731 Summary(pl.UTF-8): Przeglądarka serwerów SSH/VNC oparta na Avahi
732 Group: X11/Applications/Networking
734 Requires: %{name}-ui-gtk3 = %{version}-%{release}
736 Requires: %{name}-ui = %{version}-%{release}
740 bshell/bssh/bvnc browses for SSH/VNC servers on the local network,
741 shows them in a GUI for the user to select one and finally calls
742 ssh/vncviewer after a selection was made.
744 %description bshell -l pl.UTF-8
745 bshell/bssh/bvnc pozwala przeglądać serwery SSH/VNC w sieci lokalnej,
746 pokazywać je w graficznym interfejsie, aby któryś wybrać i wywołać
747 dla niego ssh/vncviewer.
750 Summary: Avahi CLI utilities
751 Summary(pl.UTF-8): Narzędzia CLI Avahi
752 Group: Applications/Networking
755 Command line utilities using avahi-client.
757 %description utils -l pl.UTF-8
758 Narzędzia linii poleceń korzystające z avahi-client.
776 %{__aclocal} -I common
782 --enable-compat-libdns_sd \
783 --enable-compat-howl \
784 %{!?with_apidocs:--disable-doxygen-doc} \
785 %{?with_gtk2:--enable-gtk} \
786 %{!?with_gtk3:--disable-gtk3} \
787 %{!?with_pygobject:--disable-pygobject} \
788 %{!?with_libevent:--disable-libevent} \
789 %{!?with_dotnet:--disable-mono} \
790 %{!?with_dotnet:--disable-monodoc} \
791 %{?with_qt3:--enable-qt3} \
792 %{?with_qt4:--enable-qt4} \
793 %{!?with_qt5:--disable-qt5} \
794 --disable-silent-rules \
795 --disable-stack-protector \
796 --with-autoipd-user=avahi \
797 --with-autoipd-group=avahi \
798 --with-avahi-priv-access-group=adm \
800 --with-systemdsystemunitdir=%{systemdunitdir}
805 rm -rf $RPM_BUILD_ROOT
806 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},/etc/rc.d/init.d}
809 DESTDIR=$RPM_BUILD_ROOT \
810 pythondir=%{py_sitedir}
812 install -p %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d
813 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
815 ln -sf %{_includedir}/avahi-compat-libdns_sd/dns_sd.h \
816 $RPM_BUILD_ROOT%{_includedir}/dns_sd.h
818 ln -sf %{_pkgconfigdir}/avahi-compat-howl.pc \
819 $RPM_BUILD_ROOT%{_pkgconfigdir}/howl.pc
821 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
822 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
825 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/avahi-{browse-domains,publish-address,publish-service,resolve-address,resolve-host-name}.1
826 echo '.so avahi-browse.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-browse-domains.1
827 echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-address.1
828 echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-service.1
829 echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-address.1
830 echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-host-name.1
831 %if %{with gtk2} || %{with gtk3}
832 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/bvnc.1
833 echo '.so bssh.1' > $RPM_BUILD_ROOT%{_mandir}/man1/bvnc.1
834 echo '.so bssh.1' > $RPM_BUILD_ROOT%{_mandir}/man1/bshell.1
837 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
842 rm -rf $RPM_BUILD_ROOT
845 %groupadd -g 165 -r -f avahi
846 %useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi
849 %groupadd -g 165 -r -f avahi
850 %useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi
853 /sbin/chkconfig --add %{name}-daemon
854 %service %{name}-daemon restart
855 /sbin/chkconfig --add %{name}-dnsconfd
856 %service %{name}-dnsconfd restart
857 %systemd_post avahi-daemon.service avahi-dnsconfd.service avahi-daemon.socket
860 if [ "$1" = "0" ]; then
861 %service -q %{name}-dnsconfd stop
862 /sbin/chkconfig --del %{name}-dnsconfd
863 %service -q %{name}-daemon stop
864 /sbin/chkconfig --del %{name}-daemon
866 %systemd_preun avahi-daemon.service avahi-dnsconfd.service avahi-daemon.socket
869 if [ "$1" = "0" ]; then
875 %triggerpostun -- avahi < 0.6.30-7
876 %systemd_trigger avahi-daemon.service avahi-dnsconfd.service avahi-daemon.socket
879 if [ "$1" = "0" ]; then
884 %post libs -p /sbin/ldconfig
885 %postun libs -p /sbin/ldconfig
887 %post ui -p /sbin/ldconfig
888 %postun ui -p /sbin/ldconfig
890 %post ui-gtk3 -p /sbin/ldconfig
891 %postun ui-gtk3 -p /sbin/ldconfig
893 %post compat-libdns_sd -p /sbin/ldconfig
894 %postun compat-libdns_sd -p /sbin/ldconfig
896 %post compat-howl -p /sbin/ldconfig
897 %postun compat-howl -p /sbin/ldconfig
899 %post glib -p /sbin/ldconfig
900 %postun glib -p /sbin/ldconfig
902 %post gobject -p /sbin/ldconfig
903 %postun gobject -p /sbin/ldconfig
905 %post libevent -p /sbin/ldconfig
906 %postun libevent -p /sbin/ldconfig
908 %post qt3 -p /sbin/ldconfig
909 %postun qt3 -p /sbin/ldconfig
911 %post qt4 -p /sbin/ldconfig
912 %postun qt4 -p /sbin/ldconfig
914 %post qt5 -p /sbin/ldconfig
915 %postun qt5 -p /sbin/ldconfig
918 %defattr(644,root,root,755)
919 %doc docs/AUTHORS docs/COMPAT-LAYERS docs/NEWS docs/README docs/TODO
921 %dir %{_sysconfdir}/avahi
922 %dir %{_sysconfdir}/avahi/services
923 %attr(755,root,root) %{_sysconfdir}/avahi/avahi-dnsconfd.action
924 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-daemon.conf
925 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/hosts
926 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/ssh.service
927 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/sftp-ssh.service
928 %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/avahi-dbus.conf
930 %{systemdunitdir}/avahi-daemon.service
931 %{systemdunitdir}/avahi-daemon.socket
932 %{systemdunitdir}/avahi-dnsconfd.service
933 %{_datadir}/dbus-1/system-services/org.freedesktop.Avahi.service
935 %attr(755,root,root) %{_bindir}/avahi-set-host-name
937 %attr(755,root,root) %{_sbindir}/avahi-daemon
938 %attr(755,root,root) %{_sbindir}/avahi-dnsconfd
939 %dir %{_libdir}/%{name}
940 %{_libdir}/%{name}/service-types.db
941 %{_datadir}/%{name}/avahi-service.dtd
942 %{_datadir}/dbus-1/interfaces/org.freedesktop.Avahi.*.xml
944 %{_mandir}/man1/avahi-set-host-name.1*
945 %{_mandir}/man5/avahi-daemon.conf.5*
946 %{_mandir}/man5/avahi.hosts.5*
947 %{_mandir}/man5/avahi.service.5*
948 %{_mandir}/man8/avahi-daemon.8*
949 %{_mandir}/man8/avahi-dnsconfd.8*
950 %{_mandir}/man8/avahi-dnsconfd.action.8*
952 %attr(754,root,root) /etc/rc.d/init.d/%{name}-daemon
953 %attr(754,root,root) /etc/rc.d/init.d/%{name}-dnsconfd
956 %defattr(644,root,root,755)
957 %dir %{_sysconfdir}/avahi
958 %attr(755,root,root) %{_sysconfdir}/%{name}/avahi-autoipd.action
959 %config(noreplace) %verify(not md5 mtime size) /etc/dhclient-enter-hooks.d/avahi-autoipd
960 %config(noreplace) %verify(not md5 mtime size) /etc/dhclient-exit-hooks.d/avahi-autoipd
961 %attr(755,root,root) %{_sbindir}/avahi-autoipd
962 %{_mandir}/man8/avahi-autoipd.8*
963 %{_mandir}/man8/avahi-autoipd.action.8*
965 %files libs -f %{name}.lang
966 %defattr(644,root,root,755)
967 %attr(755,root,root) %{_libdir}/libavahi-client.so.*.*.*
968 %attr(755,root,root) %ghost %{_libdir}/libavahi-client.so.3
969 %attr(755,root,root) %{_libdir}/libavahi-common.so.*.*.*
970 %attr(755,root,root) %ghost %{_libdir}/libavahi-common.so.3
971 %attr(755,root,root) %{_libdir}/libavahi-core.so.*.*.*
972 %attr(755,root,root) %ghost %{_libdir}/libavahi-core.so.7
973 # common for -discover*
974 %dir %{_datadir}/%{name}
975 %dir %{_datadir}/%{name}/interfaces
978 %defattr(644,root,root,755)
979 %doc docs/API-CHANGES-0.6 docs/DBUS-API docs/HACKING docs/MALLOC
980 %attr(755,root,root) %{_libdir}/libavahi-client.so
981 %attr(755,root,root) %{_libdir}/libavahi-common.so
982 %attr(755,root,root) %{_libdir}/libavahi-core.so
983 %{_includedir}/avahi-client
984 %{_includedir}/avahi-common
985 %{_includedir}/avahi-core
986 %{_pkgconfigdir}/avahi-client.pc
987 %{_pkgconfigdir}/avahi-core.pc
990 %defattr(644,root,root,755)
991 %{_libdir}/libavahi-client.a
992 %{_libdir}/libavahi-common.a
993 %{_libdir}/libavahi-core.a
997 %defattr(644,root,root,755)
998 %attr(755,root,root) %{_libdir}/libavahi-ui.so.*.*.*
999 %attr(755,root,root) %ghost %{_libdir}/libavahi-ui.so.0
1002 %defattr(644,root,root,755)
1003 %attr(755,root,root) %{_libdir}/libavahi-ui.so
1004 %{_pkgconfigdir}/avahi-ui.pc
1007 %defattr(644,root,root,755)
1008 %{_libdir}/libavahi-ui.a
1011 %if %{with gtk2} || %{with gtk3}
1012 %files ui-devel-common
1013 %defattr(644,root,root,755)
1014 %{_includedir}/avahi-ui
1019 %defattr(644,root,root,755)
1020 %attr(755,root,root) %{_libdir}/libavahi-ui-gtk3.so.*.*.*
1021 %attr(755,root,root) %ghost %{_libdir}/libavahi-ui-gtk3.so.0
1023 %files ui-gtk3-devel
1024 %defattr(644,root,root,755)
1025 %attr(755,root,root) %{_libdir}/libavahi-ui-gtk3.so
1026 %{_pkgconfigdir}/avahi-ui-gtk3.pc
1028 %files ui-gtk3-static
1029 %defattr(644,root,root,755)
1030 %{_libdir}/libavahi-ui-gtk3.a
1033 %files compat-libdns_sd
1034 %defattr(644,root,root,755)
1035 %attr(755,root,root) %{_libdir}/libdns_sd.so.*.*.*
1036 %attr(755,root,root) %ghost %{_libdir}/libdns_sd.so.1
1038 %files compat-libdns_sd-devel
1039 %defattr(644,root,root,755)
1040 %attr(755,root,root) %{_libdir}/libdns_sd.so
1041 %{_includedir}/avahi-compat-libdns_sd
1042 %{_includedir}/dns_sd.h
1043 %{_pkgconfigdir}/avahi-compat-libdns_sd.pc
1045 %files compat-libdns_sd-static
1046 %defattr(644,root,root,755)
1047 %{_libdir}/libdns_sd.a
1050 %defattr(644,root,root,755)
1051 %attr(755,root,root) %{_libdir}/libhowl.so.*.*.*
1052 %attr(755,root,root) %ghost %{_libdir}/libhowl.so.0
1054 %files compat-howl-devel
1055 %defattr(644,root,root,755)
1056 %attr(755,root,root) %{_libdir}/libhowl.so
1057 %{_includedir}/avahi-compat-howl
1058 %{_pkgconfigdir}/avahi-compat-howl.pc
1059 %{_pkgconfigdir}/howl.pc
1061 %files compat-howl-static
1062 %defattr(644,root,root,755)
1063 %{_libdir}/libhowl.a
1065 %files -n python-avahi
1066 %defattr(644,root,root,755)
1070 %files -n dotnet-avahi
1071 %defattr(644,root,root,755)
1072 %{_prefix}/lib/mono/gac/avahi-sharp
1074 %files -n dotnet-avahi-devel
1075 %defattr(644,root,root,755)
1076 %{_prefix}/lib/mono/avahi-sharp
1077 %{_prefix}/lib/monodoc/sources/avahi-sharp-docs.*
1078 %{_pkgconfigdir}/avahi-sharp.pc
1080 %files -n dotnet-avahi-ui
1081 %defattr(644,root,root,755)
1082 %{_prefix}/lib/mono/gac/avahi-ui-sharp
1084 %files -n dotnet-avahi-ui-devel
1085 %defattr(644,root,root,755)
1086 %{_prefix}/lib/mono/avahi-ui-sharp
1087 %{_prefix}/lib/monodoc/sources/avahi-ui-sharp-docs.*
1088 %{_pkgconfigdir}/avahi-ui-sharp.pc
1092 %defattr(644,root,root,755)
1093 %attr(755,root,root) %{_libdir}/libavahi-glib.so.*.*.*
1094 %attr(755,root,root) %ghost %{_libdir}/libavahi-glib.so.1
1097 %defattr(644,root,root,755)
1098 %attr(755,root,root) %{_libdir}/libavahi-glib.so
1099 %{_includedir}/avahi-glib
1100 %{_pkgconfigdir}/avahi-glib.pc
1103 %defattr(644,root,root,755)
1104 %{_libdir}/libavahi-glib.a
1107 %defattr(644,root,root,755)
1108 %attr(755,root,root) %{_libdir}/libavahi-gobject.so.*.*.*
1109 %attr(755,root,root) %ghost %{_libdir}/libavahi-gobject.so.0
1110 %{_libdir}/girepository-1.0/Avahi-0.6.typelib
1111 %{_libdir}/girepository-1.0/AvahiCore-0.6.typelib
1113 %files gobject-devel
1114 %defattr(644,root,root,755)
1115 %attr(755,root,root) %{_libdir}/libavahi-gobject.so
1116 %{_includedir}/avahi-gobject
1117 %{_pkgconfigdir}/avahi-gobject.pc
1118 %{_datadir}/gir-1.0/Avahi-0.6.gir
1119 %{_datadir}/gir-1.0/AvahiCore-0.6.gir
1121 %files gobject-static
1122 %defattr(644,root,root,755)
1123 %{_libdir}/libavahi-gobject.a
1125 %if %{with libevent}
1127 %defattr(644,root,root,755)
1128 %attr(755,root,root) %{_libdir}/libavahi-libevent.so.*.*.*
1129 %attr(755,root,root) %ghost %{_libdir}/libavahi-libevent.so.1
1131 %files libevent-devel
1132 %defattr(644,root,root,755)
1133 %attr(755,root,root) %{_libdir}/libavahi-libevent.so
1134 %{_includedir}/avahi-libevent
1135 %{_pkgconfigdir}/avahi-libevent.pc
1137 %files libevent-static
1138 %defattr(644,root,root,755)
1139 %{_libdir}/libavahi-libevent.a
1144 %defattr(644,root,root,755)
1145 %attr(755,root,root) %{_libdir}/libavahi-qt3.so.*.*.*
1146 %attr(755,root,root) %ghost %{_libdir}/libavahi-qt3.so.1
1149 %defattr(644,root,root,755)
1150 %attr(755,root,root) %{_libdir}/libavahi-qt3.so
1151 %{_includedir}/avahi-qt3
1152 %{_pkgconfigdir}/avahi-qt3.pc
1155 %defattr(644,root,root,755)
1156 %{_libdir}/libavahi-qt3.a
1161 %defattr(644,root,root,755)
1162 %attr(755,root,root) %{_libdir}/libavahi-qt4.so.*.*.*
1163 %attr(755,root,root) %ghost %{_libdir}/libavahi-qt4.so.1
1166 %defattr(644,root,root,755)
1167 %attr(755,root,root) %{_libdir}/libavahi-qt4.so
1168 %{_includedir}/avahi-qt4
1169 %{_pkgconfigdir}/avahi-qt4.pc
1172 %defattr(644,root,root,755)
1173 %{_libdir}/libavahi-qt4.a
1178 %defattr(644,root,root,755)
1179 %attr(755,root,root) %{_libdir}/libavahi-qt5.so.*.*.*
1180 %attr(755,root,root) %ghost %{_libdir}/libavahi-qt5.so.1
1183 %defattr(644,root,root,755)
1184 %attr(755,root,root) %{_libdir}/libavahi-qt5.so
1185 %{_includedir}/avahi-qt5
1186 %{_pkgconfigdir}/avahi-qt5.pc
1189 %defattr(644,root,root,755)
1190 %{_libdir}/libavahi-qt5.a
1194 %defattr(644,root,root,755)
1195 %attr(755,root,root) %{_bindir}/avahi-bookmarks
1196 %{_mandir}/man1/avahi-bookmarks.1*
1198 %if %{with pygobject}
1200 %defattr(644,root,root,755)
1201 %attr(755,root,root) %{_bindir}/avahi-discover
1202 %{_datadir}/%{name}/interfaces/avahi-discover.ui
1203 %{_desktopdir}/avahi-discover.desktop
1204 %{_pixmapsdir}/avahi.png
1205 %{_mandir}/man1/avahi-discover.1*
1208 %if %{with gtk2} || %{with gtk3}
1209 %files discover-standalone
1210 %defattr(644,root,root,755)
1211 %attr(755,root,root) %{_bindir}/avahi-discover-standalone
1214 %defattr(644,root,root,755)
1215 %attr(755,root,root) %{_bindir}/bshell
1216 %attr(755,root,root) %{_bindir}/bssh
1217 %attr(755,root,root) %{_bindir}/bvnc
1218 %{_mandir}/man1/bshell.1*
1219 %{_mandir}/man1/bssh.1*
1220 %{_mandir}/man1/bvnc.1*
1221 %{_desktopdir}/bssh.desktop
1222 %{_desktopdir}/bvnc.desktop
1226 %defattr(644,root,root,755)
1227 %attr(755,root,root) %{_bindir}/avahi-browse
1228 %attr(755,root,root) %{_bindir}/avahi-browse-domains
1229 %attr(755,root,root) %{_bindir}/avahi-publish
1230 %attr(755,root,root) %{_bindir}/avahi-publish-address
1231 %attr(755,root,root) %{_bindir}/avahi-publish-service
1232 %attr(755,root,root) %{_bindir}/avahi-resolve
1233 %attr(755,root,root) %{_bindir}/avahi-resolve-address
1234 %attr(755,root,root) %{_bindir}/avahi-resolve-host-name
1235 %{_mandir}/man1/avahi-browse.1*
1236 %{_mandir}/man1/avahi-browse-domains.1*
1237 %{_mandir}/man1/avahi-publish.1*
1238 %{_mandir}/man1/avahi-publish-address.1*
1239 %{_mandir}/man1/avahi-publish-service.1*
1240 %{_mandir}/man1/avahi-resolve.1*
1241 %{_mandir}/man1/avahi-resolve-address.1*
1242 %{_mandir}/man1/avahi-resolve-host-name.1*