]> git.pld-linux.org Git - SPECS.git/blob - avahi.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / avahi.spec
1 # TODO
2 # - finish with_apidocs
3 #
4 # Conditional build:
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
15
16 %ifnarch %{ix86} %{x8664} alpha %{arm} hppa ia64 mips ppc s390 s390x sparc sparcv9
17 %undefine with_dotnet
18 %endif
19 %ifarch i386
20 %undefine with_dotnet
21 %endif
22
23 %if %{without qt}
24 %undefine       with_qt3
25 %undefine       with_qt4
26 %undefine       with_qt5
27 %endif
28
29 # see http://lists.pld-linux.org/mailman/pipermail/pld-devel-pl/2012-October/155984.html
30 %undefine _ssp_cflags
31
32 Summary:        Free mDNS/DNS-SD/Zeroconf implementation
33 Summary(pl.UTF-8):      Wolna implementacja mDNS/DNS-SD/Zeroconf
34 Name:           avahi
35 Version:        0.8
36 Release:        2
37 License:        LGPL v2.1+
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
44 Source3:        %{name}.png
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
60 %if %{with apidocs}
61 BuildRequires:  doxygen
62 # for the 'dot' tool used by doxygen
63 BuildRequires:  graphviz
64 %endif
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
70 %if %{with gtk2}
71 BuildRequires:  gtk+2-devel >= 2:2.14.0
72 %endif
73 %if %{with gtk3}
74 BuildRequires:  glib2-devel >= 1:2.28.0
75 BuildRequires:  gtk+3-devel >= 3.0.0
76 %endif
77 BuildRequires:  libcap-devel
78 BuildRequires:  libdaemon-devel >= 0.14
79 %{?with_libevent:BuildRequires: libevent-devel >= 2.0.21}
80 BuildRequires:  libtool
81 %if %{with dotnet}
82 BuildRequires:  dotnet-gtk-sharp2-devel >= 2.10
83 BuildRequires:  mono-csharp
84 BuildRequires:  monodoc >= 2.6
85 %endif
86 BuildRequires:  pkgconfig
87 BuildRequires:  python >= 1:2.6
88 BuildRequires:  python-dbus >= 0.71
89 %{?with_pygobject:BuildRequires:        python-pygobject3-devel >= 3.0}
90 %if %{with qt3}
91 BuildRequires:  qt-devel >= 1:3.0
92 %endif
93 %if %{with qt4}
94 BuildRequires:  QtCore-devel >= 4.0.0
95 BuildRequires:  qt4-build >= 4.0.0
96 %endif
97 %if %{with qt5}
98 BuildRequires:  Qt5Core-devel >= 5.0.0
99 BuildRequires:  qt5-build >= 5.0.0
100 %endif
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)
116
117 %description
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.
121
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.
126
127 %package autoipd
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)
139
140 %description autoipd
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.
146
147 IPv4LL is part of the Zeroconf stack.
148
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.
154
155 IPv4LL jest częścią stosu Zeroconf.
156
157 %package libs
158 Summary:        Avahi client, common and core libraries
159 Summary(pl.UTF-8):      Biblioteki Avahi: klienta, wspólna i główna
160 Group:          Libraries
161
162 %description libs
163 Avahi client, common and core libraries.
164
165 %description libs -l pl.UTF-8
166 Biblioteki Avahi: klienta, wspólna i główna.
167
168 %package devel
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
175
176 %description devel
177 This is the package containing the header files for Avahi library.
178
179 %description devel -l pl.UTF-8
180 Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi.
181
182 %package static
183 Summary:        Static Avahi library
184 Summary(pl.UTF-8):      Statyczna biblioteka Avahi
185 Group:          Development/Libraries
186 Requires:       %{name}-devel = %{version}-%{release}
187
188 %description static
189 Static Avahi library.
190
191 %description static -l pl.UTF-8
192 Statyczna biblioteka Avahi.
193
194 %package ui
195 Summary:        Avahi UI library
196 Summary(pl.UTF-8):      Biblioteka Avahi UI
197 Group:          X11/Libraries
198 Requires:       %{name}-libs = %{version}-%{release}
199 Requires:       gtk+2 >= 2:2.14.0
200
201 %description ui
202 Common GTK+ UI support library for Avahi.
203
204 %description ui -l pl.UTF-8
205 Biblioteka wspólnego interfejsu użytkownika GTK+ dla Avahi.
206
207 %package ui-devel
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
215
216 %description ui-devel
217 Header files for Avahi UI library.
218
219 %description ui-devel -l pl.UTF-8
220 Pliki nagłówkowe biblioteki Avahi UI.
221
222 %package ui-static
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}
227
228 %description ui-static
229 Static Avahi UI library.
230
231 %description ui-static -l pl.UTF-8
232 Statyczna biblioteka Avahi UI.
233
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}
239
240 %description ui-devel-common
241 Header files for Avahi UI library.
242
243 %description ui-devel-common -l pl.UTF-8
244 Pliki nagłówkowe biblioteki Avahi GTK+ UI.
245
246 %package ui-gtk3
247 Summary:        Avahi UI library - GTK+ 3.x version
248 Summary(pl.UTF-8):      Biblioteka Avahi UI - wersja dla GTK+ 3.x
249 Group:          X11/Libraries
250 Requires:       %{name}-libs = %{version}-%{release}
251 Requires:       glib2 >= 1:2.28.0
252 Requires:       gtk+3 >= 3.0.0
253
254 %description ui-gtk3
255 Common GTK+ 3.x UI support library for Avahi.
256
257 %description ui-gtk3 -l pl.UTF-8
258 Biblioteka wspólnego interfejsu użytkownika GTK+ 3.x dla Avahi.
259
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
269
270 %description ui-gtk3-devel
271 Header files for Avahi GTK+ 3.x UI library.
272
273 %description ui-devel -l pl.UTF-8
274 Pliki nagłówkowe biblioteki Avahi GTK+ 3.x UI.
275
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}
281
282 %description ui-gtk3-static
283 Static Avahi GTK+ 3.x UI library.
284
285 %description ui-gtk3-static -l pl.UTF-8
286 Statyczna biblioteka Avahi GTK+ 3.x UI.
287
288 %package compat-libdns_sd
289 Summary:        Avahi Bonjour compat library
290 Summary(pl.UTF-8):      Biblioteka Avahi zgodna z Bonjour
291 Group:          Libraries
292 Requires:       %{name}-libs = %{version}-%{release}
293 Provides:       mdns-bonjour
294 Obsoletes:      mDNSResponder-libs
295
296 %description compat-libdns_sd
297 Avahi Bonjour compat library.
298
299 %description compat-libdns_sd -l pl.UTF-8
300 Biblioteka Avahi zgodna z Bonjour.
301
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
310
311 %description compat-libdns_sd-devel
312 Header files for Avahi Bonjour compat library.
313
314 %description compat-libdns_sd-devel -l pl.UTF-8
315 Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour.
316
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
323
324 %description compat-libdns_sd-static
325 Static Avahi Bonjour compat library.
326
327 %description compat-libdns_sd-static -l pl.UTF-8
328 Statyczna biblioteka Avahi zgodna z Bonjour.
329
330 %package compat-howl
331 Summary:        Avahi Howl compat library
332 Summary(pl.UTF-8):      Biblioteka Avahi zgodna z Howl
333 Group:          Libraries
334 Provides:       mdns-howl-libs
335 Obsoletes:      howl-libs
336
337 %description compat-howl
338 Avahi Howl compat library.
339
340 %description compat-howl -l pl.UTF-8
341 Biblioteka Avahi zgodna z Howl.
342
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
351
352 %description compat-howl-devel
353 Header files for Avahi Howl compat library.
354
355 %description compat-howl-devel -l pl.UTF-8
356 Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl.
357
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
365
366 %description compat-howl-static
367 Static Avahi Howl compat library.
368
369 %description compat-howl-static -l pl.UTF-8
370 Statyczna biblioteka Avahi zgodna z Howl.
371
372 %package glib
373 Summary:        Avahi GLib library bindings
374 Summary(pl.UTF-8):      Wiązania Avahi dla bibioteki GLib
375 Group:          Libraries
376 Requires:       %{name}-libs = %{version}-%{release}
377 Requires:       glib2 >= 1:2.12.2
378
379 %description glib
380 Avahi GLib library bindings.
381
382 %description glib -l pl.UTF-8
383 Wiązania Avahi dla bibioteki GLib.
384
385 %package glib-devel
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
392
393 %description glib-devel
394 This is the package containing the header files for Avahi-glib
395 library.
396
397 %description glib-devel -l pl.UTF-8
398 Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi-glib.
399
400 %package glib-static
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}
405
406 %description glib-static
407 Static Avahi GLib library.
408
409 %description glib-static -l pl.UTF-8
410 Statyczna biblioteka Avahi GLib.
411
412 %package gobject
413 Summary:        Avahi GObject interface
414 Summary(pl.UTF-8):      Interfejs GObject do Avahi
415 Group:          Libraries
416 Requires:       %{name}-glib = %{version}-%{release}
417
418 %description gobject
419 Avahi GObject interface.
420
421 %description gobject -l pl.UTF-8
422 Interfejs GObject do Avahi.
423
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}
430
431 %description gobject-devel
432 This is the package containing the header files for Avahi GObject
433 interface.
434
435 %description gobject-devel -l pl.UTF-8
436 Ten pakiet zawiera pliki nagłówkowe interfejsu GObject do Avahi.
437
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}
443
444 %description gobject-static
445 Static Avahi GObject library.
446
447 %description gobject-static -l pl.UTF-8
448 Statyczna biblioteka Avahi GObject.
449
450 %package libevent
451 Summary:        Avahi libevent support library
452 Summary(pl.UTF-8):      Wiązania Avahi obsługująca libevent
453 Group:          Libraries
454 Requires:       %{name}-libs = %{version}-%{release}
455 Requires:       libevent >= 2.0.21
456
457 %description libevent
458 Avahi libevent support library.
459
460 %description libevent -l pl.UTF-8
461 Biblioteka Avahi obsługująca libevent.
462
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
470
471 %description libevent-devel
472 This is the package containing the header files for Avahi libevent
473 library.
474
475 %description libevent-devel -l pl.UTF-8
476 Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi libevent.
477
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}
483
484 %description libevent-static
485 Static Avahi libevent library.
486
487 %description libevent-static -l pl.UTF-8
488 Statyczna biblioteka Avahi libevent.
489
490 %package qt3
491 Summary:        Avahi Qt 3 library bindings
492 Summary(pl.UTF-8):      Wiązania Avahi dla biblioteki Qt 3
493 Group:          Libraries
494 Requires:       %{name}-libs = %{version}-%{release}
495 Provides:       avahi-qt = %{version}-%{release}
496 Obsoletes:      avahi-qt < 0.8
497
498 %description qt3
499 Avahi Qt 3 library bindings.
500
501 %description qt3 -l pl.UTF-8
502 Wiązania Avahi dla biblioteki Qt 3.
503
504 %package qt3-devel
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
513
514 %description qt3-devel
515 Header files for Avahi Qt 3 library bindings.
516
517 %description qt3-devel -l pl.UTF-8
518 Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3.
519
520 %package qt3-static
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
527
528 %description qt3-static
529 Static Avahi Qt 3 library.
530
531 %description qt3-static -l pl.UTF-8
532 Statyczna biblioteka Avahi Qt 3.
533
534 %package qt4
535 Summary:        Avahi Qt 4 library bindings
536 Summary(pl.UTF-8):      Wiązania Avahi dla biblioteki Qt 4
537 Group:          Libraries
538 Requires:       %{name}-libs = %{version}-%{release}
539 Provides:       avahi-Qt = %{version}-%{release}
540 Obsoletes:      avahi-Qt < 0.8
541
542 %description qt4
543 Avahi Qt 4 library bindings.
544
545 %description qt4 -l pl.UTF-8
546 Wiązania Avahi dla biblioteki Qt 4.
547
548 %package qt4-devel
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
557
558 %description qt4-devel
559 Header files for Avahi Qt 4 library bindings.
560
561 %description qt4-devel -l pl.UTF-8
562 Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4.
563
564 %package qt4-static
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
571
572 %description qt4-static
573 Static Avahi Qt 4 library.
574
575 %description qt4-static -l pl.UTF-8
576 Statyczna biblioteka Avahi Qt 4.
577
578 %package qt5
579 Summary:        Avahi Qt 5 library bindings
580 Summary(pl.UTF-8):      Wiązania Avahi dla biblioteki Qt 5
581 Group:          Libraries
582 Requires:       %{name}-libs = %{version}-%{release}
583
584 %description qt5
585 Avahi Qt 5 library bindings.
586
587 %description qt5 -l pl.UTF-8
588 Wiązania Avahi dla biblioteki Qt 5.
589
590 %package qt5-devel
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
597
598 %description qt5-devel
599 Header files for Avahi Qt 5 library bindings.
600
601 %description qt5-devel -l pl.UTF-8
602 Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 5.
603
604 %package qt5-static
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}
609
610 %description qt5-static
611 Static Avahi Qt 5 library.
612
613 %description qt5-static -l pl.UTF-8
614 Statyczna biblioteka Avahi Qt 5.
615
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
622
623 %description -n python-avahi
624 Avahi Python bindings.
625
626 %description -n python-avahi -l pl.UTF-8
627 Wiązania Avahi dla Pythona.
628
629 %package -n dotnet-avahi
630 Summary:        Avahi MONO bindings
631 Summary(pl.UTF-8):      Wiązania Avahi dla MONO
632 Group:          Libraries
633 Requires:       %{name}-libs = %{version}-%{release}
634
635 %description -n dotnet-avahi
636 Avahi MONO bindings.
637
638 %description -n dotnet-avahi -l pl.UTF-8
639 Wiązania Avahi dla MONO.
640
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
647
648 %description -n dotnet-avahi-devel
649 Development files for MONO Avahi bindings.
650
651 %description -n dotnet-avahi-devel -l pl.UTF-8
652 Pliki rozwojowe wiązań Avahi dla MONO.
653
654 %package -n dotnet-avahi-ui
655 Summary:        Avahi UI MONO bindings
656 Summary(pl.UTF-8):      Wiązania Avahi UI dla MONO
657 Group:          X11/Libraries
658 Requires:       %{name}-ui = %{version}-%{release}
659 Requires:       dotnet-avahi = %{version}-%{release}
660
661 %description -n dotnet-avahi-ui
662 Avahi UI MONO bindings.
663
664 %description -n dotnet-avahi-ui -l pl.UTF-8
665 Wiązania Avahi UI dla MONO.
666
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
673
674 %description -n dotnet-avahi-ui-devel
675 Development files for MONO Avahi UI bindings.
676
677 %description -n dotnet-avahi-ui-devel -l pl.UTF-8
678 Pliki rozwojowe wiązań Avahi UI dla MONO.
679
680 %package bookmarks
681 Summary:        Miniature web server
682 Summary(pl.UTF-8):      Miniaturowy serwer WWW
683 Group:          Applications/Networking
684
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/.
689
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/.
694
695 %package discover
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
702
703 %description discover
704 A tool for enumerating all available services on the local LAN
705 (Python/PyGObject implementation).
706
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).
710
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}
716 %if %{with gtk3}
717 Requires:       gtk+3 >= 3.0.0
718 %else
719 Requires:       gtk+2 >= 2:2.14.0
720 %endif
721
722 %description discover-standalone
723 GTK+ tool for enumerating all available services on the local LAN.
724
725 %description discover-standalone -l pl.UTF-8
726 Narzędzie GTK+ wymieniające wszystkie dostępne usługi w sieci lokalnej
727 LAN.
728
729 %package bshell
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
733 %if %{with gtk3}
734 Requires:       %{name}-ui-gtk3 = %{version}-%{release}
735 %else
736 Requires:       %{name}-ui = %{version}-%{release}
737 %endif
738
739 %description bshell
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.
743
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.
748
749 %package utils
750 Summary:        Avahi CLI utilities
751 Summary(pl.UTF-8):      Narzędzia CLI Avahi
752 Group:          Applications/Networking
753
754 %description utils
755 Command line utilities using avahi-client.
756
757 %description utils -l pl.UTF-8
758 Narzędzia linii poleceń korzystające z avahi-client.
759
760 %prep
761 %setup -q
762 %patch0 -p1
763 %patch1 -p1
764 %patch2 -p1
765 %patch3 -p1
766 %patch4 -p1
767 %patch5 -p1
768 %patch6 -p1
769 %patch7 -p1
770 %patch8 -p1
771 %patch9 -p1
772 %patch10 -p1
773
774 %build
775 %{__libtoolize}
776 %{__aclocal} -I common
777 %{__autoconf}
778 %{__autoheader}
779 %{__automake}
780 %configure \
781         PYTHON=%{__python} \
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 \
799         --with-distro=none \
800         --with-systemdsystemunitdir=%{systemdunitdir}
801
802 %{__make}
803
804 %install
805 rm -rf $RPM_BUILD_ROOT
806 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},/etc/rc.d/init.d}
807
808 %{__make} install \
809         DESTDIR=$RPM_BUILD_ROOT \
810         pythondir=%{py_sitedir}
811
812 install -p %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d
813 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
814
815 ln -sf %{_includedir}/avahi-compat-libdns_sd/dns_sd.h \
816         $RPM_BUILD_ROOT%{_includedir}/dns_sd.h
817
818 ln -sf %{_pkgconfigdir}/avahi-compat-howl.pc \
819         $RPM_BUILD_ROOT%{_pkgconfigdir}/howl.pc
820
821 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
822 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
823 %py_postclean
824
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
835 %endif
836
837 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
838
839 %find_lang %{name}
840
841 %clean
842 rm -rf $RPM_BUILD_ROOT
843
844 %pre
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
847
848 %pre autoipd
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
851
852 %post
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
858
859 %preun
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
865 fi
866 %systemd_preun avahi-daemon.service avahi-dnsconfd.service avahi-daemon.socket
867
868 %postun
869 if [ "$1" = "0" ]; then
870         %userremove avahi
871         %groupremove avahi
872 fi
873 %systemd_reload
874
875 %triggerpostun -- avahi < 0.6.30-7
876 %systemd_trigger avahi-daemon.service avahi-dnsconfd.service avahi-daemon.socket
877
878 %postun autoipd
879 if [ "$1" = "0" ]; then
880         %userremove avahi
881         %groupremove avahi
882 fi
883
884 %post   libs -p /sbin/ldconfig
885 %postun libs -p /sbin/ldconfig
886
887 %post   ui -p /sbin/ldconfig
888 %postun ui -p /sbin/ldconfig
889
890 %post   ui-gtk3 -p /sbin/ldconfig
891 %postun ui-gtk3 -p /sbin/ldconfig
892
893 %post   compat-libdns_sd -p /sbin/ldconfig
894 %postun compat-libdns_sd -p /sbin/ldconfig
895
896 %post   compat-howl -p /sbin/ldconfig
897 %postun compat-howl -p /sbin/ldconfig
898
899 %post   glib -p /sbin/ldconfig
900 %postun glib -p /sbin/ldconfig
901
902 %post   gobject -p /sbin/ldconfig
903 %postun gobject -p /sbin/ldconfig
904
905 %post   libevent -p /sbin/ldconfig
906 %postun libevent -p /sbin/ldconfig
907
908 %post   qt3 -p /sbin/ldconfig
909 %postun qt3 -p /sbin/ldconfig
910
911 %post   qt4 -p /sbin/ldconfig
912 %postun qt4 -p /sbin/ldconfig
913
914 %post   qt5 -p /sbin/ldconfig
915 %postun qt5 -p /sbin/ldconfig
916
917 %files
918 %defattr(644,root,root,755)
919 %doc docs/AUTHORS docs/COMPAT-LAYERS docs/NEWS docs/README docs/TODO
920
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
929
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
934
935 %attr(755,root,root) %{_bindir}/avahi-set-host-name
936
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
943
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*
951
952 %attr(754,root,root) /etc/rc.d/init.d/%{name}-daemon
953 %attr(754,root,root) /etc/rc.d/init.d/%{name}-dnsconfd
954
955 %files autoipd
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*
964
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
976
977 %files devel
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
988
989 %files static
990 %defattr(644,root,root,755)
991 %{_libdir}/libavahi-client.a
992 %{_libdir}/libavahi-common.a
993 %{_libdir}/libavahi-core.a
994
995 %if %{with gtk2}
996 %files ui
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
1000
1001 %files ui-devel
1002 %defattr(644,root,root,755)
1003 %attr(755,root,root) %{_libdir}/libavahi-ui.so
1004 %{_pkgconfigdir}/avahi-ui.pc
1005
1006 %files ui-static
1007 %defattr(644,root,root,755)
1008 %{_libdir}/libavahi-ui.a
1009 %endif
1010
1011 %if %{with gtk2} || %{with gtk3}
1012 %files ui-devel-common
1013 %defattr(644,root,root,755)
1014 %{_includedir}/avahi-ui
1015 %endif
1016
1017 %if %{with gtk3}
1018 %files ui-gtk3
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
1022
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
1027
1028 %files ui-gtk3-static
1029 %defattr(644,root,root,755)
1030 %{_libdir}/libavahi-ui-gtk3.a
1031 %endif
1032
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
1037
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
1044
1045 %files compat-libdns_sd-static
1046 %defattr(644,root,root,755)
1047 %{_libdir}/libdns_sd.a
1048
1049 %files compat-howl
1050 %defattr(644,root,root,755)
1051 %attr(755,root,root) %{_libdir}/libhowl.so.*.*.*
1052 %attr(755,root,root) %ghost %{_libdir}/libhowl.so.0
1053
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
1060
1061 %files compat-howl-static
1062 %defattr(644,root,root,755)
1063 %{_libdir}/libhowl.a
1064
1065 %files -n python-avahi
1066 %defattr(644,root,root,755)
1067 %{py_sitedir}/avahi
1068
1069 %if %{with dotnet}
1070 %files -n dotnet-avahi
1071 %defattr(644,root,root,755)
1072 %{_prefix}/lib/mono/gac/avahi-sharp
1073
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
1079
1080 %files -n dotnet-avahi-ui
1081 %defattr(644,root,root,755)
1082 %{_prefix}/lib/mono/gac/avahi-ui-sharp
1083
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
1089 %endif
1090
1091 %files glib
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
1095
1096 %files glib-devel
1097 %defattr(644,root,root,755)
1098 %attr(755,root,root) %{_libdir}/libavahi-glib.so
1099 %{_includedir}/avahi-glib
1100 %{_pkgconfigdir}/avahi-glib.pc
1101
1102 %files glib-static
1103 %defattr(644,root,root,755)
1104 %{_libdir}/libavahi-glib.a
1105
1106 %files gobject
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
1112
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
1120
1121 %files gobject-static
1122 %defattr(644,root,root,755)
1123 %{_libdir}/libavahi-gobject.a
1124
1125 %if %{with libevent}
1126 %files 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
1130
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
1136
1137 %files libevent-static
1138 %defattr(644,root,root,755)
1139 %{_libdir}/libavahi-libevent.a
1140 %endif
1141
1142 %if %{with qt3}
1143 %files qt3
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
1147
1148 %files qt3-devel
1149 %defattr(644,root,root,755)
1150 %attr(755,root,root) %{_libdir}/libavahi-qt3.so
1151 %{_includedir}/avahi-qt3
1152 %{_pkgconfigdir}/avahi-qt3.pc
1153
1154 %files qt3-static
1155 %defattr(644,root,root,755)
1156 %{_libdir}/libavahi-qt3.a
1157 %endif
1158
1159 %if %{with qt4}
1160 %files qt4
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
1164
1165 %files qt4-devel
1166 %defattr(644,root,root,755)
1167 %attr(755,root,root) %{_libdir}/libavahi-qt4.so
1168 %{_includedir}/avahi-qt4
1169 %{_pkgconfigdir}/avahi-qt4.pc
1170
1171 %files qt4-static
1172 %defattr(644,root,root,755)
1173 %{_libdir}/libavahi-qt4.a
1174 %endif
1175
1176 %if %{with qt5}
1177 %files qt5
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
1181
1182 %files qt5-devel
1183 %defattr(644,root,root,755)
1184 %attr(755,root,root) %{_libdir}/libavahi-qt5.so
1185 %{_includedir}/avahi-qt5
1186 %{_pkgconfigdir}/avahi-qt5.pc
1187
1188 %files qt5-static
1189 %defattr(644,root,root,755)
1190 %{_libdir}/libavahi-qt5.a
1191 %endif
1192
1193 %files bookmarks
1194 %defattr(644,root,root,755)
1195 %attr(755,root,root) %{_bindir}/avahi-bookmarks
1196 %{_mandir}/man1/avahi-bookmarks.1*
1197
1198 %if %{with pygobject}
1199 %files discover
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*
1206 %endif
1207
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
1212
1213 %files bshell
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
1223 %endif
1224
1225 %files utils
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*
This page took 0.543016 seconds and 3 git commands to generate.