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