]> git.pld-linux.org Git - packages/avahi.git/blob - avahi.spec
85606c28a6f1ad83f765981225efe2a596561141
[packages/avahi.git] / avahi.spec
1 #
2 # TODO:
3 # - autoip subpackage ?
4 # - autoip start script ?
5 #
6 # Conditional build:
7 %bcond_without  dotnet          # build without dotnet bindings
8 %bcond_without  qt              # build without (any) qt bindings
9 %bcond_without  qt3             # build without qt3 bindings
10 %bcond_without  qt4             # build without qt4 bindings
11 #
12 %ifnarch %{ix86} %{x8664} alpha arm hppa ia64 mips ppc s390 s390x sparc sparcv9
13 %undefine with_dotnet
14 %endif
15 %ifarch i386
16 %undefine with_dotnet
17 %endif
18
19 %if !%{with qt}
20 %undefine       with_qt3
21 %undefine       with_qt4
22 %endif
23 %{?with_dotnet:%include /usr/lib/rpm/macros.mono}
24 #
25 Summary:        Free mDNS/DNS-SD implementation
26 Summary(pl.UTF-8):      Wolna implementacja mDNS/DNS-SD
27 Name:           avahi
28 Version:        0.6.23
29 Release:        2
30 License:        LGPL v2.1+
31 Group:          Applications
32 Source0:        http://avahi.org/download/%{name}-%{version}.tar.gz
33 # Source0-md5:  aab1a304851d8145ea5f6a85c10af9e9
34 Source1:        %{name}-daemon
35 Source2:        %{name}-dnsconfd
36 Source3:        %{name}.png
37 Patch0:         %{name}-desktop.patch
38 Patch1:         %{name}-glade.patch
39 Patch2:         %{name}-destdir.patch
40 Patch3:         %{name}-mono-dir.patch
41 URL:            http://avahi.org/
42 BuildRequires:  autoconf
43 BuildRequires:  automake
44 BuildRequires:  dbus-devel >= 0.92
45 BuildRequires:  doxygen
46 BuildRequires:  expat-devel
47 BuildRequires:  gdbm-devel
48 BuildRequires:  glib2-devel >= 1:2.12.2
49 BuildRequires:  graphviz
50 BuildRequires:  gtk+2-devel >= 2:2.10.2
51 BuildRequires:  libcap-devel
52 BuildRequires:  libdaemon-devel >= 0.11
53 BuildRequires:  libglade2-devel >= 1:2.6.0
54 BuildRequires:  libtool
55 %if %{with dotnet}
56 BuildRequires:  dotnet-gtk-sharp2-devel >= 2.10
57 BuildRequires:  mono-csharp
58 BuildRequires:  monodoc
59 %endif
60 BuildRequires:  pkgconfig
61 BuildRequires:  python >= 1:2.4
62 BuildRequires:  python-dbus >= 0.71
63 BuildRequires:  python-pygtk-devel >= 2:2.9.6
64 %if %{with qt3}
65 BuildRequires:  qt-devel >= 1:3.0
66 %endif
67 %if %{with qt4}
68 BuildRequires:  QtCore-devel
69 BuildRequires:  qt4-build
70 %endif
71 BuildRequires:  rpmbuild(macros) >= 1.228
72 Requires(post,preun):   /sbin/chkconfig
73 Requires:       %{name}-libs = %{version}-%{release}
74 Requires:       dbus >= 0.92
75 Requires:       libdaemon >= 0.11
76 Provides:       group(avahi)
77 Provides:       user(avahi)
78 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
79
80 %description
81 Avahi is an implementation the DNS Service Discovery and Multicast DNS
82 specifications for Zeroconf Computing. It uses D-BUS for communication
83 between user applications and a system daemon.
84
85 %description -l pl.UTF-8
86 Avahi jest implementacją specyfikacji DNS Service Discovery i
87 Multicast DNS dla Zeroconf Computing. Używa D-BUSa dla komunikacji
88 pomiędzy programami użytkownika a demonem systemowym.
89
90 %package libs
91 Summary:        Avahi client, common and core libraries
92 Summary(pl.UTF-8):      Biblioteki Avahi: klienta, wspólna i główna
93 Group:          Libraries
94
95 %description libs
96 Avahi client, common and core libraries.
97
98 %description libs -l pl.UTF-8
99 Biblioteki Avahi: klienta, wspólna i główna.
100
101 %package devel
102 Summary:        Header files for Avahi library
103 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Avahi
104 Group:          Development/Libraries
105 Requires:       %{name}-libs = %{version}-%{release}
106 Requires:       dbus-devel >= 0.92
107 Requires:       expat-devel
108
109 %description devel
110 This is the package containing the header files for Avahi library.
111
112 %description devel -l pl.UTF-8
113 Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi.
114
115 %package static
116 Summary:        Static Avahi library
117 Summary(pl.UTF-8):      Statyczna biblioteka Avahi
118 Group:          Development/Libraries
119 Requires:       %{name}-devel = %{version}-%{release}
120
121 %description static
122 Static Avahi library.
123
124 %description static -l pl.UTF-8
125 Statyczna biblioteka Avahi.
126
127 %package ui
128 Summary:        Avahi UI library
129 Summary(pl.UTF-8):      Biblioteka Avahi UI
130 Group:          X11/Libraries
131 Requires:       %{name}-libs = %{version}-%{release}
132 Requires:       gtk+2 >= 2:2.10.2
133
134 %description ui
135 Common GTK+ UI support library for Avahi.
136
137 %description ui -l pl.UTF-8
138 Biblioteka wspólnego interfejsu użytkownika GTK+ dla Avahi.
139
140 %package ui-devel
141 Summary:        Header files for Avahi UI library
142 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Avahi UI
143 Group:          X11/Development/Libraries
144 Requires:       %{name}-devel = %{version}-%{release}
145 Requires:       %{name}-ui = %{version}-%{release}
146 Requires:       gtk+2-devel >= 2:2.10.2
147
148 %description ui-devel
149 Header files for Avahi UI library.
150
151 %description ui-devel -l pl.UTF-8
152 Pliki nagłówkowe biblioteki Avahi UI.
153
154 %package ui-static
155 Summary:        Static Avahi UI library
156 Summary(pl.UTF-8):      Statyczna biblioteka Avahi UI
157 Group:          X11/Development/Libraries
158 Requires:       %{name}-ui-devel = %{version}-%{release}
159
160 %description ui-static
161 Static Avahi UI library.
162
163 %description ui-static -l pl.UTF-8
164 Statyczna biblioteka Avahi UI.
165
166 %package compat-libdns_sd
167 Summary:        Avahi Bonjour compat library
168 Summary(pl.UTF-8):      Biblioteka Avahi zgodna z Bonjour
169 Group:          Libraries
170 Provides:       mdns-bonjour
171 Obsoletes:      mDNSResponder-libs
172
173 %description compat-libdns_sd
174 Avahi Bonjour compat library.
175
176 %description compat-libdns_sd -l pl.UTF-8
177 Biblioteka Avahi zgodna z Bonjour.
178
179 %package compat-libdns_sd-devel
180 Summary:        Header files for Avahi Bonjour compat library
181 Summary(pl.UTF-8):      Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour
182 Group:          Development/Libraries
183 Requires:       %{name}-compat-libdns_sd = %{version}-%{release}
184 Requires:       %{name}-devel = %{version}-%{release}
185 Provides:       mdns-bonjour-devel
186 Obsoletes:      mDNSResponder-devel
187
188 %description compat-libdns_sd-devel
189 Header files for Avahi Bonjour compat library.
190
191 %description compat-libdns_sd-devel -l pl.UTF-8
192 Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour.
193
194 %package compat-libdns_sd-static
195 Summary:        Static Avahi Bonjour compat library
196 Summary(pl.UTF-8):      Statyczna biblioteka Avahi zgodna z Bonjour
197 Group:          Development/Libraries
198 Requires:       %{name}-compat-libdns_sd-devel = %{version}-%{release}
199 Provides:       mdns-bonjour-static
200
201 %description compat-libdns_sd-static
202 Static Avahi Bonjour compat library.
203
204 %description compat-libdns_sd-static -l pl.UTF-8
205 Statyczna biblioteka Avahi zgodna z Bonjour.
206
207 %package compat-howl
208 Summary:        Avahi Howl compat library
209 Summary(pl.UTF-8):      Biblioteka Avahi zgodna z Howl
210 Group:          Libraries
211 Provides:       mdns-howl-libs
212 Obsoletes:      howl-libs
213
214 %description compat-howl
215 Avahi Howl compat library.
216
217 %description compat-howl -l pl.UTF-8
218 Biblioteka Avahi zgodna z Howl.
219
220 %package compat-howl-devel
221 Summary:        Header files for Avahi Howl compat library
222 Summary(pl.UTF-8):      Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl
223 Group:          Development/Libraries
224 Requires:       %{name}-compat-howl = %{version}-%{release}
225 Requires:       %{name}-devel = %{version}-%{release}
226 Provides:       mdns-howl-devel
227 Obsoletes:      howl-devel
228
229 %description compat-howl-devel
230 Header files for Avahi Howl compat library.
231
232 %description compat-howl-devel -l pl.UTF-8
233 Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl.
234
235 %package compat-howl-static
236 Summary:        Static Avahi Howl compat library
237 Summary(pl.UTF-8):      Statyczna biblioteka Avahi zgodna z Howl
238 Group:          Development/Libraries
239 Requires:       %{name}-compat-howl-devel = %{version}-%{release}
240 Provides:       mdns-howl-static
241 Obsoletes:      howl-static
242
243 %description compat-howl-static
244 Static Avahi Howl compat library.
245
246 %description compat-howl-static -l pl.UTF-8
247 Statyczna biblioteka Avahi zgodna z Howl.
248
249 %package glib
250 Summary:        Avahi GLib library bindings
251 Summary(pl.UTF-8):      Wiązania Avahi dla bibioteki GLib
252 Group:          Libraries
253
254 %description glib
255 Avahi GLib library bindings.
256
257 %description glib -l pl.UTF-8
258 Wiązania Avahi dla bibioteki GLib.
259
260 %package glib-devel
261 Summary:        Header files for Avahi GLib library bindings
262 Summary(pl.UTF-8):      Pliki nagłówkowe wiązań Avahi dla biblioteki GLib
263 Group:          Development/Libraries
264 Requires:       %{name}-devel = %{version}-%{release}
265 Requires:       %{name}-glib = %{version}-%{release}
266 Requires:       glib2-devel >= 1:2.12.2
267
268 %description glib-devel
269 This is the package containing the header files for Avahi-glib
270 library.
271
272 %description glib-devel -l pl.UTF-8
273 Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi-glib.
274
275 %package glib-static
276 Summary:        Static Avahi GLib library
277 Summary(pl.UTF-8):      Statyczna biblioteka Avahi GLib
278 Group:          Development/Libraries
279 Requires:       %{name}-glib-devel = %{version}-%{release}
280
281 %description glib-static
282 Static Avahi GLib library.
283
284 %description glib-static -l pl.UTF-8
285 Statyczna biblioteka Avahi GLib.
286
287 %package gobject
288 Summary:        Avahi GObject interface
289 Summary(pl.UTF-8):      Interfejs GObject do Avahi
290 Group:          Libraries
291
292 %description gobject
293 Avahi GObject interface.
294
295 %description gobject -l pl.UTF-8
296 Interfejs GObject do Avahi.
297
298 %package gobject-devel
299 Summary:        Header files for Avahi GObject interface
300 Summary(pl.UTF-8):      Pliki nagłówkowe interfejsu GObject do Avahi
301 Group:          Development/Libraries
302 Requires:       %{name}-devel = %{version}-%{release}
303 Requires:       %{name}-gobject = %{version}-%{release}
304 Requires:       glib2-devel >= 1:2.12.2
305
306 %description gobject-devel
307 This is the package containing the header files for Avahi GObject
308 interface.
309
310 %description gobject-devel -l pl.UTF-8
311 Ten pakiet zawiera pliki nagłówkowe interfejsu GObject do Avahi.
312
313 %package gobject-static
314 Summary:        Static Avahi GObject library
315 Summary(pl.UTF-8):      Statyczna biblioteka Avahi GObject
316 Group:          Development/Libraries
317 Requires:       %{name}-gobject-devel = %{version}-%{release}
318
319 %description gobject-static
320 Static Avahi GObject library.
321
322 %description gobject-static -l pl.UTF-8
323 Statyczna biblioteka Avahi GObject.
324
325 %package qt
326 Summary:        Avahi Qt 3 library bindings
327 Summary(pl.UTF-8):      Wiązania Avahi dla biblioteki Qt 3
328 Group:          Libraries
329 Requires:       %{name}-libs = %{version}-%{release}
330 Obsoletes:      avahi-qt3
331
332 %description qt
333 Avahi Qt 3 library bindings.
334
335 %description qt -l pl.UTF-8
336 Wiązania Avahi dla biblioteki Qt 3.
337
338 %package qt-devel
339 Summary:        Header files for Avahi Qt 3 library bindings
340 Summary(pl.UTF-8):      Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3
341 Group:          Development/Libraries
342 Requires:       %{name}-devel = %{version}-%{release}
343 Requires:       %{name}-qt = %{version}-%{release}
344 Requires:       qt-devel >= 1:3.0
345 Obsoletes:      avahi-qt3-devel
346
347 %description qt-devel
348 Header files for Avahi Qt 3 library bindings.
349
350 %description qt-devel -l pl.UTF-8
351 Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3.
352
353 %package qt-static
354 Summary:        Static Avahi Qt 3 library
355 Summary(pl.UTF-8):      Statyczna biblioteka Avahi Qt 3
356 Group:          Development/Libraries
357 Requires:       %{name}-qt-devel = %{version}-%{release}
358 Obsoletes:      avahi-qt3-static
359
360 %description qt-static
361 Static Avahi Qt 3 library.
362
363 %description qt-static -l pl.UTF-8
364 Statyczna biblioteka Avahi Qt 3.
365
366 %package Qt
367 Summary:        Avahi Qt 4 library bindings
368 Summary(pl.UTF-8):      Wiązania Avahi dla biblioteki Qt 4
369 Group:          Libraries
370 Requires:       %{name}-libs = %{version}-%{release}
371
372 %description Qt
373 Avahi Qt 4 library bindings.
374
375 %description Qt -l pl.UTF-8
376 Wiązania Avahi dla biblioteki Qt 4.
377
378 %package Qt-devel
379 Summary:        Header files for Avahi Qt 4 library bindings
380 Summary(pl.UTF-8):      Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4
381 Group:          Development/Libraries
382 Requires:       %{name}-devel = %{version}-%{release}
383 Requires:       %{name}-Qt = %{version}-%{release}
384
385 %description Qt-devel
386 Header files for Avahi Qt 4 library bindings.
387
388 %description Qt-devel -l pl.UTF-8
389 Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4.
390
391 %package Qt-static
392 Summary:        Static Avahi Qt 4 library
393 Summary(pl.UTF-8):      Statyczna biblioteka Avahi Qt 4
394 Group:          Development/Libraries
395 Requires:       %{name}-Qt-devel = %{version}-%{release}
396
397 %description Qt-static
398 Static Avahi Qt 4 library.
399
400 %description Qt-static -l pl.UTF-8
401 Statyczna biblioteka Avahi Qt 4.
402
403 %package -n python-avahi
404 Summary:        Avahi Python bindings
405 Summary(pl.UTF-8):      Wiązania Avahi dla Pythona
406 Group:          Development/Languages/Python
407 Requires:       %{name}-libs = %{version}-%{release}
408 Requires:       python-dbus >= 0.71
409
410 %description -n python-avahi
411 Avahi Python bindings.
412
413 %description -n python-avahi -l pl.UTF-8
414 Wiązania Avahi dla Pythona.
415
416 %package -n dotnet-avahi
417 Summary:        Avahi MONO bindings
418 Summary(pl.UTF-8):      Wiązania Avahi dla MONO
419 Group:          Libraries
420 Requires:       %{name}-libs = %{version}-%{release}
421
422 %description -n dotnet-avahi
423 Avahi MONO bindings.
424
425 %description -n dotnet-avahi -l pl.UTF-8
426 Wiązania Avahi dla MONO.
427
428 %package -n dotnet-avahi-devel
429 Summary:        Development files for MONO Avahi bindings
430 Summary(pl.UTF-8):      Pliki rozwojowe wiązań Avahi dla MONO
431 Group:          Development/Libraries
432 Requires:       dotnet-avahi = %{version}-%{release}
433 Requires:       monodoc
434
435 %description -n dotnet-avahi-devel
436 Development files for MONO Avahi bindings.
437
438 %description -n dotnet-avahi-devel -l pl.UTF-8
439 Pliki rozwojowe wiązań Avahi dla MONO.
440
441 %package -n dotnet-avahi-ui
442 Summary:        Avahi UI MONO bindings
443 Summary(pl.UTF-8):      Wiązania Avahi UI dla MONO
444 Group:          X11/Libraries
445 Requires:       %{name}-ui = %{version}-%{release}
446 Requires:       dotnet-avahi = %{version}-%{release}
447
448 %description -n dotnet-avahi-ui
449 Avahi UI MONO bindings.
450
451 %description -n dotnet-avahi-ui -l pl.UTF-8
452 Wiązania Avahi UI dla MONO.
453
454 %package -n dotnet-avahi-ui-devel
455 Summary:        Development files for MONO Avahi UI bindings
456 Summary(pl.UTF-8):      Pliki rozwojowe wiązań Avahi UI dla MONO
457 Group:          X11/Development/Libraries
458 Requires:       dotnet-avahi-ui = %{version}-%{release}
459 Requires:       monodoc
460
461 %description -n dotnet-avahi-ui-devel
462 Development files for MONO Avahi UI bindings.
463
464 %description -n dotnet-avahi-ui-devel -l pl.UTF-8
465 Pliki rozwojowe wiązań Avahi UI dla MONO.
466
467 %package bookmarks
468 Summary:        Miniature web server
469 Summary(pl.UTF-8):      Miniaturowy serwer web
470 Group:          Applications
471
472 %description bookmarks
473 A Python based miniature web server that browses for mDNS/DNS-SD
474 services of type '_http._tcp' (i.e. web sites) and makes them
475 available as HTML links on http://localhost:8080/.
476
477 %description bookmarks -l pl.UTF-8
478 Napisany w Pythonie miniaturowy serwer WWW, pozwalający na
479 przeglądanie usług typu '_http._tcp' (np. stron WWW) i udostępniający
480 je jako odnośniki HTML na http://localhost:8080/.
481
482 %package discover
483 Summary:        Avahi Zeroconf browser
484 Summary(pl.UTF-8):      Przeglądarka Zeroconf Avahi
485 Group:          Applications
486 Requires:       python-avahi = %{version}-%{release}
487 Requires:       python-pygtk-glade >= 2:2.9.6
488
489 %description discover
490 A tool for enumerating all available services on the local LAN
491 (python-pygtk implementation).
492
493 %description discover -l pl.UTF-8
494 Narzędzie wymieniające wszystkie dostępne usługi w sieci lokalnej LAN
495 (implementacja w python-pygtk).
496
497 %package discover-standalone
498 Summary:        Avahi Zeroconf browser
499 Summary(pl.UTF-8):      Przeglądarka Zeroconf Avahi
500 Group:          Applications
501 Requires:       %{name}-glib = %{version}-%{release}
502
503 %description discover-standalone
504 GTK+ tool for enumerating all available services on the local LAN.
505
506 %description discover-standalone -l pl.UTF-8
507 Narzędzie GTK+ wymieniające wszystkie dostępne usługi w sieci lokalnej
508 LAN.
509
510 %package utils
511 Summary:        Avahi CLI utilities
512 Summary(pl.UTF-8):      Narzędzia CLI Avahi
513 Group:          Applications
514
515 %description utils
516 Command line utilities using avahi-client.
517
518 %description utils -l pl.UTF-8
519 Narzędzia linii poleceń korzystające z avahi-client.
520
521 %prep
522 %setup -q
523 %patch0 -p1
524 %patch1 -p1
525 %patch2 -p1
526 %patch3 -p1
527
528 %build
529 %{__libtoolize}
530 %{__aclocal} -I common
531 %{__autoconf}
532 %{__autoheader}
533 %{__automake}
534 %configure \
535         --enable-compat-libdns_sd \
536         --enable-compat-howl \
537         --with-distro=none \
538         %{!?with_qt3:--disable-qt3} \
539         %{!?with_qt4:--disable-qt4} \
540         %{!?with_dotnet:--disable-mono} \
541         %{!?with_dotnet:--disable-monodoc}
542 %{__make}
543
544 %install
545 rm -rf $RPM_BUILD_ROOT
546 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},/etc/rc.d/init.d}
547
548 %{__make} install \
549         DESTDIR=$RPM_BUILD_ROOT \
550         pythondir=%{py_sitedir}
551
552 install %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d
553 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
554
555 ln -sf %{_includedir}/avahi-compat-libdns_sd/dns_sd.h \
556         $RPM_BUILD_ROOT%{_includedir}/dns_sd.h
557
558 ln -sf %{_pkgconfigdir}/avahi-compat-howl.pc \
559         $RPM_BUILD_ROOT%{_pkgconfigdir}/howl.pc
560
561 rm -f $RPM_BUILD_ROOT%{py_sitedir}/avahi/{__init__,SimpleGladeApp}.py \
562         $RPM_BUILD_ROOT%{py_sitedir}/avahi_discover/*.py
563
564 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{avahi-{browse-domains,publish-address,publish-service,resolve-address,resolve-host-name},bvnc}.1
565 echo '.so avahi-browse.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-browse-domains.1
566 echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-address.1
567 echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-service.1
568 echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-address.1
569 echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-host-name.1
570 echo '.so bssh.1' > $RPM_BUILD_ROOT%{_mandir}/man1/bvnc.1
571
572 %find_lang %{name}
573
574 %clean
575 rm -rf $RPM_BUILD_ROOT
576
577 %pre
578 %groupadd -g 165 -r -f avahi
579 %useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi
580
581 %post
582 /sbin/chkconfig --add %{name}-daemon
583 %service %{name}-daemon restart
584 /sbin/chkconfig --add %{name}-dnsconfd
585 %service %{name}-dnsconfd restart
586
587 %preun
588 if [ "$1" = "0" ]; then
589         %service -q %{name}-dnsconfd stop
590         /sbin/chkconfig --del %{name}-dnsconfd
591         %service -q %{name}-daemon stop
592         /sbin/chkconfig --del %{name}-daemon
593 fi
594
595 %postun
596 if [ "$1" = "0" ]; then
597         %userremove avahi
598         %groupremove avahi
599 fi
600
601 %post   libs -p /sbin/ldconfig
602 %postun libs -p /sbin/ldconfig
603
604 %post   ui -p /sbin/ldconfig
605 %postun ui -p /sbin/ldconfig
606
607 %post   compat-libdns_sd -p /sbin/ldconfig
608 %postun compat-libdns_sd -p /sbin/ldconfig
609
610 %post   compat-howl -p /sbin/ldconfig
611 %postun compat-howl -p /sbin/ldconfig
612
613 %post   glib -p /sbin/ldconfig
614 %postun glib -p /sbin/ldconfig
615
616 %post   gobject -p /sbin/ldconfig
617 %postun gobject -p /sbin/ldconfig
618
619 %post   qt -p /sbin/ldconfig
620 %postun qt -p /sbin/ldconfig
621
622 %post   Qt -p /sbin/ldconfig
623 %postun Qt -p /sbin/ldconfig
624
625 %files
626 %defattr(644,root,root,755)
627 %doc docs/AUTHORS docs/COMPAT-LAYERS docs/NEWS docs/README docs/TODO
628
629 %dir %{_sysconfdir}/avahi
630 %dir %{_sysconfdir}/avahi/services
631 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-daemon.conf
632 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-dnsconfd.action
633 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/hosts
634 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/ssh.service
635 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/sftp-ssh.service
636 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus-1/system.d/*
637
638 %attr(755,root,root) %{_bindir}/avahi-set-host-name
639
640 %attr(755,root,root) %{_sbindir}/avahi-daemon
641 %attr(755,root,root) %{_sbindir}/avahi-dnsconfd
642
643 %dir %{_datadir}/%{name}/introspection
644 %{_datadir}/%{name}/introspection/*.introspect
645 %{_datadir}/%{name}/avahi-service.dtd
646 %{_datadir}/%{name}/service-types
647 %dir %{_libdir}/%{name}
648 %{_libdir}/%{name}/service-types.db
649
650 %{_mandir}/man1/avahi-set-host-name.1*
651 %{_mandir}/man5/avahi-daemon.conf.5*
652 %{_mandir}/man5/avahi.hosts.5*
653 %{_mandir}/man5/avahi.service.5*
654 %{_mandir}/man8/avahi-daemon.8*
655 %{_mandir}/man8/avahi-dnsconfd.8*
656 %{_mandir}/man8/avahi-dnsconfd.action.8*
657
658 %attr(754,root,root) /etc/rc.d/init.d/%{name}-daemon
659 %attr(754,root,root) /etc/rc.d/init.d/%{name}-dnsconfd
660
661 %attr(755,root,root) %{_sysconfdir}/%{name}/avahi-autoipd.action
662 %attr(755,root,root) %{_sbindir}/avahi-autoipd
663 %{_mandir}/man8/avahi-autoipd.8*
664 %{_mandir}/man8/avahi-autoipd.action.8*
665
666 %files libs -f %{name}.lang
667 %defattr(644,root,root,755)
668 %attr(755,root,root) %{_libdir}/libavahi-client.so.*.*.*
669 %attr(755,root,root) %ghost %{_libdir}/libavahi-client.so.3
670 %attr(755,root,root) %{_libdir}/libavahi-common.so.*.*.*
671 %attr(755,root,root) %ghost %{_libdir}/libavahi-common.so.3
672 %attr(755,root,root) %{_libdir}/libavahi-core.so.*.*.*
673 %attr(755,root,root) %ghost %{_libdir}/libavahi-core.so.5
674 # common for -discover*
675 %dir %{_datadir}/%{name}
676 %dir %{_datadir}/%{name}/interfaces
677
678 %files devel
679 %defattr(644,root,root,755)
680 %doc docs/API-CHANGES-0.6 docs/DBUS-API docs/HACKING docs/MALLOC
681 %attr(755,root,root) %{_libdir}/libavahi-client.so
682 %attr(755,root,root) %{_libdir}/libavahi-common.so
683 %attr(755,root,root) %{_libdir}/libavahi-core.so
684 %{_libdir}/libavahi-client.la
685 %{_libdir}/libavahi-common.la
686 %{_libdir}/libavahi-core.la
687 %{_includedir}/avahi-client
688 %{_includedir}/avahi-common
689 %{_includedir}/avahi-core
690 %{_pkgconfigdir}/avahi-client.pc
691 %{_pkgconfigdir}/avahi-core.pc
692
693 %files static
694 %defattr(644,root,root,755)
695 %{_libdir}/libavahi-client.a
696 %{_libdir}/libavahi-common.a
697 %{_libdir}/libavahi-core.a
698
699 %files ui
700 %defattr(644,root,root,755)
701 %attr(755,root,root) %{_bindir}/bshell
702 %attr(755,root,root) %{_bindir}/bssh
703 %attr(755,root,root) %{_bindir}/bvnc
704 %attr(755,root,root) %{_libdir}/libavahi-ui.so.*.*.*
705 %attr(755,root,root) %ghost %{_libdir}/libavahi-ui.so.0
706 %{_mandir}/man1/bssh.1*
707 %{_mandir}/man1/bvnc.1*
708 %{_desktopdir}/bssh.desktop
709 %{_desktopdir}/bvnc.desktop
710
711 %files ui-devel
712 %defattr(644,root,root,755)
713 %attr(755,root,root) %{_libdir}/libavahi-ui.so
714 %{_libdir}/libavahi-ui.la
715 %{_includedir}/avahi-ui
716 %{_pkgconfigdir}/avahi-ui.pc
717
718 %files ui-static
719 %defattr(644,root,root,755)
720 %{_libdir}/libavahi-ui.a
721
722 %files compat-libdns_sd
723 %defattr(644,root,root,755)
724 %attr(755,root,root) %{_libdir}/libdns_sd.so.*.*.*
725 %attr(755,root,root) %ghost %{_libdir}/libdns_sd.so.1
726
727 %files compat-libdns_sd-devel
728 %defattr(644,root,root,755)
729 %attr(755,root,root) %{_libdir}/libdns_sd.so
730 %{_libdir}/libdns_sd.la
731 %{_includedir}/avahi-compat-libdns_sd
732 %{_includedir}/dns_sd.h
733 %{_pkgconfigdir}/avahi-compat-libdns_sd.pc
734
735 %files compat-libdns_sd-static
736 %defattr(644,root,root,755)
737 %{_libdir}/libdns_sd.a
738
739 %files compat-howl
740 %defattr(644,root,root,755)
741 %attr(755,root,root) %{_libdir}/libhowl.so.*.*.*
742 %attr(755,root,root) %ghost %{_libdir}/libhowl.so.0
743
744 %files compat-howl-devel
745 %defattr(644,root,root,755)
746 %attr(755,root,root) %{_libdir}/libhowl.so
747 %{_libdir}/libhowl.la
748 %{_includedir}/avahi-compat-howl
749 %{_pkgconfigdir}/avahi-compat-howl.pc
750 %{_pkgconfigdir}/howl.pc
751
752 %files compat-howl-static
753 %defattr(644,root,root,755)
754 %{_libdir}/libhowl.a
755
756 %files -n python-avahi
757 %defattr(644,root,root,755)
758 %{py_sitedir}/avahi
759
760 %if %{with dotnet}
761 %files -n dotnet-avahi
762 %defattr(644,root,root,755)
763 %{_prefix}/lib/mono/gac/avahi-sharp
764
765 %files -n dotnet-avahi-devel
766 %defattr(644,root,root,755)
767 %{_prefix}/lib/mono/avahi-sharp
768 %{_libdir}/monodoc/sources/avahi-sharp-docs.*
769 %{_pkgconfigdir}/avahi-sharp.pc
770
771 %files -n dotnet-avahi-ui
772 %defattr(644,root,root,755)
773 %{_prefix}/lib/mono/gac/avahi-ui-sharp
774
775 %files -n dotnet-avahi-ui-devel
776 %defattr(644,root,root,755)
777 %{_prefix}/lib/mono/avahi-ui-sharp
778 %{_libdir}/monodoc/sources/avahi-ui-sharp-docs.*
779 %{_pkgconfigdir}/avahi-ui-sharp.pc
780 %endif
781
782 %files glib
783 %defattr(644,root,root,755)
784 %attr(755,root,root) %{_libdir}/libavahi-glib.so.*.*.*
785 %attr(755,root,root) %ghost %{_libdir}/libavahi-glib.so.1
786
787 %files glib-devel
788 %defattr(644,root,root,755)
789 %attr(755,root,root) %{_libdir}/libavahi-glib.so
790 %{_libdir}/libavahi-glib.la
791 %{_includedir}/avahi-glib
792 %{_pkgconfigdir}/avahi-glib.pc
793
794 %files glib-static
795 %defattr(644,root,root,755)
796 %{_libdir}/libavahi-glib.a
797
798 %files gobject
799 %defattr(644,root,root,755)
800 %attr(755,root,root) %{_libdir}/libavahi-gobject.so.*.*.*
801 %attr(755,root,root) %ghost %{_libdir}/libavahi-gobject.so.0
802
803 %files gobject-devel
804 %defattr(644,root,root,755)
805 %attr(755,root,root) %{_libdir}/libavahi-gobject.so
806 %{_libdir}/libavahi-gobject.la
807 %{_includedir}/avahi-gobject
808 %{_pkgconfigdir}/avahi-gobject.pc
809
810 %files gobject-static
811 %defattr(644,root,root,755)
812 %{_libdir}/libavahi-gobject.a
813
814 %if %{with qt3}
815 %files qt
816 %defattr(644,root,root,755)
817 %attr(755,root,root) %{_libdir}/libavahi-qt3.so.*.*.*
818 %attr(755,root,root) %ghost %{_libdir}/libavahi-qt3.so.1
819
820 %files qt-devel
821 %defattr(644,root,root,755)
822 %attr(755,root,root) %{_libdir}/libavahi-qt3.so
823 %{_libdir}/libavahi-qt3.la
824 %{_includedir}/avahi-qt3
825 %{_pkgconfigdir}/avahi-qt3.pc
826
827 %files qt-static
828 %defattr(644,root,root,755)
829 %{_libdir}/libavahi-qt3.a
830 %endif
831
832 %if %{with qt4}
833 %files Qt
834 %defattr(644,root,root,755)
835 %attr(755,root,root) %{_libdir}/libavahi-qt4.so.*.*.*
836 %attr(755,root,root) %ghost %{_libdir}/libavahi-qt4.so.1
837
838 %files Qt-devel
839 %defattr(644,root,root,755)
840 %attr(755,root,root) %{_libdir}/libavahi-qt4.so
841 %{_libdir}/libavahi-qt4.la
842 %{_includedir}/avahi-qt4
843 %{_pkgconfigdir}/avahi-qt4.pc
844
845 %files Qt-static
846 %defattr(644,root,root,755)
847 %{_libdir}/libavahi-qt4.a
848 %endif
849
850 %files bookmarks
851 %defattr(644,root,root,755)
852 %attr(755,root,root) %{_bindir}/avahi-bookmarks
853 %{_mandir}/man1/avahi-bookmarks.1*
854
855 %files discover
856 %defattr(644,root,root,755)
857 %attr(755,root,root) %{_bindir}/avahi-discover
858 %{py_sitedir}/avahi_discover
859 %{_datadir}/%{name}/interfaces/avahi-discover.glade
860 %{_desktopdir}/avahi-discover.desktop
861 %{_pixmapsdir}/avahi.png
862 %{_mandir}/man1/avahi-discover.1*
863
864 %files discover-standalone
865 %defattr(644,root,root,755)
866 %attr(755,root,root) %{_bindir}/avahi-discover-standalone
867 %{_datadir}/%{name}/interfaces/avahi-discover-standalone.glade
868
869 %files utils
870 %defattr(644,root,root,755)
871 %attr(755,root,root) %{_bindir}/avahi-browse
872 %attr(755,root,root) %{_bindir}/avahi-browse-domains
873 %attr(755,root,root) %{_bindir}/avahi-publish
874 %attr(755,root,root) %{_bindir}/avahi-publish-address
875 %attr(755,root,root) %{_bindir}/avahi-publish-service
876 %attr(755,root,root) %{_bindir}/avahi-resolve
877 %attr(755,root,root) %{_bindir}/avahi-resolve-address
878 %attr(755,root,root) %{_bindir}/avahi-resolve-host-name
879 %{_mandir}/man1/avahi-browse.1*
880 %{_mandir}/man1/avahi-browse-domains.1*
881 %{_mandir}/man1/avahi-publish.1*
882 %{_mandir}/man1/avahi-publish-address.1*
883 %{_mandir}/man1/avahi-publish-service.1*
884 %{_mandir}/man1/avahi-resolve.1*
885 %{_mandir}/man1/avahi-resolve-address.1*
886 %{_mandir}/man1/avahi-resolve-host-name.1*
This page took 0.131351 seconds and 2 git commands to generate.