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