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