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