]> git.pld-linux.org Git - packages/avahi.git/blob - avahi.spec
- use users/groups available in PLD (do we need a separate avahi-autoipd user? I...
[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         --with-avahi-priv-access-group=adm \
548         --with-autoipd-user=avahi \
549         --with-autoipd-group=avahi 
550 %{__make}
551
552 %install
553 rm -rf $RPM_BUILD_ROOT
554 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},/etc/rc.d/init.d}
555
556 %{__make} install \
557         DESTDIR=$RPM_BUILD_ROOT \
558         pythondir=%{py_sitedir}
559
560 install -p %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d
561 cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
562
563 ln -sf %{_includedir}/avahi-compat-libdns_sd/dns_sd.h \
564         $RPM_BUILD_ROOT%{_includedir}/dns_sd.h
565
566 ln -sf %{_pkgconfigdir}/avahi-compat-howl.pc \
567         $RPM_BUILD_ROOT%{_pkgconfigdir}/howl.pc
568
569 rm -f $RPM_BUILD_ROOT%{py_sitedir}/avahi/{__init__,SimpleGladeApp}.py \
570         $RPM_BUILD_ROOT%{py_sitedir}/avahi_discover/*.py
571
572 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{avahi-{browse-domains,publish-address,publish-service,resolve-address,resolve-host-name},bvnc}.1
573 echo '.so avahi-browse.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-browse-domains.1
574 echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-address.1
575 echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-service.1
576 echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-address.1
577 echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-host-name.1
578 echo '.so bssh.1' > $RPM_BUILD_ROOT%{_mandir}/man1/bvnc.1
579
580 %find_lang %{name}
581
582 %clean
583 rm -rf $RPM_BUILD_ROOT
584
585 %pre
586 %groupadd -g 165 -r -f avahi
587 %useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi
588
589 %post
590 /sbin/chkconfig --add %{name}-daemon
591 %service %{name}-daemon restart
592 /sbin/chkconfig --add %{name}-dnsconfd
593 %service %{name}-dnsconfd restart
594
595 %preun
596 if [ "$1" = "0" ]; then
597         %service -q %{name}-dnsconfd stop
598         /sbin/chkconfig --del %{name}-dnsconfd
599         %service -q %{name}-daemon stop
600         /sbin/chkconfig --del %{name}-daemon
601 fi
602
603 %postun
604 if [ "$1" = "0" ]; then
605         %userremove avahi
606         %groupremove avahi
607 fi
608
609 %post   libs -p /sbin/ldconfig
610 %postun libs -p /sbin/ldconfig
611
612 %post   ui -p /sbin/ldconfig
613 %postun ui -p /sbin/ldconfig
614
615 %post   compat-libdns_sd -p /sbin/ldconfig
616 %postun compat-libdns_sd -p /sbin/ldconfig
617
618 %post   compat-howl -p /sbin/ldconfig
619 %postun compat-howl -p /sbin/ldconfig
620
621 %post   glib -p /sbin/ldconfig
622 %postun glib -p /sbin/ldconfig
623
624 %post   gobject -p /sbin/ldconfig
625 %postun gobject -p /sbin/ldconfig
626
627 %post   qt -p /sbin/ldconfig
628 %postun qt -p /sbin/ldconfig
629
630 %post   Qt -p /sbin/ldconfig
631 %postun Qt -p /sbin/ldconfig
632
633 %files
634 %defattr(644,root,root,755)
635 %doc docs/AUTHORS docs/COMPAT-LAYERS docs/NEWS docs/README docs/TODO
636
637 %dir %{_sysconfdir}/avahi
638 %dir %{_sysconfdir}/avahi/services
639 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-daemon.conf
640 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-dnsconfd.action
641 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/hosts
642 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/ssh.service
643 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/sftp-ssh.service
644 %config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/*
645
646 %attr(755,root,root) %{_bindir}/avahi-set-host-name
647
648 %attr(755,root,root) %{_sbindir}/avahi-daemon
649 %attr(755,root,root) %{_sbindir}/avahi-dnsconfd
650
651 %dir %{_datadir}/%{name}/introspection
652 %{_datadir}/%{name}/introspection/*.introspect
653 %{_datadir}/%{name}/avahi-service.dtd
654 %{_datadir}/%{name}/service-types
655 %dir %{_libdir}/%{name}
656 %{_libdir}/%{name}/service-types.db
657
658 %{_mandir}/man1/avahi-set-host-name.1*
659 %{_mandir}/man5/avahi-daemon.conf.5*
660 %{_mandir}/man5/avahi.hosts.5*
661 %{_mandir}/man5/avahi.service.5*
662 %{_mandir}/man8/avahi-daemon.8*
663 %{_mandir}/man8/avahi-dnsconfd.8*
664 %{_mandir}/man8/avahi-dnsconfd.action.8*
665
666 %attr(754,root,root) /etc/rc.d/init.d/%{name}-daemon
667 %attr(754,root,root) /etc/rc.d/init.d/%{name}-dnsconfd
668
669 %attr(755,root,root) %{_sysconfdir}/%{name}/avahi-autoipd.action
670 %attr(755,root,root) %{_sbindir}/avahi-autoipd
671 %{_mandir}/man8/avahi-autoipd.8*
672 %{_mandir}/man8/avahi-autoipd.action.8*
673
674 %files libs -f %{name}.lang
675 %defattr(644,root,root,755)
676 %attr(755,root,root) %{_libdir}/libavahi-client.so.*.*.*
677 %attr(755,root,root) %ghost %{_libdir}/libavahi-client.so.3
678 %attr(755,root,root) %{_libdir}/libavahi-common.so.*.*.*
679 %attr(755,root,root) %ghost %{_libdir}/libavahi-common.so.3
680 %attr(755,root,root) %{_libdir}/libavahi-core.so.*.*.*
681 %attr(755,root,root) %ghost %{_libdir}/libavahi-core.so.6
682 # common for -discover*
683 %dir %{_datadir}/%{name}
684 %dir %{_datadir}/%{name}/interfaces
685
686 %files devel
687 %defattr(644,root,root,755)
688 %doc docs/API-CHANGES-0.6 docs/DBUS-API docs/HACKING docs/MALLOC
689 %attr(755,root,root) %{_libdir}/libavahi-client.so
690 %attr(755,root,root) %{_libdir}/libavahi-common.so
691 %attr(755,root,root) %{_libdir}/libavahi-core.so
692 %{_libdir}/libavahi-client.la
693 %{_libdir}/libavahi-common.la
694 %{_libdir}/libavahi-core.la
695 %{_includedir}/avahi-client
696 %{_includedir}/avahi-common
697 %{_includedir}/avahi-core
698 %{_pkgconfigdir}/avahi-client.pc
699 %{_pkgconfigdir}/avahi-core.pc
700
701 %files static
702 %defattr(644,root,root,755)
703 %{_libdir}/libavahi-client.a
704 %{_libdir}/libavahi-common.a
705 %{_libdir}/libavahi-core.a
706
707 %files ui
708 %defattr(644,root,root,755)
709 %attr(755,root,root) %{_bindir}/bshell
710 %attr(755,root,root) %{_bindir}/bssh
711 %attr(755,root,root) %{_bindir}/bvnc
712 %attr(755,root,root) %{_libdir}/libavahi-ui.so.*.*.*
713 %attr(755,root,root) %ghost %{_libdir}/libavahi-ui.so.0
714 %{_mandir}/man1/bssh.1*
715 %{_mandir}/man1/bvnc.1*
716 %{_desktopdir}/bssh.desktop
717 %{_desktopdir}/bvnc.desktop
718
719 %files ui-devel
720 %defattr(644,root,root,755)
721 %attr(755,root,root) %{_libdir}/libavahi-ui.so
722 %{_libdir}/libavahi-ui.la
723 %{_includedir}/avahi-ui
724 %{_pkgconfigdir}/avahi-ui.pc
725
726 %files ui-static
727 %defattr(644,root,root,755)
728 %{_libdir}/libavahi-ui.a
729
730 %files compat-libdns_sd
731 %defattr(644,root,root,755)
732 %attr(755,root,root) %{_libdir}/libdns_sd.so.*.*.*
733 %attr(755,root,root) %ghost %{_libdir}/libdns_sd.so.1
734
735 %files compat-libdns_sd-devel
736 %defattr(644,root,root,755)
737 %attr(755,root,root) %{_libdir}/libdns_sd.so
738 %{_libdir}/libdns_sd.la
739 %{_includedir}/avahi-compat-libdns_sd
740 %{_includedir}/dns_sd.h
741 %{_pkgconfigdir}/avahi-compat-libdns_sd.pc
742
743 %files compat-libdns_sd-static
744 %defattr(644,root,root,755)
745 %{_libdir}/libdns_sd.a
746
747 %files compat-howl
748 %defattr(644,root,root,755)
749 %attr(755,root,root) %{_libdir}/libhowl.so.*.*.*
750 %attr(755,root,root) %ghost %{_libdir}/libhowl.so.0
751
752 %files compat-howl-devel
753 %defattr(644,root,root,755)
754 %attr(755,root,root) %{_libdir}/libhowl.so
755 %{_libdir}/libhowl.la
756 %{_includedir}/avahi-compat-howl
757 %{_pkgconfigdir}/avahi-compat-howl.pc
758 %{_pkgconfigdir}/howl.pc
759
760 %files compat-howl-static
761 %defattr(644,root,root,755)
762 %{_libdir}/libhowl.a
763
764 %files -n python-avahi
765 %defattr(644,root,root,755)
766 %{py_sitedir}/avahi
767
768 %if %{with dotnet}
769 %files -n dotnet-avahi
770 %defattr(644,root,root,755)
771 %{_prefix}/lib/mono/gac/avahi-sharp
772
773 %files -n dotnet-avahi-devel
774 %defattr(644,root,root,755)
775 %{_prefix}/lib/mono/avahi-sharp
776 %{_prefix}/lib/monodoc/sources/avahi-sharp-docs.*
777 %{_pkgconfigdir}/avahi-sharp.pc
778
779 %files -n dotnet-avahi-ui
780 %defattr(644,root,root,755)
781 %{_prefix}/lib/mono/gac/avahi-ui-sharp
782
783 %files -n dotnet-avahi-ui-devel
784 %defattr(644,root,root,755)
785 %{_prefix}/lib/mono/avahi-ui-sharp
786 %{_prefix}/lib/monodoc/sources/avahi-ui-sharp-docs.*
787 %{_pkgconfigdir}/avahi-ui-sharp.pc
788 %endif
789
790 %files glib
791 %defattr(644,root,root,755)
792 %attr(755,root,root) %{_libdir}/libavahi-glib.so.*.*.*
793 %attr(755,root,root) %ghost %{_libdir}/libavahi-glib.so.1
794
795 %files glib-devel
796 %defattr(644,root,root,755)
797 %attr(755,root,root) %{_libdir}/libavahi-glib.so
798 %{_libdir}/libavahi-glib.la
799 %{_includedir}/avahi-glib
800 %{_pkgconfigdir}/avahi-glib.pc
801
802 %files glib-static
803 %defattr(644,root,root,755)
804 %{_libdir}/libavahi-glib.a
805
806 %files gobject
807 %defattr(644,root,root,755)
808 %attr(755,root,root) %{_libdir}/libavahi-gobject.so.*.*.*
809 %attr(755,root,root) %ghost %{_libdir}/libavahi-gobject.so.0
810
811 %files gobject-devel
812 %defattr(644,root,root,755)
813 %attr(755,root,root) %{_libdir}/libavahi-gobject.so
814 %{_libdir}/libavahi-gobject.la
815 %{_includedir}/avahi-gobject
816 %{_pkgconfigdir}/avahi-gobject.pc
817
818 %files gobject-static
819 %defattr(644,root,root,755)
820 %{_libdir}/libavahi-gobject.a
821
822 %if %{with qt3}
823 %files qt
824 %defattr(644,root,root,755)
825 %attr(755,root,root) %{_libdir}/libavahi-qt3.so.*.*.*
826 %attr(755,root,root) %ghost %{_libdir}/libavahi-qt3.so.1
827
828 %files qt-devel
829 %defattr(644,root,root,755)
830 %attr(755,root,root) %{_libdir}/libavahi-qt3.so
831 %{_libdir}/libavahi-qt3.la
832 %{_includedir}/avahi-qt3
833 %{_pkgconfigdir}/avahi-qt3.pc
834
835 %files qt-static
836 %defattr(644,root,root,755)
837 %{_libdir}/libavahi-qt3.a
838 %endif
839
840 %if %{with qt4}
841 %files Qt
842 %defattr(644,root,root,755)
843 %attr(755,root,root) %{_libdir}/libavahi-qt4.so.*.*.*
844 %attr(755,root,root) %ghost %{_libdir}/libavahi-qt4.so.1
845
846 %files Qt-devel
847 %defattr(644,root,root,755)
848 %attr(755,root,root) %{_libdir}/libavahi-qt4.so
849 %{_libdir}/libavahi-qt4.la
850 %{_includedir}/avahi-qt4
851 %{_pkgconfigdir}/avahi-qt4.pc
852
853 %files Qt-static
854 %defattr(644,root,root,755)
855 %{_libdir}/libavahi-qt4.a
856 %endif
857
858 %files bookmarks
859 %defattr(644,root,root,755)
860 %attr(755,root,root) %{_bindir}/avahi-bookmarks
861 %{_mandir}/man1/avahi-bookmarks.1*
862
863 %files discover
864 %defattr(644,root,root,755)
865 %attr(755,root,root) %{_bindir}/avahi-discover
866 %{py_sitedir}/avahi_discover
867 %{_datadir}/%{name}/interfaces/avahi-discover.glade
868 %{_desktopdir}/avahi-discover.desktop
869 %{_pixmapsdir}/avahi.png
870 %{_mandir}/man1/avahi-discover.1*
871
872 %files discover-standalone
873 %defattr(644,root,root,755)
874 %attr(755,root,root) %{_bindir}/avahi-discover-standalone
875 %{_datadir}/%{name}/interfaces/avahi-discover-standalone.glade
876
877 %files utils
878 %defattr(644,root,root,755)
879 %attr(755,root,root) %{_bindir}/avahi-browse
880 %attr(755,root,root) %{_bindir}/avahi-browse-domains
881 %attr(755,root,root) %{_bindir}/avahi-publish
882 %attr(755,root,root) %{_bindir}/avahi-publish-address
883 %attr(755,root,root) %{_bindir}/avahi-publish-service
884 %attr(755,root,root) %{_bindir}/avahi-resolve
885 %attr(755,root,root) %{_bindir}/avahi-resolve-address
886 %attr(755,root,root) %{_bindir}/avahi-resolve-host-name
887 %{_mandir}/man1/avahi-browse.1*
888 %{_mandir}/man1/avahi-browse-domains.1*
889 %{_mandir}/man1/avahi-publish.1*
890 %{_mandir}/man1/avahi-publish-address.1*
891 %{_mandir}/man1/avahi-publish-service.1*
892 %{_mandir}/man1/avahi-resolve.1*
893 %{_mandir}/man1/avahi-resolve-address.1*
894 %{_mandir}/man1/avahi-resolve-host-name.1*
This page took 0.195751 seconds and 3 git commands to generate.