]> git.pld-linux.org Git - packages/avahi.git/blame - avahi.spec
- fixed qt3 devel dependency; release 2
[packages/avahi.git] / avahi.spec
CommitLineData
0605e631 1# TODO
b990428a 2# - finish with_apidocs
4f99a994 3#
84074ccc 4# Conditional build:
87384157
JB
5%bcond_with apidocs # API documentation
6%bcond_without dotnet # .NET (mono) bindings
7%bcond_without gtk2 # GTK+ 2 UI (+ bshell and avahi-discover-standalone utilities if no gtk3)
8%bcond_without gtk3 # GTK+ 3 UI (+ bshell and avahi-discover-standalone utilities)
9%bcond_without pygobject # PyGObject based avahi-discover utility
10%bcond_without libevent # libevent main loop integration
11%bcond_without qt # (any) Qt main loop integration
12%bcond_without qt3 # Qt 3 main loop integration
13%bcond_without qt4 # Qt 4 main loop integration
14%bcond_without qt5 # Qt 5 main loop integration
15
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
87384157 26%undefine with_qt5
0b1041d5 27%endif
65bff097 28
130dbb9c
AF
29# see http://lists.pld-linux.org/mailman/pipermail/pld-devel-pl/2012-October/155984.html
30%undefine _ssp_cflags
31
b2d6640f
JK
32Summary: Free mDNS/DNS-SD/Zeroconf implementation
33Summary(pl.UTF-8): Wolna implementacja mDNS/DNS-SD/Zeroconf
84074ccc 34Name: avahi
87384157 35Version: 0.8
9bb63cda 36Release: 2
e91ebdcb 37License: LGPL v2.1+
b9952f5b 38Group: Applications/Networking
c630703e 39#Source0Download: https://github.com/lathiat/avahi/releases
87384157
JB
40Source0: https://github.com/lathiat/avahi/releases/download/v%{version}/%{name}-%{version}.tar.gz
41# Source0-md5: 229c6aa30674fc43c202b22c5f8c2be7
385ef799 42Source1: %{name}-daemon
43Source2: %{name}-dnsconfd
76a611b3 44Source3: %{name}.png
cf57cb18 45Patch0: %{name}-desktop.patch
87384157 46Patch1: %{name}-missing.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
87384157
JB
52Patch7: %{name}-man-conditions.patch
53Patch8: %{name}-qt3.patch
54Patch9: %{name}-libevent.patch
55Patch10: %{name}-localedir.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
87384157 67BuildRequires: gettext-tools >= 0.19.8
b9952f5b 68BuildRequires: glib2-devel >= 1:2.12.2
f6770c7e 69BuildRequires: gobject-introspection-devel >= 0.9.5
87384157 70%if %{with gtk2}
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
df02d559 77BuildRequires: libcap-devel
f6770c7e 78BuildRequires: libdaemon-devel >= 0.14
87384157 79%{?with_libevent:BuildRequires: libevent-devel >= 2.0.21}
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
1f7404db 87BuildRequires: python >= 1:2.6
a702b91a 88BuildRequires: python-dbus >= 0.71
87384157 89%{?with_pygobject:BuildRequires: python-pygobject3-devel >= 3.0}
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
1f7404db 95BuildRequires: qt4-build >= 4.0.0
528a0e79 96%endif
87384157
JB
97%if %{with qt5}
98BuildRequires: Qt5Core-devel >= 5.0.0
99BuildRequires: qt5-build >= 5.0.0
100%endif
9e3cdda2 101BuildRequires: rpm-pythonprov
a0461649 102BuildRequires: rpmbuild(macros) >= 1.626
c84146bc 103BuildRequires: xmltoman
84074ccc 104Requires(post,preun): /sbin/chkconfig
6316d682 105Requires(post,preun,postun): systemd-units >= 38
84074ccc 106Requires: %{name}-libs = %{version}-%{release}
11dac41a 107Requires: dbus >= 0.92
f6770c7e 108Requires: libdaemon >= 0.14
438dba17 109Requires: rc-scripts >= 0.4.3
6316d682 110Requires: systemd-units >= 38
78a19f26 111Suggests: nss_mdns >= 0.10-2
76a611b3 112Provides: group(avahi)
5a4d6742 113Provides: user(avahi)
7047114e 114Obsoletes: avahi-systemd
84074ccc 115BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
116
117%description
76a611b3 118Avahi is an implementation the DNS Service Discovery and Multicast DNS
119specifications for Zeroconf Computing. It uses D-BUS for communication
120between user applications and a system daemon.
84074ccc 121
bdc824d1
JR
122%description -l pl.UTF-8
123Avahi jest implementacją specyfikacji DNS Service Discovery i
124Multicast DNS dla Zeroconf Computing. Używa D-BUSa dla komunikacji
125pomiędzy programami użytkownika a demonem systemowym.
84074ccc 126
b2d6640f
JK
127%package autoipd
128Summary: IPv4LL network address configuration daemon
129Summary(pl.UTF-8): Demon configurujący adresy IPv4LL
130Group: Networking/Daemons
45e53a0f
ER
131Requires(postun): /usr/sbin/groupdel
132Requires(postun): /usr/sbin/userdel
133Requires(pre): /bin/id
134Requires(pre): /usr/bin/getgid
135Requires(pre): /usr/sbin/groupadd
136Requires(pre): /usr/sbin/useradd
3fe97cfe
JK
137Provides: group(avahi)
138Provides: user(avahi)
b2d6640f
JK
139
140%description autoipd
45e53a0f
ER
141avahi-autoipd implements IPv4LL, "Dynamic Configuration of IPv4 Link-
142Local Addresses" (IETF RFC3927), a protocol for automatic IP address
143configuration from the link-local 169.254.0.0/16 range without the
144need for a central server. It is primarily intended to be used in
145ad-hoc networks which lack a DHCP server.
b2d6640f
JK
146
147IPv4LL is part of the Zeroconf stack.
148
149%description autoipd -l pl.UTF-8
150avahi-autoipd jest implementacją IPv4LL, protokołu umożliwiającego
151automatyczną konfigurację adresu z zakresu 169.254.0.0/16 bez potrzeby
45e53a0f
ER
152użycia centralnego serwera. Jego głównym zastosowaniem są sieci
153ad-hoc, w których brakuje serwera DHCP.
b2d6640f
JK
154
155IPv4LL jest częścią stosu Zeroconf.
156
84074ccc 157%package libs
158Summary: Avahi client, common and core libraries
bfc0e078 159Summary(pl.UTF-8): Biblioteki Avahi: klienta, wspólna i główna
84074ccc 160Group: Libraries
161
162%description libs
163Avahi client, common and core libraries.
164
bdc824d1
JR
165%description libs -l pl.UTF-8
166Biblioteki Avahi: klienta, wspólna i główna.
84074ccc 167
168%package devel
169Summary: Header files for Avahi library
bfc0e078 170Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi
84074ccc 171Group: Development/Libraries
172Requires: %{name}-libs = %{version}-%{release}
4da0d8d4 173Requires: dbus-devel >= 0.92
84074ccc 174Requires: expat-devel
84074ccc 175
176%description devel
177This is the package containing the header files for Avahi library.
178
bdc824d1
JR
179%description devel -l pl.UTF-8
180Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi.
84074ccc 181
182%package static
183Summary: Static Avahi library
bfc0e078 184Summary(pl.UTF-8): Statyczna biblioteka Avahi
84074ccc 185Group: Development/Libraries
186Requires: %{name}-devel = %{version}-%{release}
187
188%description static
189Static Avahi library.
190
bdc824d1 191%description static -l pl.UTF-8
84074ccc 192Statyczna biblioteka Avahi.
193
fcc1bce8
JB
194%package ui
195Summary: Avahi UI library
196Summary(pl.UTF-8): Biblioteka Avahi UI
197Group: X11/Libraries
198Requires: %{name}-libs = %{version}-%{release}
f6770c7e 199Requires: gtk+2 >= 2:2.14.0
fcc1bce8
JB
200
201%description ui
202Common GTK+ UI support library for Avahi.
203
204%description ui -l pl.UTF-8
205Biblioteka wspólnego interfejsu użytkownika GTK+ dla Avahi.
206
207%package ui-devel
208Summary: Header files for Avahi UI library
209Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI
210Group: X11/Development/Libraries
211Requires: %{name}-devel = %{version}-%{release}
212Requires: %{name}-ui = %{version}-%{release}
f97a9b3d 213Requires: %{name}-ui-devel-common = %{version}-%{release}
f6770c7e 214Requires: gtk+2-devel >= 2:2.14.0
fcc1bce8
JB
215
216%description ui-devel
217Header files for Avahi UI library.
218
219%description ui-devel -l pl.UTF-8
220Pliki nagłówkowe biblioteki Avahi UI.
221
222%package ui-static
223Summary: Static Avahi UI library
224Summary(pl.UTF-8): Statyczna biblioteka Avahi UI
225Group: X11/Development/Libraries
226Requires: %{name}-ui-devel = %{version}-%{release}
227
228%description ui-static
229Static Avahi UI library.
230
231%description ui-static -l pl.UTF-8
232Statyczna biblioteka Avahi UI.
233
f97a9b3d
AF
234%package ui-devel-common
235Summary: Header files for Avahi UI library
236Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI
237Group: X11/Development/Libraries
238Requires: %{name}-devel = %{version}-%{release}
239
240%description ui-devel-common
241Header files for Avahi UI library.
242
243%description ui-devel-common -l pl.UTF-8
244Pliki nagłówkowe biblioteki Avahi GTK+ UI.
245
246%package ui-gtk3
247Summary: Avahi UI library - GTK+ 3.x version
248Summary(pl.UTF-8): Biblioteka Avahi UI - wersja dla GTK+ 3.x
249Group: X11/Libraries
250Requires: %{name}-libs = %{version}-%{release}
87384157
JB
251Requires: glib2 >= 1:2.28.0
252Requires: gtk+3 >= 3.0.0
f97a9b3d
AF
253
254%description ui-gtk3
255Common GTK+ 3.x UI support library for Avahi.
256
257%description ui-gtk3 -l pl.UTF-8
258Biblioteka wspólnego interfejsu użytkownika GTK+ 3.x dla Avahi.
259
260%package ui-gtk3-devel
261Summary: Header files for Avahi UI library - GTK+ 3.x version
262Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI - wersja dla GTK+ 3.x
263Group: X11/Development/Libraries
264Requires: %{name}-devel = %{version}-%{release}
265Requires: %{name}-ui-devel-common = %{version}-%{release}
266Requires: %{name}-ui-gtk3 = %{version}-%{release}
87384157
JB
267Requires: glib2-devel >= 1:2.28.0
268Requires: gtk+3-devel >= 3.0.0
f97a9b3d
AF
269
270%description ui-gtk3-devel
271Header files for Avahi GTK+ 3.x UI library.
272
273%description ui-devel -l pl.UTF-8
274Pliki nagłówkowe biblioteki Avahi GTK+ 3.x UI.
275
276%package ui-gtk3-static
277Summary: Static Avahi UI library - GTK+ 3.x version
278Summary(pl.UTF-8): Statyczna biblioteka Avahi UI - wersja GTK+ 3.x
279Group: X11/Development/Libraries
280Requires: %{name}-ui-gtk3-devel = %{version}-%{release}
281
282%description ui-gtk3-static
283Static Avahi GTK+ 3.x UI library.
284
285%description ui-gtk3-static -l pl.UTF-8
286Statyczna biblioteka Avahi GTK+ 3.x UI.
287
e5a53780 288%package compat-libdns_sd
289Summary: Avahi Bonjour compat library
bfc0e078 290Summary(pl.UTF-8): Biblioteka Avahi zgodna z Bonjour
e5a53780 291Group: Libraries
0466d113 292Requires: %{name}-libs = %{version}-%{release}
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
87384157 376Requires: %{name}-libs = %{version}-%{release}
b9952f5b 377Requires: glib2 >= 1:2.12.2
84074ccc 378
379%description glib
380Avahi GLib library bindings.
381
bdc824d1
JR
382%description glib -l pl.UTF-8
383Wiązania Avahi dla bibioteki GLib.
84074ccc 384
385%package glib-devel
386Summary: Header files for Avahi GLib library bindings
bfc0e078 387Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki GLib
84074ccc 388Group: Development/Libraries
a47dabc0 389Requires: %{name}-devel = %{version}-%{release}
76a611b3 390Requires: %{name}-glib = %{version}-%{release}
4da0d8d4 391Requires: glib2-devel >= 1:2.12.2
84074ccc 392
393%description glib-devel
76a611b3 394This is the package containing the header files for Avahi-glib
395library.
84074ccc 396
bdc824d1
JR
397%description glib-devel -l pl.UTF-8
398Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi-glib.
84074ccc 399
400%package glib-static
401Summary: Static Avahi GLib library
bfc0e078 402Summary(pl.UTF-8): Statyczna biblioteka Avahi GLib
84074ccc 403Group: Development/Libraries
404Requires: %{name}-glib-devel = %{version}-%{release}
405
406%description glib-static
407Static Avahi GLib library.
408
bdc824d1 409%description glib-static -l pl.UTF-8
84074ccc 410Statyczna biblioteka Avahi GLib.
411
844a35c9
JB
412%package gobject
413Summary: Avahi GObject interface
414Summary(pl.UTF-8): Interfejs GObject do Avahi
415Group: Libraries
87384157 416Requires: %{name}-glib = %{version}-%{release}
844a35c9
JB
417
418%description gobject
419Avahi GObject interface.
420
421%description gobject -l pl.UTF-8
422Interfejs GObject do Avahi.
423
424%package gobject-devel
425Summary: Header files for Avahi GObject interface
426Summary(pl.UTF-8): Pliki nagłówkowe interfejsu GObject do Avahi
427Group: Development/Libraries
87384157 428Requires: %{name}-glib-devel = %{version}-%{release}
844a35c9 429Requires: %{name}-gobject = %{version}-%{release}
844a35c9
JB
430
431%description gobject-devel
432This is the package containing the header files for Avahi GObject
433interface.
434
435%description gobject-devel -l pl.UTF-8
436Ten pakiet zawiera pliki nagłówkowe interfejsu GObject do Avahi.
437
438%package gobject-static
439Summary: Static Avahi GObject library
440Summary(pl.UTF-8): Statyczna biblioteka Avahi GObject
441Group: Development/Libraries
442Requires: %{name}-gobject-devel = %{version}-%{release}
443
444%description gobject-static
445Static Avahi GObject library.
446
447%description gobject-static -l pl.UTF-8
448Statyczna biblioteka Avahi GObject.
449
87384157
JB
450%package libevent
451Summary: Avahi libevent support library
452Summary(pl.UTF-8): Wiązania Avahi obsługująca libevent
453Group: Libraries
454Requires: %{name}-libs = %{version}-%{release}
455Requires: libevent >= 2.0.21
456
457%description libevent
458Avahi libevent support library.
459
460%description libevent -l pl.UTF-8
461Biblioteka Avahi obsługująca libevent.
462
463%package libevent-devel
464Summary: Header files for Avahi libevent support library
465Summary(pl.UTF-8): Pliki nagłówkowe Avahi dla biblioteki obsługującej libevent
466Group: Development/Libraries
467Requires: %{name}-devel = %{version}-%{release}
468Requires: %{name}-libevent = %{version}-%{release}
469Requires: libevent-devel >= 2.0.21
470
471%description libevent-devel
472This is the package containing the header files for Avahi libevent
473library.
474
475%description libevent-devel -l pl.UTF-8
476Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi libevent.
477
478%package libevent-static
479Summary: Static Avahi libevent library
480Summary(pl.UTF-8): Statyczna biblioteka Avahi libevent
481Group: Development/Libraries
482Requires: %{name}-libevent-devel = %{version}-%{release}
483
484%description libevent-static
485Static Avahi libevent library.
486
487%description libevent-static -l pl.UTF-8
488Statyczna biblioteka Avahi libevent.
489
490%package qt3
84074ccc 491Summary: Avahi Qt 3 library bindings
bfc0e078 492Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 3
84074ccc 493Group: Libraries
494Requires: %{name}-libs = %{version}-%{release}
87384157
JB
495Provides: avahi-qt = %{version}-%{release}
496Obsoletes: avahi-qt < 0.8
84074ccc 497
87384157 498%description qt3
84074ccc 499Avahi Qt 3 library bindings.
500
87384157 501%description qt3 -l pl.UTF-8
bdc824d1 502Wiązania Avahi dla biblioteki Qt 3.
84074ccc 503
87384157 504%package qt3-devel
84074ccc 505Summary: Header files for Avahi Qt 3 library bindings
bfc0e078 506Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3
84074ccc 507Group: Development/Libraries
a47dabc0 508Requires: %{name}-devel = %{version}-%{release}
87384157 509Requires: %{name}-qt3 = %{version}-%{release}
9bb63cda 510Requires: qt-devel >= 1:3.0
87384157
JB
511Provides: avahi-qt-devel = %{version}-%{release}
512Obsoletes: avahi-qt-devel < 0.8
84074ccc 513
87384157 514%description qt3-devel
84074ccc 515Header files for Avahi Qt 3 library bindings.
516
87384157 517%description qt3-devel -l pl.UTF-8
bdc824d1 518Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3.
84074ccc 519
87384157 520%package qt3-static
84074ccc 521Summary: Static Avahi Qt 3 library
bfc0e078 522Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 3
84074ccc 523Group: Development/Libraries
87384157
JB
524Requires: %{name}-qt3-devel = %{version}-%{release}
525Provides: avahi-qt-static = %{version}-%{release}
526Obsoletes: avahi-qt-static < 0.8
84074ccc 527
87384157 528%description qt3-static
84074ccc 529Static Avahi Qt 3 library.
530
87384157 531%description qt3-static -l pl.UTF-8
84074ccc 532Statyczna biblioteka Avahi Qt 3.
533
87384157 534%package qt4
91bdb504 535Summary: Avahi Qt 4 library bindings
bfc0e078 536Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 4
91bdb504
PS
537Group: Libraries
538Requires: %{name}-libs = %{version}-%{release}
87384157
JB
539Provides: avahi-Qt = %{version}-%{release}
540Obsoletes: avahi-Qt < 0.8
91bdb504 541
87384157 542%description qt4
91bdb504
PS
543Avahi Qt 4 library bindings.
544
87384157 545%description qt4 -l pl.UTF-8
bdc824d1 546Wiązania Avahi dla biblioteki Qt 4.
91bdb504 547
87384157 548%package qt4-devel
8aa3f304 549Summary: Header files for Avahi Qt 4 library bindings
bfc0e078 550Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4
91bdb504 551Group: Development/Libraries
87384157 552Requires: %{name}-qt4 = %{version}-%{release}
9e3cdda2 553Requires: %{name}-devel = %{version}-%{release}
87384157
JB
554Requires: QtCore-devel >= 4.0.0
555Provides: avahi-Qt-devel = %{version}-%{release}
556Obsoletes: avahi-Qt-devel < 0.8
91bdb504 557
87384157 558%description qt4-devel
91bdb504
PS
559Header files for Avahi Qt 4 library bindings.
560
87384157 561%description qt4-devel -l pl.UTF-8
bdc824d1 562Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4.
91bdb504 563
87384157 564%package qt4-static
91bdb504 565Summary: Static Avahi Qt 4 library
bfc0e078 566Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 4
91bdb504 567Group: Development/Libraries
87384157
JB
568Requires: %{name}-qt4-devel = %{version}-%{release}
569Provides: avahi-Qt-static = %{version}-%{release}
570Obsoletes: avahi-Qt-static < 0.8
91bdb504 571
87384157 572%description qt4-static
91bdb504
PS
573Static Avahi Qt 4 library.
574
87384157 575%description qt4-static -l pl.UTF-8
91bdb504
PS
576Statyczna biblioteka Avahi Qt 4.
577
87384157
JB
578%package qt5
579Summary: Avahi Qt 5 library bindings
580Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 5
581Group: Libraries
582Requires: %{name}-libs = %{version}-%{release}
583
584%description qt5
585Avahi Qt 5 library bindings.
586
587%description qt5 -l pl.UTF-8
588Wiązania Avahi dla biblioteki Qt 5.
589
590%package qt5-devel
591Summary: Header files for Avahi Qt 5 library bindings
592Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 5
593Group: Development/Libraries
594Requires: %{name}-qt5 = %{version}-%{release}
595Requires: %{name}-devel = %{version}-%{release}
596Requires: Qt5Core-devel >= 5.0.0
597
598%description qt5-devel
599Header files for Avahi Qt 5 library bindings.
600
601%description qt5-devel -l pl.UTF-8
602Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 5.
603
604%package qt5-static
605Summary: Static Avahi Qt 5 library
606Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 5
607Group: Development/Libraries
608Requires: %{name}-qt5-devel = %{version}-%{release}
609
610%description qt5-static
611Static Avahi Qt 5 library.
612
613%description qt5-static -l pl.UTF-8
614Statyczna biblioteka Avahi Qt 5.
615
2fa0b6d5
PZ
616%package -n python-avahi
617Summary: Avahi Python bindings
618Summary(pl.UTF-8): Wiązania Avahi dla Pythona
619Group: Development/Languages/Python
fcc1bce8 620Requires: %{name}-libs = %{version}-%{release}
2fa0b6d5
PZ
621Requires: python-dbus >= 0.71
622
623%description -n python-avahi
624Avahi Python bindings.
625
626%description -n python-avahi -l pl.UTF-8
627Wiązania Avahi dla Pythona.
628
84074ccc 629%package -n dotnet-avahi
630Summary: Avahi MONO bindings
bfc0e078 631Summary(pl.UTF-8): Wiązania Avahi dla MONO
84074ccc 632Group: Libraries
fcc1bce8 633Requires: %{name}-libs = %{version}-%{release}
84074ccc 634
635%description -n dotnet-avahi
636Avahi MONO bindings.
637
bdc824d1
JR
638%description -n dotnet-avahi -l pl.UTF-8
639Wiązania Avahi dla MONO.
84074ccc 640
641%package -n dotnet-avahi-devel
642Summary: Development files for MONO Avahi bindings
bfc0e078 643Summary(pl.UTF-8): Pliki rozwojowe wiązań Avahi dla MONO
84074ccc 644Group: Development/Libraries
76a611b3 645Requires: dotnet-avahi = %{version}-%{release}
e0c273b1 646Requires: monodoc >= 2.6
84074ccc 647
648%description -n dotnet-avahi-devel
649Development files for MONO Avahi bindings.
650
bdc824d1
JR
651%description -n dotnet-avahi-devel -l pl.UTF-8
652Pliki rozwojowe wiązań Avahi dla MONO.
84074ccc 653
fcc1bce8
JB
654%package -n dotnet-avahi-ui
655Summary: Avahi UI MONO bindings
656Summary(pl.UTF-8): Wiązania Avahi UI dla MONO
657Group: X11/Libraries
658Requires: %{name}-ui = %{version}-%{release}
659Requires: dotnet-avahi = %{version}-%{release}
660
661%description -n dotnet-avahi-ui
662Avahi UI MONO bindings.
663
664%description -n dotnet-avahi-ui -l pl.UTF-8
665Wiązania Avahi UI dla MONO.
666
667%package -n dotnet-avahi-ui-devel
668Summary: Development files for MONO Avahi UI bindings
669Summary(pl.UTF-8): Pliki rozwojowe wiązań Avahi UI dla MONO
670Group: X11/Development/Libraries
671Requires: dotnet-avahi-ui = %{version}-%{release}
e0c273b1 672Requires: monodoc >= 2.6
fcc1bce8
JB
673
674%description -n dotnet-avahi-ui-devel
675Development files for MONO Avahi UI bindings.
676
677%description -n dotnet-avahi-ui-devel -l pl.UTF-8
678Pliki rozwojowe wiązań Avahi UI dla MONO.
679
84074ccc 680%package bookmarks
681Summary: Miniature web server
87265823 682Summary(pl.UTF-8): Miniaturowy serwer WWW
87384157 683Group: Applications/Networking
84074ccc 684
685%description bookmarks
686A Python based miniature web server that browses for mDNS/DNS-SD
687services of type '_http._tcp' (i.e. web sites) and makes them
672bcc85 688available as HTML links on http://localhost:8080/.
76a611b3 689
bdc824d1
JR
690%description bookmarks -l pl.UTF-8
691Napisany w Pythonie miniaturowy serwer WWW, pozwalający na
692przeglądanie usług typu '_http._tcp' (np. stron WWW) i udostępniający
693je jako odnośniki HTML na http://localhost:8080/.
84074ccc 694
695%package discover
696Summary: Avahi Zeroconf browser
bfc0e078 697Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi
87384157
JB
698Group: X11/Applications/Networking
699Requires: gtk+3 >= 3.0
2fa0b6d5 700Requires: python-avahi = %{version}-%{release}
87384157 701Requires: python-pygobject3 >= 3.0
84074ccc 702
703%description discover
76a611b3 704A tool for enumerating all available services on the local LAN
87384157 705(Python/PyGObject implementation).
84074ccc 706
bdc824d1
JR
707%description discover -l pl.UTF-8
708Narzędzie wymieniające wszystkie dostępne usługi w sieci lokalnej LAN
87384157 709(implementacja oparta na szkielecie Python/PyGObject).
84074ccc 710
711%package discover-standalone
712Summary: Avahi Zeroconf browser
bfc0e078 713Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi
87384157 714Group: X11/Applications/Networking
844a35c9 715Requires: %{name}-glib = %{version}-%{release}
87384157
JB
716%if %{with gtk3}
717Requires: gtk+3 >= 3.0.0
718%else
719Requires: gtk+2 >= 2:2.14.0
720%endif
84074ccc 721
722%description discover-standalone
723GTK+ tool for enumerating all available services on the local LAN.
724
bdc824d1
JR
725%description discover-standalone -l pl.UTF-8
726Narzędzie GTK+ wymieniające wszystkie dostępne usługi w sieci lokalnej
76a611b3 727LAN.
84074ccc 728
87384157
JB
729%package bshell
730Summary: Avahi SSH/VNC servers browser
731Summary(pl.UTF-8): Przeglądarka serwerów SSH/VNC oparta na Avahi
732Group: X11/Applications/Networking
733%if %{with gtk3}
734Requires: %{name}-ui-gtk3 = %{version}-%{release}
735%else
736Requires: %{name}-ui = %{version}-%{release}
737%endif
738
739%description bshell
740bshell/bssh/bvnc browses for SSH/VNC servers on the local network,
741shows them in a GUI for the user to select one and finally calls
742ssh/vncviewer after a selection was made.
743
744%description bshell -l pl.UTF-8
745bshell/bssh/bvnc pozwala przeglądać serwery SSH/VNC w sieci lokalnej,
746pokazywać je w graficznym interfejsie, aby któryś wybrać i wywołać
747dla niego ssh/vncviewer.
748
84074ccc 749%package utils
750Summary: Avahi CLI utilities
bfc0e078 751Summary(pl.UTF-8): Narzędzia CLI Avahi
87384157 752Group: Applications/Networking
84074ccc 753
754%description utils
755Command line utilities using avahi-client.
756
bdc824d1
JR
757%description utils -l pl.UTF-8
758Narzędzia linii poleceń korzystające z avahi-client.
84074ccc 759
760%prep
761%setup -q
cf57cb18 762%patch0 -p1
87384157 763%patch1 -p1
65db52cd 764%patch2 -p1
e3381b19 765%patch3 -p1
65bff097 766%patch4 -p1
6823ab8f
JK
767%patch5 -p1
768%patch6 -p1
87384157
JB
769%patch7 -p1
770%patch8 -p1
771%patch9 -p1
772%patch10 -p1
84074ccc 773
774%build
775%{__libtoolize}
776%{__aclocal} -I common
777%{__autoconf}
778%{__autoheader}
779%{__automake}
780%configure \
87384157 781 PYTHON=%{__python} \
e5a53780 782 --enable-compat-libdns_sd \
20c3c94e 783 --enable-compat-howl \
4f99a994 784 %{!?with_apidocs:--disable-doxygen-doc} \
87384157 785 %{?with_gtk2:--enable-gtk} \
e3a440ad 786 %{!?with_gtk3:--disable-gtk3} \
87384157
JB
787 %{!?with_pygobject:--disable-pygobject} \
788 %{!?with_libevent:--disable-libevent} \
84074ccc 789 %{!?with_dotnet:--disable-mono} \
b34bc075 790 %{!?with_dotnet:--disable-monodoc} \
87384157
JB
791 %{?with_qt3:--enable-qt3} \
792 %{?with_qt4:--enable-qt4} \
793 %{!?with_qt5:--disable-qt5} \
794 --disable-silent-rules \
795 --disable-stack-protector \
b34bc075 796 --with-autoipd-user=avahi \
87384157
JB
797 --with-autoipd-group=avahi \
798 --with-avahi-priv-access-group=adm \
799 --with-distro=none \
800 --with-systemdsystemunitdir=%{systemdunitdir}
801
84074ccc 802%{__make}
803
804%install
805rm -rf $RPM_BUILD_ROOT
4d8ba2b7 806install -d $RPM_BUILD_ROOT{%{_pixmapsdir},/etc/rc.d/init.d}
84074ccc 807
808%{__make} install \
809 DESTDIR=$RPM_BUILD_ROOT \
810 pythondir=%{py_sitedir}
385ef799 811
65bff097 812install -p %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d
4a2b845e 813cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
385ef799 814
c3bb95bb 815ln -sf %{_includedir}/avahi-compat-libdns_sd/dns_sd.h \
816 $RPM_BUILD_ROOT%{_includedir}/dns_sd.h
817
20c3c94e 818ln -sf %{_pkgconfigdir}/avahi-compat-howl.pc \
819 $RPM_BUILD_ROOT%{_pkgconfigdir}/howl.pc
820
438dba17
JK
821%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
822%py_comp $RPM_BUILD_ROOT%{py_sitedir}
823%py_postclean
84074ccc 824
164ba8a1 825%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/avahi-{browse-domains,publish-address,publish-service,resolve-address,resolve-host-name}.1
4abede57
MB
826echo '.so avahi-browse.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-browse-domains.1
827echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-address.1
828echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-service.1
829echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-address.1
830echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-host-name.1
87384157
JB
831%if %{with gtk2} || %{with gtk3}
832%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/bvnc.1
5234c9c3 833echo '.so bssh.1' > $RPM_BUILD_ROOT%{_mandir}/man1/bvnc.1
f97a9b3d 834echo '.so bssh.1' > $RPM_BUILD_ROOT%{_mandir}/man1/bshell.1
ef3b7772 835%endif
f97a9b3d
AF
836
837%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
021eb35e 838
844a35c9
JB
839%find_lang %{name}
840
84074ccc 841%clean
842rm -rf $RPM_BUILD_ROOT
843
f97f8264 844%pre
611ce39d 845%groupadd -g 165 -r -f avahi
846%useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi
f97f8264 847
3fe97cfe
JK
848%pre autoipd
849%groupadd -g 165 -r -f avahi
850%useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi
851
84074ccc 852%post
385ef799 853/sbin/chkconfig --add %{name}-daemon
854%service %{name}-daemon restart
855/sbin/chkconfig --add %{name}-dnsconfd
856%service %{name}-dnsconfd restart
5c33a843 857%systemd_post avahi-daemon.service avahi-dnsconfd.service avahi-daemon.socket
84074ccc 858
859%preun
860if [ "$1" = "0" ]; then
385ef799 861 %service -q %{name}-dnsconfd stop
862 /sbin/chkconfig --del %{name}-dnsconfd
863 %service -q %{name}-daemon stop
864 /sbin/chkconfig --del %{name}-daemon
84074ccc 865fi
5c33a843 866%systemd_preun avahi-daemon.service avahi-dnsconfd.service avahi-daemon.socket
84074ccc 867
76a611b3 868%postun
869if [ "$1" = "0" ]; then
45e53a0f
ER
870 %userremove avahi
871 %groupremove avahi
872fi
5c33a843
JR
873%systemd_reload
874
875%triggerpostun -- avahi < 0.6.30-7
876%systemd_trigger avahi-daemon.service avahi-dnsconfd.service avahi-daemon.socket
45e53a0f
ER
877
878%postun autoipd
879if [ "$1" = "0" ]; then
880 %userremove avahi
f97f8264 881 %groupremove avahi
882fi
f97f8264 883
84074ccc 884%post libs -p /sbin/ldconfig
885%postun libs -p /sbin/ldconfig
886
fcc1bce8
JB
887%post ui -p /sbin/ldconfig
888%postun ui -p /sbin/ldconfig
889
f97a9b3d
AF
890%post ui-gtk3 -p /sbin/ldconfig
891%postun ui-gtk3 -p /sbin/ldconfig
892
e5a53780 893%post compat-libdns_sd -p /sbin/ldconfig
894%postun compat-libdns_sd -p /sbin/ldconfig
895
20c3c94e 896%post compat-howl -p /sbin/ldconfig
897%postun compat-howl -p /sbin/ldconfig
898
84074ccc 899%post glib -p /sbin/ldconfig
900%postun glib -p /sbin/ldconfig
901
844a35c9
JB
902%post gobject -p /sbin/ldconfig
903%postun gobject -p /sbin/ldconfig
904
87384157
JB
905%post libevent -p /sbin/ldconfig
906%postun libevent -p /sbin/ldconfig
907
908%post qt3 -p /sbin/ldconfig
909%postun qt3 -p /sbin/ldconfig
910
911%post qt4 -p /sbin/ldconfig
912%postun qt4 -p /sbin/ldconfig
91bdb504 913
87384157
JB
914%post qt5 -p /sbin/ldconfig
915%postun qt5 -p /sbin/ldconfig
84074ccc 916
917%files
918%defattr(644,root,root,755)
919%doc docs/AUTHORS docs/COMPAT-LAYERS docs/NEWS docs/README docs/TODO
920
921%dir %{_sysconfdir}/avahi
922%dir %{_sysconfdir}/avahi/services
4a2b845e 923%attr(755,root,root) %{_sysconfdir}/avahi/avahi-dnsconfd.action
84074ccc 924%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-daemon.conf
56321bc5 925%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/hosts
84074ccc 926%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/ssh.service
87585768 927%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/sftp-ssh.service
b990428a 928%config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/avahi-dbus.conf
84074ccc 929
5c33a843
JR
930%{systemdunitdir}/avahi-daemon.service
931%{systemdunitdir}/avahi-daemon.socket
932%{systemdunitdir}/avahi-dnsconfd.service
933%{_datadir}/dbus-1/system-services/org.freedesktop.Avahi.service
934
4da0d8d4 935%attr(755,root,root) %{_bindir}/avahi-set-host-name
84074ccc 936
937%attr(755,root,root) %{_sbindir}/avahi-daemon
938%attr(755,root,root) %{_sbindir}/avahi-dnsconfd
87265823
JB
939%dir %{_libdir}/%{name}
940%{_libdir}/%{name}/service-types.db
84074ccc 941%{_datadir}/%{name}/avahi-service.dtd
87265823 942%{_datadir}/dbus-1/interfaces/org.freedesktop.Avahi.*.xml
84074ccc 943
844a35c9
JB
944%{_mandir}/man1/avahi-set-host-name.1*
945%{_mandir}/man5/avahi-daemon.conf.5*
946%{_mandir}/man5/avahi.hosts.5*
947%{_mandir}/man5/avahi.service.5*
948%{_mandir}/man8/avahi-daemon.8*
949%{_mandir}/man8/avahi-dnsconfd.8*
950%{_mandir}/man8/avahi-dnsconfd.action.8*
84074ccc 951
385ef799 952%attr(754,root,root) /etc/rc.d/init.d/%{name}-daemon
953%attr(754,root,root) /etc/rc.d/init.d/%{name}-dnsconfd
84074ccc 954
b2d6640f
JK
955%files autoipd
956%defattr(644,root,root,755)
957%dir %{_sysconfdir}/avahi
87585768 958%attr(755,root,root) %{_sysconfdir}/%{name}/avahi-autoipd.action
6823ab8f
JK
959%config(noreplace) %verify(not md5 mtime size) /etc/dhclient-enter-hooks.d/avahi-autoipd
960%config(noreplace) %verify(not md5 mtime size) /etc/dhclient-exit-hooks.d/avahi-autoipd
87585768 961%attr(755,root,root) %{_sbindir}/avahi-autoipd
844a35c9
JB
962%{_mandir}/man8/avahi-autoipd.8*
963%{_mandir}/man8/avahi-autoipd.action.8*
87585768 964
844a35c9 965%files libs -f %{name}.lang
84074ccc 966%defattr(644,root,root,755)
967%attr(755,root,root) %{_libdir}/libavahi-client.so.*.*.*
844a35c9 968%attr(755,root,root) %ghost %{_libdir}/libavahi-client.so.3
84074ccc 969%attr(755,root,root) %{_libdir}/libavahi-common.so.*.*.*
844a35c9 970%attr(755,root,root) %ghost %{_libdir}/libavahi-common.so.3
84074ccc 971%attr(755,root,root) %{_libdir}/libavahi-core.so.*.*.*
e3a440ad 972%attr(755,root,root) %ghost %{_libdir}/libavahi-core.so.7
844a35c9
JB
973# common for -discover*
974%dir %{_datadir}/%{name}
975%dir %{_datadir}/%{name}/interfaces
84074ccc 976
977%files devel
978%defattr(644,root,root,755)
979%doc docs/API-CHANGES-0.6 docs/DBUS-API docs/HACKING docs/MALLOC
980%attr(755,root,root) %{_libdir}/libavahi-client.so
981%attr(755,root,root) %{_libdir}/libavahi-common.so
982%attr(755,root,root) %{_libdir}/libavahi-core.so
84074ccc 983%{_includedir}/avahi-client
984%{_includedir}/avahi-common
985%{_includedir}/avahi-core
986%{_pkgconfigdir}/avahi-client.pc
987%{_pkgconfigdir}/avahi-core.pc
988
989%files static
990%defattr(644,root,root,755)
991%{_libdir}/libavahi-client.a
992%{_libdir}/libavahi-common.a
993%{_libdir}/libavahi-core.a
994
87384157 995%if %{with gtk2}
fcc1bce8
JB
996%files ui
997%defattr(644,root,root,755)
f97a9b3d
AF
998%attr(755,root,root) %{_libdir}/libavahi-ui.so.*.*.*
999%attr(755,root,root) %ghost %{_libdir}/libavahi-ui.so.0
fcc1bce8
JB
1000
1001%files ui-devel
1002%defattr(644,root,root,755)
51860451 1003%attr(755,root,root) %{_libdir}/libavahi-ui.so
fcc1bce8
JB
1004%{_pkgconfigdir}/avahi-ui.pc
1005
1006%files ui-static
1007%defattr(644,root,root,755)
51860451 1008%{_libdir}/libavahi-ui.a
4f99a994 1009%endif
fcc1bce8 1010
87384157 1011%if %{with gtk2} || %{with gtk3}
f97a9b3d
AF
1012%files ui-devel-common
1013%defattr(644,root,root,755)
1014%{_includedir}/avahi-ui
1015%endif
1016
1017%if %{with gtk3}
1018%files ui-gtk3
1019%defattr(644,root,root,755)
f97a9b3d
AF
1020%attr(755,root,root) %{_libdir}/libavahi-ui-gtk3.so.*.*.*
1021%attr(755,root,root) %ghost %{_libdir}/libavahi-ui-gtk3.so.0
f97a9b3d
AF
1022
1023%files ui-gtk3-devel
1024%defattr(644,root,root,755)
1025%attr(755,root,root) %{_libdir}/libavahi-ui-gtk3.so
1026%{_pkgconfigdir}/avahi-ui-gtk3.pc
1027
1028%files ui-gtk3-static
1029%defattr(644,root,root,755)
1030%{_libdir}/libavahi-ui-gtk3.a
1031%endif
1032
e5a53780 1033%files compat-libdns_sd
1034%defattr(644,root,root,755)
1035%attr(755,root,root) %{_libdir}/libdns_sd.so.*.*.*
844a35c9 1036%attr(755,root,root) %ghost %{_libdir}/libdns_sd.so.1
e5a53780 1037
1038%files compat-libdns_sd-devel
1039%defattr(644,root,root,755)
1040%attr(755,root,root) %{_libdir}/libdns_sd.so
e5a53780 1041%{_includedir}/avahi-compat-libdns_sd
c3bb95bb 1042%{_includedir}/dns_sd.h
e5a53780 1043%{_pkgconfigdir}/avahi-compat-libdns_sd.pc
1044
1045%files compat-libdns_sd-static
1046%defattr(644,root,root,755)
1047%{_libdir}/libdns_sd.a
1048
20c3c94e 1049%files compat-howl
1050%defattr(644,root,root,755)
1051%attr(755,root,root) %{_libdir}/libhowl.so.*.*.*
844a35c9 1052%attr(755,root,root) %ghost %{_libdir}/libhowl.so.0
20c3c94e 1053
1054%files compat-howl-devel
1055%defattr(644,root,root,755)
1056%attr(755,root,root) %{_libdir}/libhowl.so
20c3c94e 1057%{_includedir}/avahi-compat-howl
1058%{_pkgconfigdir}/avahi-compat-howl.pc
1059%{_pkgconfigdir}/howl.pc
1060
1061%files compat-howl-static
1062%defattr(644,root,root,755)
1063%{_libdir}/libhowl.a
1064
2fa0b6d5
PZ
1065%files -n python-avahi
1066%defattr(644,root,root,755)
1067%{py_sitedir}/avahi
1068
51f19ad8 1069%if %{with dotnet}
1070%files -n dotnet-avahi
1071%defattr(644,root,root,755)
1072%{_prefix}/lib/mono/gac/avahi-sharp
84074ccc 1073
51f19ad8 1074%files -n dotnet-avahi-devel
1075%defattr(644,root,root,755)
5bd74609 1076%{_prefix}/lib/mono/avahi-sharp
88f6455e 1077%{_prefix}/lib/monodoc/sources/avahi-sharp-docs.*
48163b45 1078%{_pkgconfigdir}/avahi-sharp.pc
fcc1bce8
JB
1079
1080%files -n dotnet-avahi-ui
1081%defattr(644,root,root,755)
1082%{_prefix}/lib/mono/gac/avahi-ui-sharp
1083
1084%files -n dotnet-avahi-ui-devel
1085%defattr(644,root,root,755)
fcc1bce8 1086%{_prefix}/lib/mono/avahi-ui-sharp
88f6455e 1087%{_prefix}/lib/monodoc/sources/avahi-ui-sharp-docs.*
fcc1bce8 1088%{_pkgconfigdir}/avahi-ui-sharp.pc
51f19ad8 1089%endif
84074ccc 1090
1091%files glib
1092%defattr(644,root,root,755)
1093%attr(755,root,root) %{_libdir}/libavahi-glib.so.*.*.*
844a35c9 1094%attr(755,root,root) %ghost %{_libdir}/libavahi-glib.so.1
84074ccc 1095
1096%files glib-devel
1097%defattr(644,root,root,755)
1098%attr(755,root,root) %{_libdir}/libavahi-glib.so
84074ccc 1099%{_includedir}/avahi-glib
1100%{_pkgconfigdir}/avahi-glib.pc
1101
1102%files glib-static
1103%defattr(644,root,root,755)
1104%{_libdir}/libavahi-glib.a
1105
844a35c9
JB
1106%files gobject
1107%defattr(644,root,root,755)
1108%attr(755,root,root) %{_libdir}/libavahi-gobject.so.*.*.*
1109%attr(755,root,root) %ghost %{_libdir}/libavahi-gobject.so.0
87265823
JB
1110%{_libdir}/girepository-1.0/Avahi-0.6.typelib
1111%{_libdir}/girepository-1.0/AvahiCore-0.6.typelib
844a35c9
JB
1112
1113%files gobject-devel
1114%defattr(644,root,root,755)
1115%attr(755,root,root) %{_libdir}/libavahi-gobject.so
844a35c9
JB
1116%{_includedir}/avahi-gobject
1117%{_pkgconfigdir}/avahi-gobject.pc
87265823
JB
1118%{_datadir}/gir-1.0/Avahi-0.6.gir
1119%{_datadir}/gir-1.0/AvahiCore-0.6.gir
844a35c9
JB
1120
1121%files gobject-static
1122%defattr(644,root,root,755)
1123%{_libdir}/libavahi-gobject.a
1124
87384157
JB
1125%if %{with libevent}
1126%files libevent
1127%defattr(644,root,root,755)
1128%attr(755,root,root) %{_libdir}/libavahi-libevent.so.*.*.*
1129%attr(755,root,root) %ghost %{_libdir}/libavahi-libevent.so.1
1130
1131%files libevent-devel
1132%defattr(644,root,root,755)
1133%attr(755,root,root) %{_libdir}/libavahi-libevent.so
1134%{_includedir}/avahi-libevent
1135%{_pkgconfigdir}/avahi-libevent.pc
1136
1137%files libevent-static
1138%defattr(644,root,root,755)
1139%{_libdir}/libavahi-libevent.a
1140%endif
1141
0b1041d5 1142%if %{with qt3}
87384157 1143%files qt3
84074ccc 1144%defattr(644,root,root,755)
1145%attr(755,root,root) %{_libdir}/libavahi-qt3.so.*.*.*
844a35c9 1146%attr(755,root,root) %ghost %{_libdir}/libavahi-qt3.so.1
84074ccc 1147
87384157 1148%files qt3-devel
84074ccc 1149%defattr(644,root,root,755)
1150%attr(755,root,root) %{_libdir}/libavahi-qt3.so
84074ccc 1151%{_includedir}/avahi-qt3
1152%{_pkgconfigdir}/avahi-qt3.pc
1153
87384157 1154%files qt3-static
84074ccc 1155%defattr(644,root,root,755)
1156%{_libdir}/libavahi-qt3.a
0b1041d5 1157%endif
91bdb504 1158
0b1041d5 1159%if %{with qt4}
87384157 1160%files qt4
91bdb504
PS
1161%defattr(644,root,root,755)
1162%attr(755,root,root) %{_libdir}/libavahi-qt4.so.*.*.*
844a35c9 1163%attr(755,root,root) %ghost %{_libdir}/libavahi-qt4.so.1
91bdb504 1164
87384157 1165%files qt4-devel
91bdb504
PS
1166%defattr(644,root,root,755)
1167%attr(755,root,root) %{_libdir}/libavahi-qt4.so
91bdb504
PS
1168%{_includedir}/avahi-qt4
1169%{_pkgconfigdir}/avahi-qt4.pc
1170
87384157 1171%files qt4-static
91bdb504
PS
1172%defattr(644,root,root,755)
1173%{_libdir}/libavahi-qt4.a
528a0e79 1174%endif
84074ccc 1175
87384157
JB
1176%if %{with qt5}
1177%files qt5
1178%defattr(644,root,root,755)
1179%attr(755,root,root) %{_libdir}/libavahi-qt5.so.*.*.*
1180%attr(755,root,root) %ghost %{_libdir}/libavahi-qt5.so.1
1181
1182%files qt5-devel
1183%defattr(644,root,root,755)
1184%attr(755,root,root) %{_libdir}/libavahi-qt5.so
1185%{_includedir}/avahi-qt5
1186%{_pkgconfigdir}/avahi-qt5.pc
1187
1188%files qt5-static
1189%defattr(644,root,root,755)
1190%{_libdir}/libavahi-qt5.a
1191%endif
1192
84074ccc 1193%files bookmarks
1194%defattr(644,root,root,755)
1195%attr(755,root,root) %{_bindir}/avahi-bookmarks
844a35c9 1196%{_mandir}/man1/avahi-bookmarks.1*
84074ccc 1197
87384157 1198%if %{with pygobject}
84074ccc 1199%files discover
1200%defattr(644,root,root,755)
1201%attr(755,root,root) %{_bindir}/avahi-discover
51860451 1202%{_datadir}/%{name}/interfaces/avahi-discover.ui
5acf6365 1203%{_desktopdir}/avahi-discover.desktop
76a611b3 1204%{_pixmapsdir}/avahi.png
844a35c9 1205%{_mandir}/man1/avahi-discover.1*
4f99a994 1206%endif
84074ccc 1207
87384157 1208%if %{with gtk2} || %{with gtk3}
84074ccc 1209%files discover-standalone
1210%defattr(644,root,root,755)
51860451 1211%attr(755,root,root) %{_bindir}/avahi-discover-standalone
87384157
JB
1212
1213%files bshell
1214%defattr(644,root,root,755)
1215%attr(755,root,root) %{_bindir}/bshell
1216%attr(755,root,root) %{_bindir}/bssh
1217%attr(755,root,root) %{_bindir}/bvnc
1218%{_mandir}/man1/bshell.1*
1219%{_mandir}/man1/bssh.1*
1220%{_mandir}/man1/bvnc.1*
1221%{_desktopdir}/bssh.desktop
1222%{_desktopdir}/bvnc.desktop
4f99a994 1223%endif
84074ccc 1224
1225%files utils
1226%defattr(644,root,root,755)
1227%attr(755,root,root) %{_bindir}/avahi-browse
844a35c9 1228%attr(755,root,root) %{_bindir}/avahi-browse-domains
84074ccc 1229%attr(755,root,root) %{_bindir}/avahi-publish
844a35c9
JB
1230%attr(755,root,root) %{_bindir}/avahi-publish-address
1231%attr(755,root,root) %{_bindir}/avahi-publish-service
84074ccc 1232%attr(755,root,root) %{_bindir}/avahi-resolve
844a35c9
JB
1233%attr(755,root,root) %{_bindir}/avahi-resolve-address
1234%attr(755,root,root) %{_bindir}/avahi-resolve-host-name
1235%{_mandir}/man1/avahi-browse.1*
1236%{_mandir}/man1/avahi-browse-domains.1*
1237%{_mandir}/man1/avahi-publish.1*
1238%{_mandir}/man1/avahi-publish-address.1*
1239%{_mandir}/man1/avahi-publish-service.1*
1240%{_mandir}/man1/avahi-resolve.1*
1241%{_mandir}/man1/avahi-resolve-address.1*
1242%{_mandir}/man1/avahi-resolve-host-name.1*
This page took 0.359608 seconds and 4 git commands to generate.