]> git.pld-linux.org Git - packages/avahi.git/blame - avahi.spec
- added gtk+3 subpackages
[packages/avahi.git] / avahi.spec
CommitLineData
87585768 1#
4f99a994
JK
2# TODO:
3# - finish with_apidocs
e3a440ad 4# - check BRs for gtk+3
5# - make gtk3 bcond enabled by default when gtk+3 will be stable
51860451 6# - introspection files
57b8d370 7# - dbus files
4f99a994 8#
84074ccc 9# Conditional build:
4f99a994 10%bcond_with apidocs # build API documentation
0b1041d5 11%bcond_without dotnet # build without dotnet bindings
4f99a994 12%bcond_without gtk # build without GTK+
e3a440ad 13%bcond_with gtk3 # build without GTK+3
4f99a994 14%bcond_without pygtk # build without PyGTK
0b1041d5
JB
15%bcond_without qt # build without (any) qt bindings
16%bcond_without qt3 # build without qt3 bindings
17%bcond_without qt4 # build without qt4 bindings
65bff097 18
0de8e40b 19%ifnarch %{ix86} %{x8664} alpha arm hppa ia64 mips ppc s390 s390x sparc sparcv9
b8100891 20%undefine with_dotnet
ac2efde5 21%endif
22%ifarch i386
b8100891 23%undefine with_dotnet
ac2efde5 24%endif
25
65bff097 26%if %{without qt}
0b1041d5
JB
27%undefine with_qt3
28%undefine with_qt4
29%endif
65bff097 30
bc0c3717 31%{?with_dotnet:%include /usr/lib/rpm/macros.mono}
b2d6640f
JK
32Summary: Free mDNS/DNS-SD/Zeroconf implementation
33Summary(pl.UTF-8): Wolna implementacja mDNS/DNS-SD/Zeroconf
84074ccc 34Name: avahi
28ceea5e 35Version: 0.6.28
f97a9b3d 36Release: 5
e91ebdcb 37License: LGPL v2.1+
84074ccc 38Group: Applications
021eb35e 39Source0: http://avahi.org/download/%{name}-%{version}.tar.gz
28ceea5e 40# Source0-md5: d0143a5aa3265019072e53ab497818d0
385ef799 41Source1: %{name}-daemon
42Source2: %{name}-dnsconfd
76a611b3 43Source3: %{name}.png
438dba17
JK
44Source4: %{name}-daemon.upstart
45Source5: %{name}-dnsconfd.upstart
cf57cb18 46Patch0: %{name}-desktop.patch
47Patch1: %{name}-glade.patch
65db52cd 48Patch2: %{name}-destdir.patch
844a35c9 49Patch3: %{name}-mono-dir.patch
65bff097 50Patch4: nss-mdns-package.patch
6823ab8f
JK
51Patch5: %{name}-dhclient_hooks.patch
52Patch6: %{name}-autoipd-sbin_ip.patch
84074ccc 53URL: http://avahi.org/
f6770c7e
JB
54BuildRequires: autoconf >= 2.63
55BuildRequires: automake >= 1:1.11
4da0d8d4 56BuildRequires: dbus-devel >= 0.92
4f99a994 57%if %{with apidocs}
84074ccc 58BuildRequires: doxygen
4f99a994
JK
59# for the 'dot' tool used by doxygen
60BuildRequires: graphviz
61%endif
84074ccc 62BuildRequires: expat-devel
63BuildRequires: gdbm-devel
9e3cdda2 64BuildRequires: gettext-devel
f6770c7e 65BuildRequires: gobject-introspection-devel >= 0.9.5
4f99a994 66%if %{with gtk}
4da0d8d4 67BuildRequires: glib2-devel >= 1:2.12.2
f6770c7e 68BuildRequires: gtk+2-devel >= 2:2.14.0
4f99a994
JK
69BuildRequires: libglade2-devel >= 1:2.6.0
70%endif
e3a440ad 71%if %{with gtk3}
72BuildRequires: glib2-devel
73BuildRequires: gtk+3-devel
74BuildRequires: libglade2-devel
75%endif
1baa9236 76BuildRequires: intltool >= 0.35
df02d559 77BuildRequires: libcap-devel
f6770c7e 78BuildRequires: libdaemon-devel >= 0.14
84074ccc 79BuildRequires: libtool
80%if %{with dotnet}
fcc1bce8 81BuildRequires: dotnet-gtk-sharp2-devel >= 2.10
312e39be 82BuildRequires: mono-csharp
e0c273b1 83BuildRequires: monodoc >= 2.6
84074ccc 84%endif
91126bd8 85BuildRequires: pkgconfig
5adae992 86BuildRequires: python >= 1:2.4
a702b91a 87BuildRequires: python-dbus >= 0.71
4f99a994 88%{?with_pygtk:BuildRequires: python-pygtk-devel >= 2:2.9.6}
0b1041d5 89%if %{with qt3}
a546f551 90BuildRequires: qt-devel >= 1:3.0
0b1041d5
JB
91%endif
92%if %{with qt4}
f6770c7e 93BuildRequires: QtCore-devel >= 4.0.0
91bdb504 94BuildRequires: qt4-build
528a0e79 95%endif
9e3cdda2 96BuildRequires: rpm-pythonprov
438dba17 97BuildRequires: rpmbuild(macros) >= 1.561
84074ccc 98Requires(post,preun): /sbin/chkconfig
99Requires: %{name}-libs = %{version}-%{release}
11dac41a 100Requires: dbus >= 0.92
f6770c7e 101Requires: libdaemon >= 0.14
438dba17 102Requires: rc-scripts >= 0.4.3
78a19f26 103Suggests: nss_mdns >= 0.10-2
76a611b3 104Provides: group(avahi)
5a4d6742 105Provides: user(avahi)
84074ccc 106BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
107
108%description
76a611b3 109Avahi is an implementation the DNS Service Discovery and Multicast DNS
110specifications for Zeroconf Computing. It uses D-BUS for communication
111between user applications and a system daemon.
84074ccc 112
bdc824d1
JR
113%description -l pl.UTF-8
114Avahi jest implementacją specyfikacji DNS Service Discovery i
115Multicast DNS dla Zeroconf Computing. Używa D-BUSa dla komunikacji
116pomiędzy programami użytkownika a demonem systemowym.
84074ccc 117
438dba17
JK
118%package upstart
119Summary: Upstart jobs description for Avahi daemons
120Summary(pl.UTF-8): Opis zadań Upstart dla demonów Avahi
121Group: Daemons
122Requires: %{name} = %{version}-%{release}
123Requires: upstart >= 0.6
124
125%description upstart
126Upstart jobs description for Avahi daemons.
127
128%description upstart -l pl.UTF-8
129Opis zadań Upstart dla demonów Avahi.
130
b2d6640f
JK
131%package autoipd
132Summary: IPv4LL network address configuration daemon
133Summary(pl.UTF-8): Demon configurujący adresy IPv4LL
134Group: Networking/Daemons
45e53a0f
ER
135Requires(postun): /usr/sbin/groupdel
136Requires(postun): /usr/sbin/userdel
137Requires(pre): /bin/id
138Requires(pre): /usr/bin/getgid
139Requires(pre): /usr/sbin/groupadd
140Requires(pre): /usr/sbin/useradd
3fe97cfe
JK
141Provides: group(avahi)
142Provides: user(avahi)
b2d6640f
JK
143
144%description autoipd
45e53a0f
ER
145avahi-autoipd implements IPv4LL, "Dynamic Configuration of IPv4 Link-
146Local Addresses" (IETF RFC3927), a protocol for automatic IP address
147configuration from the link-local 169.254.0.0/16 range without the
148need for a central server. It is primarily intended to be used in
149ad-hoc networks which lack a DHCP server.
b2d6640f
JK
150
151IPv4LL is part of the Zeroconf stack.
152
153%description autoipd -l pl.UTF-8
154avahi-autoipd jest implementacją IPv4LL, protokołu umożliwiającego
155automatyczną konfigurację adresu z zakresu 169.254.0.0/16 bez potrzeby
45e53a0f
ER
156użycia centralnego serwera. Jego głównym zastosowaniem są sieci
157ad-hoc, w których brakuje serwera DHCP.
b2d6640f
JK
158
159IPv4LL jest częścią stosu Zeroconf.
160
84074ccc 161%package libs
162Summary: Avahi client, common and core libraries
bfc0e078 163Summary(pl.UTF-8): Biblioteki Avahi: klienta, wspólna i główna
84074ccc 164Group: Libraries
165
166%description libs
167Avahi client, common and core libraries.
168
bdc824d1
JR
169%description libs -l pl.UTF-8
170Biblioteki Avahi: klienta, wspólna i główna.
84074ccc 171
172%package devel
173Summary: Header files for Avahi library
bfc0e078 174Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi
84074ccc 175Group: Development/Libraries
176Requires: %{name}-libs = %{version}-%{release}
4da0d8d4 177Requires: dbus-devel >= 0.92
84074ccc 178Requires: expat-devel
84074ccc 179
180%description devel
181This is the package containing the header files for Avahi library.
182
bdc824d1
JR
183%description devel -l pl.UTF-8
184Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi.
84074ccc 185
186%package static
187Summary: Static Avahi library
bfc0e078 188Summary(pl.UTF-8): Statyczna biblioteka Avahi
84074ccc 189Group: Development/Libraries
190Requires: %{name}-devel = %{version}-%{release}
191
192%description static
193Static Avahi library.
194
bdc824d1 195%description static -l pl.UTF-8
84074ccc 196Statyczna biblioteka Avahi.
197
fcc1bce8
JB
198%package ui
199Summary: Avahi UI library
200Summary(pl.UTF-8): Biblioteka Avahi UI
201Group: X11/Libraries
202Requires: %{name}-libs = %{version}-%{release}
f6770c7e 203Requires: gtk+2 >= 2:2.14.0
fcc1bce8
JB
204
205%description ui
206Common GTK+ UI support library for Avahi.
207
208%description ui -l pl.UTF-8
209Biblioteka wspólnego interfejsu użytkownika GTK+ dla Avahi.
210
211%package ui-devel
212Summary: Header files for Avahi UI library
213Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI
214Group: X11/Development/Libraries
215Requires: %{name}-devel = %{version}-%{release}
216Requires: %{name}-ui = %{version}-%{release}
f97a9b3d 217Requires: %{name}-ui-devel-common = %{version}-%{release}
f6770c7e 218Requires: gtk+2-devel >= 2:2.14.0
fcc1bce8
JB
219
220%description ui-devel
221Header files for Avahi UI library.
222
223%description ui-devel -l pl.UTF-8
224Pliki nagłówkowe biblioteki Avahi UI.
225
226%package ui-static
227Summary: Static Avahi UI library
228Summary(pl.UTF-8): Statyczna biblioteka Avahi UI
229Group: X11/Development/Libraries
230Requires: %{name}-ui-devel = %{version}-%{release}
231
232%description ui-static
233Static Avahi UI library.
234
235%description ui-static -l pl.UTF-8
236Statyczna biblioteka Avahi UI.
237
f97a9b3d
AF
238%package ui-devel-common
239Summary: Header files for Avahi UI library
240Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI
241Group: X11/Development/Libraries
242Requires: %{name}-devel = %{version}-%{release}
243
244%description ui-devel-common
245Header files for Avahi UI library.
246
247%description ui-devel-common -l pl.UTF-8
248Pliki nagłówkowe biblioteki Avahi GTK+ UI.
249
250%package ui-gtk3
251Summary: Avahi UI library - GTK+ 3.x version
252Summary(pl.UTF-8): Biblioteka Avahi UI - wersja dla GTK+ 3.x
253Group: X11/Libraries
254Requires: %{name}-libs = %{version}-%{release}
255
256%description ui-gtk3
257Common GTK+ 3.x UI support library for Avahi.
258
259%description ui-gtk3 -l pl.UTF-8
260Biblioteka wspólnego interfejsu użytkownika GTK+ 3.x dla Avahi.
261
262%package ui-gtk3-devel
263Summary: Header files for Avahi UI library - GTK+ 3.x version
264Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI - wersja dla GTK+ 3.x
265Group: X11/Development/Libraries
266Requires: %{name}-devel = %{version}-%{release}
267Requires: %{name}-ui-devel-common = %{version}-%{release}
268Requires: %{name}-ui-gtk3 = %{version}-%{release}
269
270%description ui-gtk3-devel
271Header files for Avahi GTK+ 3.x UI library.
272
273%description ui-devel -l pl.UTF-8
274Pliki nagłówkowe biblioteki Avahi GTK+ 3.x UI.
275
276%package ui-gtk3-static
277Summary: Static Avahi UI library - GTK+ 3.x version
278Summary(pl.UTF-8): Statyczna biblioteka Avahi UI - wersja GTK+ 3.x
279Group: X11/Development/Libraries
280Requires: %{name}-ui-gtk3-devel = %{version}-%{release}
281
282%description ui-gtk3-static
283Static Avahi GTK+ 3.x UI library.
284
285%description ui-gtk3-static -l pl.UTF-8
286Statyczna biblioteka Avahi GTK+ 3.x UI.
287
e5a53780 288%package compat-libdns_sd
289Summary: Avahi Bonjour compat library
bfc0e078 290Summary(pl.UTF-8): Biblioteka Avahi zgodna z Bonjour
e5a53780 291Group: Libraries
097a1f90 292Provides: mdns-bonjour
293Obsoletes: mDNSResponder-libs
e5a53780 294
295%description compat-libdns_sd
296Avahi Bonjour compat library.
297
bdc824d1 298%description compat-libdns_sd -l pl.UTF-8
e5a53780 299Biblioteka Avahi zgodna z Bonjour.
300
301%package compat-libdns_sd-devel
302Summary: Header files for Avahi Bonjour compat library
bfc0e078 303Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour
e5a53780 304Group: Development/Libraries
18aba392 305Requires: %{name}-compat-libdns_sd = %{version}-%{release}
20654292 306Requires: %{name}-devel = %{version}-%{release}
097a1f90 307Provides: mdns-bonjour-devel
308Obsoletes: mDNSResponder-devel
e5a53780 309
310%description compat-libdns_sd-devel
311Header files for Avahi Bonjour compat library.
312
bdc824d1
JR
313%description compat-libdns_sd-devel -l pl.UTF-8
314Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour.
e5a53780 315
316%package compat-libdns_sd-static
317Summary: Static Avahi Bonjour compat library
bfc0e078 318Summary(pl.UTF-8): Statyczna biblioteka Avahi zgodna z Bonjour
e5a53780 319Group: Development/Libraries
65db52cd 320Requires: %{name}-compat-libdns_sd-devel = %{version}-%{release}
097a1f90 321Provides: mdns-bonjour-static
e5a53780 322
323%description compat-libdns_sd-static
de4c7c2f 324Static Avahi Bonjour compat library.
e5a53780 325
bdc824d1 326%description compat-libdns_sd-static -l pl.UTF-8
de4c7c2f 327Statyczna biblioteka Avahi zgodna z Bonjour.
e5a53780 328
20c3c94e 329%package compat-howl
330Summary: Avahi Howl compat library
bfc0e078 331Summary(pl.UTF-8): Biblioteka Avahi zgodna z Howl
20c3c94e 332Group: Libraries
dc5f5072 333Provides: mdns-howl-libs
672bcc85 334Obsoletes: howl-libs
20c3c94e 335
336%description compat-howl
337Avahi Howl compat library.
338
bdc824d1 339%description compat-howl -l pl.UTF-8
20c3c94e 340Biblioteka Avahi zgodna z Howl.
341
342%package compat-howl-devel
343Summary: Header files for Avahi Howl compat library
bfc0e078 344Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl
20c3c94e 345Group: Development/Libraries
346Requires: %{name}-compat-howl = %{version}-%{release}
2e5aa879 347Requires: %{name}-devel = %{version}-%{release}
dc5f5072 348Provides: mdns-howl-devel
672bcc85 349Obsoletes: howl-devel
20c3c94e 350
351%description compat-howl-devel
352Header files for Avahi Howl compat library.
353
bdc824d1
JR
354%description compat-howl-devel -l pl.UTF-8
355Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl.
20c3c94e 356
357%package compat-howl-static
358Summary: Static Avahi Howl compat library
bfc0e078 359Summary(pl.UTF-8): Statyczna biblioteka Avahi zgodna z Howl
20c3c94e 360Group: Development/Libraries
65db52cd 361Requires: %{name}-compat-howl-devel = %{version}-%{release}
dc5f5072 362Provides: mdns-howl-static
672bcc85 363Obsoletes: howl-static
20c3c94e 364
365%description compat-howl-static
366Static Avahi Howl compat library.
367
bdc824d1 368%description compat-howl-static -l pl.UTF-8
20c3c94e 369Statyczna biblioteka Avahi zgodna z Howl.
370
84074ccc 371%package glib
372Summary: Avahi GLib library bindings
bfc0e078 373Summary(pl.UTF-8): Wiązania Avahi dla bibioteki GLib
84074ccc 374Group: Libraries
375
376%description glib
377Avahi GLib library bindings.
378
bdc824d1
JR
379%description glib -l pl.UTF-8
380Wiązania Avahi dla bibioteki GLib.
84074ccc 381
382%package glib-devel
383Summary: Header files for Avahi GLib library bindings
bfc0e078 384Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki GLib
84074ccc 385Group: Development/Libraries
a47dabc0 386Requires: %{name}-devel = %{version}-%{release}
76a611b3 387Requires: %{name}-glib = %{version}-%{release}
4da0d8d4 388Requires: glib2-devel >= 1:2.12.2
84074ccc 389
390%description glib-devel
76a611b3 391This is the package containing the header files for Avahi-glib
392library.
84074ccc 393
bdc824d1
JR
394%description glib-devel -l pl.UTF-8
395Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi-glib.
84074ccc 396
397%package glib-static
398Summary: Static Avahi GLib library
bfc0e078 399Summary(pl.UTF-8): Statyczna biblioteka Avahi GLib
84074ccc 400Group: Development/Libraries
401Requires: %{name}-glib-devel = %{version}-%{release}
402
403%description glib-static
404Static Avahi GLib library.
405
bdc824d1 406%description glib-static -l pl.UTF-8
84074ccc 407Statyczna biblioteka Avahi GLib.
408
844a35c9
JB
409%package gobject
410Summary: Avahi GObject interface
411Summary(pl.UTF-8): Interfejs GObject do Avahi
412Group: Libraries
413
414%description gobject
415Avahi GObject interface.
416
417%description gobject -l pl.UTF-8
418Interfejs GObject do Avahi.
419
420%package gobject-devel
421Summary: Header files for Avahi GObject interface
422Summary(pl.UTF-8): Pliki nagłówkowe interfejsu GObject do Avahi
423Group: Development/Libraries
424Requires: %{name}-devel = %{version}-%{release}
425Requires: %{name}-gobject = %{version}-%{release}
426Requires: glib2-devel >= 1:2.12.2
427
428%description gobject-devel
429This is the package containing the header files for Avahi GObject
430interface.
431
432%description gobject-devel -l pl.UTF-8
433Ten pakiet zawiera pliki nagłówkowe interfejsu GObject do Avahi.
434
435%package gobject-static
436Summary: Static Avahi GObject library
437Summary(pl.UTF-8): Statyczna biblioteka Avahi GObject
438Group: Development/Libraries
439Requires: %{name}-gobject-devel = %{version}-%{release}
440
441%description gobject-static
442Static Avahi GObject library.
443
444%description gobject-static -l pl.UTF-8
445Statyczna biblioteka Avahi GObject.
446
91bdb504 447%package qt
84074ccc 448Summary: Avahi Qt 3 library bindings
bfc0e078 449Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 3
84074ccc 450Group: Libraries
451Requires: %{name}-libs = %{version}-%{release}
91bdb504 452Obsoletes: avahi-qt3
84074ccc 453
91bdb504 454%description qt
84074ccc 455Avahi Qt 3 library bindings.
456
bdc824d1
JR
457%description qt -l pl.UTF-8
458Wiązania Avahi dla biblioteki Qt 3.
84074ccc 459
91bdb504 460%package qt-devel
84074ccc 461Summary: Header files for Avahi Qt 3 library bindings
bfc0e078 462Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3
84074ccc 463Group: Development/Libraries
a47dabc0 464Requires: %{name}-devel = %{version}-%{release}
91bdb504 465Requires: %{name}-qt = %{version}-%{release}
a546f551 466Requires: qt-devel >= 1:3.0
91bdb504 467Obsoletes: avahi-qt3-devel
84074ccc 468
91bdb504 469%description qt-devel
84074ccc 470Header files for Avahi Qt 3 library bindings.
471
bdc824d1
JR
472%description qt-devel -l pl.UTF-8
473Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3.
84074ccc 474
91bdb504 475%package qt-static
84074ccc 476Summary: Static Avahi Qt 3 library
bfc0e078 477Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 3
84074ccc 478Group: Development/Libraries
1d021e1b 479Requires: %{name}-qt-devel = %{version}-%{release}
91bdb504 480Obsoletes: avahi-qt3-static
84074ccc 481
91bdb504 482%description qt-static
84074ccc 483Static Avahi Qt 3 library.
484
bdc824d1 485%description qt-static -l pl.UTF-8
84074ccc 486Statyczna biblioteka Avahi Qt 3.
487
91bdb504
PS
488%package Qt
489Summary: Avahi Qt 4 library bindings
bfc0e078 490Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 4
91bdb504
PS
491Group: Libraries
492Requires: %{name}-libs = %{version}-%{release}
493
494%description Qt
495Avahi Qt 4 library bindings.
496
bdc824d1
JR
497%description Qt -l pl.UTF-8
498Wiązania Avahi dla biblioteki Qt 4.
91bdb504
PS
499
500%package Qt-devel
8aa3f304 501Summary: Header files for Avahi Qt 4 library bindings
bfc0e078 502Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4
91bdb504 503Group: Development/Libraries
91bdb504 504Requires: %{name}-Qt = %{version}-%{release}
9e3cdda2 505Requires: %{name}-devel = %{version}-%{release}
91bdb504
PS
506
507%description Qt-devel
508Header files for Avahi Qt 4 library bindings.
509
bdc824d1
JR
510%description Qt-devel -l pl.UTF-8
511Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4.
91bdb504
PS
512
513%package Qt-static
514Summary: Static Avahi Qt 4 library
bfc0e078 515Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 4
91bdb504
PS
516Group: Development/Libraries
517Requires: %{name}-Qt-devel = %{version}-%{release}
518
519%description Qt-static
520Static Avahi Qt 4 library.
521
bdc824d1 522%description Qt-static -l pl.UTF-8
91bdb504
PS
523Statyczna biblioteka Avahi Qt 4.
524
2fa0b6d5
PZ
525%package -n python-avahi
526Summary: Avahi Python bindings
527Summary(pl.UTF-8): Wiązania Avahi dla Pythona
528Group: Development/Languages/Python
fcc1bce8 529Requires: %{name}-libs = %{version}-%{release}
2fa0b6d5
PZ
530Requires: python-dbus >= 0.71
531
532%description -n python-avahi
533Avahi Python bindings.
534
535%description -n python-avahi -l pl.UTF-8
536Wiązania Avahi dla Pythona.
537
84074ccc 538%package -n dotnet-avahi
539Summary: Avahi MONO bindings
bfc0e078 540Summary(pl.UTF-8): Wiązania Avahi dla MONO
84074ccc 541Group: Libraries
fcc1bce8 542Requires: %{name}-libs = %{version}-%{release}
84074ccc 543
544%description -n dotnet-avahi
545Avahi MONO bindings.
546
bdc824d1
JR
547%description -n dotnet-avahi -l pl.UTF-8
548Wiązania Avahi dla MONO.
84074ccc 549
550%package -n dotnet-avahi-devel
551Summary: Development files for MONO Avahi bindings
bfc0e078 552Summary(pl.UTF-8): Pliki rozwojowe wiązań Avahi dla MONO
84074ccc 553Group: Development/Libraries
76a611b3 554Requires: dotnet-avahi = %{version}-%{release}
e0c273b1 555Requires: monodoc >= 2.6
84074ccc 556
557%description -n dotnet-avahi-devel
558Development files for MONO Avahi bindings.
559
bdc824d1
JR
560%description -n dotnet-avahi-devel -l pl.UTF-8
561Pliki rozwojowe wiązań Avahi dla MONO.
84074ccc 562
fcc1bce8
JB
563%package -n dotnet-avahi-ui
564Summary: Avahi UI MONO bindings
565Summary(pl.UTF-8): Wiązania Avahi UI dla MONO
566Group: X11/Libraries
567Requires: %{name}-ui = %{version}-%{release}
568Requires: dotnet-avahi = %{version}-%{release}
569
570%description -n dotnet-avahi-ui
571Avahi UI MONO bindings.
572
573%description -n dotnet-avahi-ui -l pl.UTF-8
574Wiązania Avahi UI dla MONO.
575
576%package -n dotnet-avahi-ui-devel
577Summary: Development files for MONO Avahi UI bindings
578Summary(pl.UTF-8): Pliki rozwojowe wiązań Avahi UI dla MONO
579Group: X11/Development/Libraries
580Requires: dotnet-avahi-ui = %{version}-%{release}
e0c273b1 581Requires: monodoc >= 2.6
fcc1bce8
JB
582
583%description -n dotnet-avahi-ui-devel
584Development files for MONO Avahi UI bindings.
585
586%description -n dotnet-avahi-ui-devel -l pl.UTF-8
587Pliki rozwojowe wiązań Avahi UI dla MONO.
588
84074ccc 589%package bookmarks
590Summary: Miniature web server
87265823 591Summary(pl.UTF-8): Miniaturowy serwer WWW
76a611b3 592Group: Applications
84074ccc 593
594%description bookmarks
595A Python based miniature web server that browses for mDNS/DNS-SD
596services of type '_http._tcp' (i.e. web sites) and makes them
672bcc85 597available as HTML links on http://localhost:8080/.
76a611b3 598
bdc824d1
JR
599%description bookmarks -l pl.UTF-8
600Napisany w Pythonie miniaturowy serwer WWW, pozwalający na
601przeglądanie usług typu '_http._tcp' (np. stron WWW) i udostępniający
602je jako odnośniki HTML na http://localhost:8080/.
84074ccc 603
604%package discover
605Summary: Avahi Zeroconf browser
bfc0e078 606Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi
76a611b3 607Group: Applications
2fa0b6d5 608Requires: python-avahi = %{version}-%{release}
a702b91a 609Requires: python-pygtk-glade >= 2:2.9.6
84074ccc 610
611%description discover
76a611b3 612A tool for enumerating all available services on the local LAN
613(python-pygtk implementation).
84074ccc 614
bdc824d1
JR
615%description discover -l pl.UTF-8
616Narzędzie wymieniające wszystkie dostępne usługi w sieci lokalnej LAN
76a611b3 617(implementacja w python-pygtk).
84074ccc 618
619%package discover-standalone
620Summary: Avahi Zeroconf browser
bfc0e078 621Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi
76a611b3 622Group: Applications
844a35c9 623Requires: %{name}-glib = %{version}-%{release}
84074ccc 624
625%description discover-standalone
626GTK+ tool for enumerating all available services on the local LAN.
627
bdc824d1
JR
628%description discover-standalone -l pl.UTF-8
629Narzędzie GTK+ wymieniające wszystkie dostępne usługi w sieci lokalnej
76a611b3 630LAN.
84074ccc 631
632%package utils
633Summary: Avahi CLI utilities
bfc0e078 634Summary(pl.UTF-8): Narzędzia CLI Avahi
76a611b3 635Group: Applications
84074ccc 636
637%description utils
638Command line utilities using avahi-client.
639
bdc824d1
JR
640%description utils -l pl.UTF-8
641Narzędzia linii poleceń korzystające z avahi-client.
84074ccc 642
643%prep
644%setup -q
cf57cb18 645%patch0 -p1
646%patch1 -p1
65db52cd 647%patch2 -p1
e3381b19 648%patch3 -p1
65bff097 649%patch4 -p1
6823ab8f
JK
650%patch5 -p1
651%patch6 -p1
84074ccc 652
653%build
1baa9236 654%{__intltoolize}
84074ccc 655%{__libtoolize}
656%{__aclocal} -I common
657%{__autoconf}
658%{__autoheader}
659%{__automake}
660%configure \
57b8d370 661 --disable-silent-rules \
e5a53780 662 --enable-compat-libdns_sd \
20c3c94e 663 --enable-compat-howl \
84074ccc 664 --with-distro=none \
4f99a994
JK
665 %{!?with_apidocs:--disable-doxygen-doc} \
666 %{!?with_gtk:--disable-gtk} \
e3a440ad 667 %{!?with_gtk3:--disable-gtk3} \
4f99a994 668 %{!?with_pygtk:--disable-pygtk} \
0b1041d5
JB
669 %{!?with_qt3:--disable-qt3} \
670 %{!?with_qt4:--disable-qt4} \
84074ccc 671 %{!?with_dotnet:--disable-mono} \
b34bc075
JK
672 %{!?with_dotnet:--disable-monodoc} \
673 --with-avahi-priv-access-group=adm \
674 --with-autoipd-user=avahi \
45e53a0f 675 --with-autoipd-group=avahi
84074ccc 676%{__make}
677
678%install
679rm -rf $RPM_BUILD_ROOT
438dba17 680install -d $RPM_BUILD_ROOT{%{_pixmapsdir},/etc/rc.d/init.d,/etc/init}
84074ccc 681
682%{__make} install \
683 DESTDIR=$RPM_BUILD_ROOT \
684 pythondir=%{py_sitedir}
385ef799 685
65bff097
ER
686install -p %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d
687cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
385ef799 688
438dba17
JK
689install %{SOURCE4} $RPM_BUILD_ROOT/etc/init/avahi-daemon.conf
690install %{SOURCE5} $RPM_BUILD_ROOT/etc/init/avahi-dnsconfd.conf
691
c3bb95bb 692ln -sf %{_includedir}/avahi-compat-libdns_sd/dns_sd.h \
693 $RPM_BUILD_ROOT%{_includedir}/dns_sd.h
694
20c3c94e 695ln -sf %{_pkgconfigdir}/avahi-compat-howl.pc \
696 $RPM_BUILD_ROOT%{_pkgconfigdir}/howl.pc
697
438dba17
JK
698%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
699%py_comp $RPM_BUILD_ROOT%{py_sitedir}
700%py_postclean
84074ccc 701
f97a9b3d 702%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/{avahi-{browse-domains,publish-address,publish-service,resolve-address,resolve-host-name},bvnc}.1
4abede57
MB
703echo '.so avahi-browse.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-browse-domains.1
704echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-address.1
705echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-service.1
706echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-address.1
707echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-host-name.1
5234c9c3 708echo '.so bssh.1' > $RPM_BUILD_ROOT%{_mandir}/man1/bvnc.1
f97a9b3d
AF
709echo '.so bssh.1' > $RPM_BUILD_ROOT%{_mandir}/man1/bshell.1
710
711%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
021eb35e 712
844a35c9
JB
713%find_lang %{name}
714
84074ccc 715%clean
716rm -rf $RPM_BUILD_ROOT
717
f97f8264 718%pre
611ce39d 719%groupadd -g 165 -r -f avahi
720%useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi
f97f8264 721
3fe97cfe
JK
722%pre autoipd
723%groupadd -g 165 -r -f avahi
724%useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi
725
84074ccc 726%post
385ef799 727/sbin/chkconfig --add %{name}-daemon
728%service %{name}-daemon restart
729/sbin/chkconfig --add %{name}-dnsconfd
730%service %{name}-dnsconfd restart
84074ccc 731
732%preun
733if [ "$1" = "0" ]; then
385ef799 734 %service -q %{name}-dnsconfd stop
735 /sbin/chkconfig --del %{name}-dnsconfd
736 %service -q %{name}-daemon stop
737 /sbin/chkconfig --del %{name}-daemon
84074ccc 738fi
84074ccc 739
76a611b3 740%postun
741if [ "$1" = "0" ]; then
45e53a0f
ER
742 %userremove avahi
743 %groupremove avahi
744fi
745
746%postun autoipd
747if [ "$1" = "0" ]; then
748 %userremove avahi
f97f8264 749 %groupremove avahi
750fi
f97f8264 751
438dba17
JK
752%post upstart
753%upstart_post avahi-daemon
754%upstart_post avahi-dnsconfd
755
756%postun upstart
757%upstart_postun avahi-daemon
758%upstart_postun avahi-dnsconfd
759
84074ccc 760%post libs -p /sbin/ldconfig
761%postun libs -p /sbin/ldconfig
762
fcc1bce8
JB
763%post ui -p /sbin/ldconfig
764%postun ui -p /sbin/ldconfig
765
f97a9b3d
AF
766%post ui-gtk3 -p /sbin/ldconfig
767%postun ui-gtk3 -p /sbin/ldconfig
768
e5a53780 769%post compat-libdns_sd -p /sbin/ldconfig
770%postun compat-libdns_sd -p /sbin/ldconfig
771
20c3c94e 772%post compat-howl -p /sbin/ldconfig
773%postun compat-howl -p /sbin/ldconfig
774
84074ccc 775%post glib -p /sbin/ldconfig
776%postun glib -p /sbin/ldconfig
777
844a35c9
JB
778%post gobject -p /sbin/ldconfig
779%postun gobject -p /sbin/ldconfig
780
91bdb504
PS
781%post qt -p /sbin/ldconfig
782%postun qt -p /sbin/ldconfig
783
784%post Qt -p /sbin/ldconfig
785%postun Qt -p /sbin/ldconfig
84074ccc 786
787%files
788%defattr(644,root,root,755)
789%doc docs/AUTHORS docs/COMPAT-LAYERS docs/NEWS docs/README docs/TODO
790
791%dir %{_sysconfdir}/avahi
792%dir %{_sysconfdir}/avahi/services
793%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-daemon.conf
794%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-dnsconfd.action
56321bc5 795%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/hosts
84074ccc 796%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/ssh.service
87585768 797%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/sftp-ssh.service
9e3cdda2 798%config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/*
84074ccc 799
4da0d8d4 800%attr(755,root,root) %{_bindir}/avahi-set-host-name
84074ccc 801
802%attr(755,root,root) %{_sbindir}/avahi-daemon
803%attr(755,root,root) %{_sbindir}/avahi-dnsconfd
87265823
JB
804%dir %{_libdir}/%{name}
805%{_libdir}/%{name}/service-types.db
e3a440ad 806#%%dir %{_datadir}/%{name}/introspection
807#%%{_datadir}/%{name}/introspection/*.introspect
84074ccc 808%{_datadir}/%{name}/avahi-service.dtd
809%{_datadir}/%{name}/service-types
87265823 810%{_datadir}/dbus-1/interfaces/org.freedesktop.Avahi.*.xml
84074ccc 811
844a35c9
JB
812%{_mandir}/man1/avahi-set-host-name.1*
813%{_mandir}/man5/avahi-daemon.conf.5*
814%{_mandir}/man5/avahi.hosts.5*
815%{_mandir}/man5/avahi.service.5*
816%{_mandir}/man8/avahi-daemon.8*
817%{_mandir}/man8/avahi-dnsconfd.8*
818%{_mandir}/man8/avahi-dnsconfd.action.8*
84074ccc 819
385ef799 820%attr(754,root,root) /etc/rc.d/init.d/%{name}-daemon
821%attr(754,root,root) /etc/rc.d/init.d/%{name}-dnsconfd
84074ccc 822
5d70d636 823%if "%{pld_release}" != "ti"
438dba17
JK
824%files upstart
825%defattr(644,root,root,755)
826%config(noreplace) %verify(not md5 mtime size) /etc/init/*.conf
5d70d636 827%endif
438dba17 828
b2d6640f
JK
829%files autoipd
830%defattr(644,root,root,755)
831%dir %{_sysconfdir}/avahi
87585768 832%attr(755,root,root) %{_sysconfdir}/%{name}/avahi-autoipd.action
6823ab8f
JK
833%config(noreplace) %verify(not md5 mtime size) /etc/dhclient-enter-hooks.d/avahi-autoipd
834%config(noreplace) %verify(not md5 mtime size) /etc/dhclient-exit-hooks.d/avahi-autoipd
87585768 835%attr(755,root,root) %{_sbindir}/avahi-autoipd
844a35c9
JB
836%{_mandir}/man8/avahi-autoipd.8*
837%{_mandir}/man8/avahi-autoipd.action.8*
87585768 838
844a35c9 839%files libs -f %{name}.lang
84074ccc 840%defattr(644,root,root,755)
841%attr(755,root,root) %{_libdir}/libavahi-client.so.*.*.*
844a35c9 842%attr(755,root,root) %ghost %{_libdir}/libavahi-client.so.3
84074ccc 843%attr(755,root,root) %{_libdir}/libavahi-common.so.*.*.*
844a35c9 844%attr(755,root,root) %ghost %{_libdir}/libavahi-common.so.3
84074ccc 845%attr(755,root,root) %{_libdir}/libavahi-core.so.*.*.*
e3a440ad 846%attr(755,root,root) %ghost %{_libdir}/libavahi-core.so.7
844a35c9
JB
847# common for -discover*
848%dir %{_datadir}/%{name}
849%dir %{_datadir}/%{name}/interfaces
84074ccc 850
851%files devel
852%defattr(644,root,root,755)
853%doc docs/API-CHANGES-0.6 docs/DBUS-API docs/HACKING docs/MALLOC
854%attr(755,root,root) %{_libdir}/libavahi-client.so
855%attr(755,root,root) %{_libdir}/libavahi-common.so
856%attr(755,root,root) %{_libdir}/libavahi-core.so
84074ccc 857%{_includedir}/avahi-client
858%{_includedir}/avahi-common
859%{_includedir}/avahi-core
860%{_pkgconfigdir}/avahi-client.pc
861%{_pkgconfigdir}/avahi-core.pc
862
863%files static
864%defattr(644,root,root,755)
865%{_libdir}/libavahi-client.a
866%{_libdir}/libavahi-common.a
867%{_libdir}/libavahi-core.a
868
4f99a994 869%if %{with gtk}
fcc1bce8
JB
870%files ui
871%defattr(644,root,root,755)
f97a9b3d
AF
872%attr(755,root,root) %{_libdir}/libavahi-ui.so.*.*.*
873%attr(755,root,root) %ghost %{_libdir}/libavahi-ui.so.0
874%if %{without gtk3}
51860451 875%attr(755,root,root) %{_bindir}/bshell
876%attr(755,root,root) %{_bindir}/bssh
877%attr(755,root,root) %{_bindir}/bvnc
f97a9b3d 878%{_mandir}/man1/bshell.1*
844a35c9
JB
879%{_mandir}/man1/bssh.1*
880%{_mandir}/man1/bvnc.1*
51860451 881%{_desktopdir}/bssh.desktop
882%{_desktopdir}/bvnc.desktop
f97a9b3d 883%endif
fcc1bce8
JB
884
885%files ui-devel
886%defattr(644,root,root,755)
51860451 887%attr(755,root,root) %{_libdir}/libavahi-ui.so
fcc1bce8
JB
888%{_pkgconfigdir}/avahi-ui.pc
889
890%files ui-static
891%defattr(644,root,root,755)
51860451 892%{_libdir}/libavahi-ui.a
4f99a994 893%endif
fcc1bce8 894
f97a9b3d
AF
895%if %{with gtk} || %{with gtk3}
896%files ui-devel-common
897%defattr(644,root,root,755)
898%{_includedir}/avahi-ui
899%endif
900
901%if %{with gtk3}
902%files ui-gtk3
903%defattr(644,root,root,755)
904%attr(755,root,root) %{_bindir}/bshell
905%attr(755,root,root) %{_bindir}/bssh
906%attr(755,root,root) %{_bindir}/bvnc
907%attr(755,root,root) %{_libdir}/libavahi-ui-gtk3.so.*.*.*
908%attr(755,root,root) %ghost %{_libdir}/libavahi-ui-gtk3.so.0
909%{_mandir}/man1/bshell.1*
910%{_mandir}/man1/bssh.1*
911%{_mandir}/man1/bvnc.1*
912%{_desktopdir}/bssh.desktop
913%{_desktopdir}/bvnc.desktop
914
915%files ui-gtk3-devel
916%defattr(644,root,root,755)
917%attr(755,root,root) %{_libdir}/libavahi-ui-gtk3.so
918%{_pkgconfigdir}/avahi-ui-gtk3.pc
919
920%files ui-gtk3-static
921%defattr(644,root,root,755)
922%{_libdir}/libavahi-ui-gtk3.a
923%endif
924
e5a53780 925%files compat-libdns_sd
926%defattr(644,root,root,755)
927%attr(755,root,root) %{_libdir}/libdns_sd.so.*.*.*
844a35c9 928%attr(755,root,root) %ghost %{_libdir}/libdns_sd.so.1
e5a53780 929
930%files compat-libdns_sd-devel
931%defattr(644,root,root,755)
932%attr(755,root,root) %{_libdir}/libdns_sd.so
e5a53780 933%{_includedir}/avahi-compat-libdns_sd
c3bb95bb 934%{_includedir}/dns_sd.h
e5a53780 935%{_pkgconfigdir}/avahi-compat-libdns_sd.pc
936
937%files compat-libdns_sd-static
938%defattr(644,root,root,755)
939%{_libdir}/libdns_sd.a
940
20c3c94e 941%files compat-howl
942%defattr(644,root,root,755)
943%attr(755,root,root) %{_libdir}/libhowl.so.*.*.*
844a35c9 944%attr(755,root,root) %ghost %{_libdir}/libhowl.so.0
20c3c94e 945
946%files compat-howl-devel
947%defattr(644,root,root,755)
948%attr(755,root,root) %{_libdir}/libhowl.so
20c3c94e 949%{_includedir}/avahi-compat-howl
950%{_pkgconfigdir}/avahi-compat-howl.pc
951%{_pkgconfigdir}/howl.pc
952
953%files compat-howl-static
954%defattr(644,root,root,755)
955%{_libdir}/libhowl.a
956
2fa0b6d5
PZ
957%files -n python-avahi
958%defattr(644,root,root,755)
959%{py_sitedir}/avahi
960
51f19ad8 961%if %{with dotnet}
962%files -n dotnet-avahi
963%defattr(644,root,root,755)
964%{_prefix}/lib/mono/gac/avahi-sharp
84074ccc 965
51f19ad8 966%files -n dotnet-avahi-devel
967%defattr(644,root,root,755)
5bd74609 968%{_prefix}/lib/mono/avahi-sharp
88f6455e 969%{_prefix}/lib/monodoc/sources/avahi-sharp-docs.*
48163b45 970%{_pkgconfigdir}/avahi-sharp.pc
fcc1bce8
JB
971
972%files -n dotnet-avahi-ui
973%defattr(644,root,root,755)
974%{_prefix}/lib/mono/gac/avahi-ui-sharp
975
976%files -n dotnet-avahi-ui-devel
977%defattr(644,root,root,755)
fcc1bce8 978%{_prefix}/lib/mono/avahi-ui-sharp
88f6455e 979%{_prefix}/lib/monodoc/sources/avahi-ui-sharp-docs.*
fcc1bce8 980%{_pkgconfigdir}/avahi-ui-sharp.pc
51f19ad8 981%endif
84074ccc 982
983%files glib
984%defattr(644,root,root,755)
985%attr(755,root,root) %{_libdir}/libavahi-glib.so.*.*.*
844a35c9 986%attr(755,root,root) %ghost %{_libdir}/libavahi-glib.so.1
84074ccc 987
988%files glib-devel
989%defattr(644,root,root,755)
990%attr(755,root,root) %{_libdir}/libavahi-glib.so
84074ccc 991%{_includedir}/avahi-glib
992%{_pkgconfigdir}/avahi-glib.pc
993
994%files glib-static
995%defattr(644,root,root,755)
996%{_libdir}/libavahi-glib.a
997
844a35c9
JB
998%files gobject
999%defattr(644,root,root,755)
1000%attr(755,root,root) %{_libdir}/libavahi-gobject.so.*.*.*
1001%attr(755,root,root) %ghost %{_libdir}/libavahi-gobject.so.0
87265823
JB
1002%{_libdir}/girepository-1.0/Avahi-0.6.typelib
1003%{_libdir}/girepository-1.0/AvahiCore-0.6.typelib
844a35c9
JB
1004
1005%files gobject-devel
1006%defattr(644,root,root,755)
1007%attr(755,root,root) %{_libdir}/libavahi-gobject.so
844a35c9
JB
1008%{_includedir}/avahi-gobject
1009%{_pkgconfigdir}/avahi-gobject.pc
87265823
JB
1010%{_datadir}/gir-1.0/Avahi-0.6.gir
1011%{_datadir}/gir-1.0/AvahiCore-0.6.gir
844a35c9
JB
1012
1013%files gobject-static
1014%defattr(644,root,root,755)
1015%{_libdir}/libavahi-gobject.a
1016
0b1041d5 1017%if %{with qt3}
91bdb504 1018%files qt
84074ccc 1019%defattr(644,root,root,755)
1020%attr(755,root,root) %{_libdir}/libavahi-qt3.so.*.*.*
844a35c9 1021%attr(755,root,root) %ghost %{_libdir}/libavahi-qt3.so.1
84074ccc 1022
91bdb504 1023%files qt-devel
84074ccc 1024%defattr(644,root,root,755)
1025%attr(755,root,root) %{_libdir}/libavahi-qt3.so
84074ccc 1026%{_includedir}/avahi-qt3
1027%{_pkgconfigdir}/avahi-qt3.pc
1028
91bdb504 1029%files qt-static
84074ccc 1030%defattr(644,root,root,755)
1031%{_libdir}/libavahi-qt3.a
0b1041d5 1032%endif
91bdb504 1033
0b1041d5 1034%if %{with qt4}
91bdb504
PS
1035%files Qt
1036%defattr(644,root,root,755)
1037%attr(755,root,root) %{_libdir}/libavahi-qt4.so.*.*.*
844a35c9 1038%attr(755,root,root) %ghost %{_libdir}/libavahi-qt4.so.1
91bdb504
PS
1039
1040%files Qt-devel
1041%defattr(644,root,root,755)
1042%attr(755,root,root) %{_libdir}/libavahi-qt4.so
91bdb504
PS
1043%{_includedir}/avahi-qt4
1044%{_pkgconfigdir}/avahi-qt4.pc
1045
1046%files Qt-static
1047%defattr(644,root,root,755)
1048%{_libdir}/libavahi-qt4.a
528a0e79 1049%endif
84074ccc 1050
1051%files bookmarks
1052%defattr(644,root,root,755)
1053%attr(755,root,root) %{_bindir}/avahi-bookmarks
844a35c9 1054%{_mandir}/man1/avahi-bookmarks.1*
84074ccc 1055
4f99a994 1056%if %{with pygtk}
84074ccc 1057%files discover
1058%defattr(644,root,root,755)
1059%attr(755,root,root) %{_bindir}/avahi-discover
844a35c9 1060%{py_sitedir}/avahi_discover
51860451 1061%{_datadir}/%{name}/interfaces/avahi-discover.ui
5acf6365 1062%{_desktopdir}/avahi-discover.desktop
76a611b3 1063%{_pixmapsdir}/avahi.png
844a35c9 1064%{_mandir}/man1/avahi-discover.1*
4f99a994 1065%endif
84074ccc 1066
4f99a994 1067%if %{with gtk}
84074ccc 1068%files discover-standalone
1069%defattr(644,root,root,755)
51860451 1070%attr(755,root,root) %{_bindir}/avahi-discover-standalone
1071%{_datadir}/%{name}/interfaces/avahi-discover-standalone.glade
4f99a994 1072%endif
84074ccc 1073
1074%files utils
1075%defattr(644,root,root,755)
1076%attr(755,root,root) %{_bindir}/avahi-browse
844a35c9 1077%attr(755,root,root) %{_bindir}/avahi-browse-domains
84074ccc 1078%attr(755,root,root) %{_bindir}/avahi-publish
844a35c9
JB
1079%attr(755,root,root) %{_bindir}/avahi-publish-address
1080%attr(755,root,root) %{_bindir}/avahi-publish-service
84074ccc 1081%attr(755,root,root) %{_bindir}/avahi-resolve
844a35c9
JB
1082%attr(755,root,root) %{_bindir}/avahi-resolve-address
1083%attr(755,root,root) %{_bindir}/avahi-resolve-host-name
1084%{_mandir}/man1/avahi-browse.1*
1085%{_mandir}/man1/avahi-browse-domains.1*
1086%{_mandir}/man1/avahi-publish.1*
1087%{_mandir}/man1/avahi-publish-address.1*
1088%{_mandir}/man1/avahi-publish-service.1*
1089%{_mandir}/man1/avahi-resolve.1*
1090%{_mandir}/man1/avahi-resolve-address.1*
1091%{_mandir}/man1/avahi-resolve-host-name.1*
This page took 0.317397 seconds and 4 git commands to generate.