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