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