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