]> git.pld-linux.org Git - packages/avahi.git/blame - avahi.spec
drop all Upstart hacks
[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
4d8ba2b7 36Release: 9
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
cf57cb18 44Patch0: %{name}-desktop.patch
45Patch1: %{name}-glade.patch
65db52cd 46Patch2: %{name}-destdir.patch
844a35c9 47Patch3: %{name}-mono-dir.patch
65bff097 48Patch4: nss-mdns-package.patch
6823ab8f
JK
49Patch5: %{name}-dhclient_hooks.patch
50Patch6: %{name}-autoipd-sbin_ip.patch
0466d113
ER
51Patch7: 01_%{name}-daemon.conf.patch
52Patch8: %{name}-core-reserve-space-for-record-data-when-size-estimate.patch
8bb55323 53Patch9: %{name}-gtk3.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
f6770c7e 66BuildRequires: gobject-introspection-devel >= 0.9.5
4f99a994 67%if %{with gtk}
4da0d8d4 68BuildRequires: glib2-devel >= 1:2.12.2
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
5adae992 85BuildRequires: python >= 1:2.4
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
91bdb504 93BuildRequires: qt4-build
528a0e79 94%endif
9e3cdda2 95BuildRequires: rpm-pythonprov
a0461649 96BuildRequires: rpmbuild(macros) >= 1.626
84074ccc 97Requires(post,preun): /sbin/chkconfig
6316d682 98Requires(post,preun,postun): systemd-units >= 38
84074ccc 99Requires: %{name}-libs = %{version}-%{release}
11dac41a 100Requires: dbus >= 0.92
f6770c7e 101Requires: libdaemon >= 0.14
438dba17 102Requires: rc-scripts >= 0.4.3
6316d682 103Requires: systemd-units >= 38
78a19f26 104Suggests: nss_mdns >= 0.10-2
76a611b3 105Provides: group(avahi)
5a4d6742 106Provides: user(avahi)
7047114e 107Obsoletes: avahi-systemd
84074ccc 108BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
109
110%description
76a611b3 111Avahi is an implementation the DNS Service Discovery and Multicast DNS
112specifications for Zeroconf Computing. It uses D-BUS for communication
113between user applications and a system daemon.
84074ccc 114
bdc824d1
JR
115%description -l pl.UTF-8
116Avahi jest implementacją specyfikacji DNS Service Discovery i
117Multicast DNS dla Zeroconf Computing. Używa D-BUSa dla komunikacji
118pomiędzy programami użytkownika a demonem systemowym.
84074ccc 119
b2d6640f
JK
120%package autoipd
121Summary: IPv4LL network address configuration daemon
122Summary(pl.UTF-8): Demon configurujący adresy IPv4LL
123Group: Networking/Daemons
45e53a0f
ER
124Requires(postun): /usr/sbin/groupdel
125Requires(postun): /usr/sbin/userdel
126Requires(pre): /bin/id
127Requires(pre): /usr/bin/getgid
128Requires(pre): /usr/sbin/groupadd
129Requires(pre): /usr/sbin/useradd
3fe97cfe
JK
130Provides: group(avahi)
131Provides: user(avahi)
b2d6640f
JK
132
133%description autoipd
45e53a0f
ER
134avahi-autoipd implements IPv4LL, "Dynamic Configuration of IPv4 Link-
135Local Addresses" (IETF RFC3927), a protocol for automatic IP address
136configuration from the link-local 169.254.0.0/16 range without the
137need for a central server. It is primarily intended to be used in
138ad-hoc networks which lack a DHCP server.
b2d6640f
JK
139
140IPv4LL is part of the Zeroconf stack.
141
142%description autoipd -l pl.UTF-8
143avahi-autoipd jest implementacją IPv4LL, protokołu umożliwiającego
144automatyczną konfigurację adresu z zakresu 169.254.0.0/16 bez potrzeby
45e53a0f
ER
145użycia centralnego serwera. Jego głównym zastosowaniem są sieci
146ad-hoc, w których brakuje serwera DHCP.
b2d6640f
JK
147
148IPv4LL jest częścią stosu Zeroconf.
149
84074ccc 150%package libs
151Summary: Avahi client, common and core libraries
bfc0e078 152Summary(pl.UTF-8): Biblioteki Avahi: klienta, wspólna i główna
84074ccc 153Group: Libraries
154
155%description libs
156Avahi client, common and core libraries.
157
bdc824d1
JR
158%description libs -l pl.UTF-8
159Biblioteki Avahi: klienta, wspólna i główna.
84074ccc 160
161%package devel
162Summary: Header files for Avahi library
bfc0e078 163Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi
84074ccc 164Group: Development/Libraries
165Requires: %{name}-libs = %{version}-%{release}
4da0d8d4 166Requires: dbus-devel >= 0.92
84074ccc 167Requires: expat-devel
84074ccc 168
169%description devel
170This is the package containing the header files for Avahi library.
171
bdc824d1
JR
172%description devel -l pl.UTF-8
173Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi.
84074ccc 174
175%package static
176Summary: Static Avahi library
bfc0e078 177Summary(pl.UTF-8): Statyczna biblioteka Avahi
84074ccc 178Group: Development/Libraries
179Requires: %{name}-devel = %{version}-%{release}
180
181%description static
182Static Avahi library.
183
bdc824d1 184%description static -l pl.UTF-8
84074ccc 185Statyczna biblioteka Avahi.
186
fcc1bce8
JB
187%package ui
188Summary: Avahi UI library
189Summary(pl.UTF-8): Biblioteka Avahi UI
190Group: X11/Libraries
191Requires: %{name}-libs = %{version}-%{release}
f6770c7e 192Requires: gtk+2 >= 2:2.14.0
fcc1bce8
JB
193
194%description ui
195Common GTK+ UI support library for Avahi.
196
197%description ui -l pl.UTF-8
198Biblioteka wspólnego interfejsu użytkownika GTK+ dla Avahi.
199
200%package ui-devel
201Summary: Header files for Avahi UI library
202Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI
203Group: X11/Development/Libraries
204Requires: %{name}-devel = %{version}-%{release}
205Requires: %{name}-ui = %{version}-%{release}
f97a9b3d 206Requires: %{name}-ui-devel-common = %{version}-%{release}
f6770c7e 207Requires: gtk+2-devel >= 2:2.14.0
fcc1bce8
JB
208
209%description ui-devel
210Header files for Avahi UI library.
211
212%description ui-devel -l pl.UTF-8
213Pliki nagłówkowe biblioteki Avahi UI.
214
215%package ui-static
216Summary: Static Avahi UI library
217Summary(pl.UTF-8): Statyczna biblioteka Avahi UI
218Group: X11/Development/Libraries
219Requires: %{name}-ui-devel = %{version}-%{release}
220
221%description ui-static
222Static Avahi UI library.
223
224%description ui-static -l pl.UTF-8
225Statyczna biblioteka Avahi UI.
226
f97a9b3d
AF
227%package ui-devel-common
228Summary: Header files for Avahi UI library
229Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI
230Group: X11/Development/Libraries
231Requires: %{name}-devel = %{version}-%{release}
232
233%description ui-devel-common
234Header files for Avahi UI library.
235
236%description ui-devel-common -l pl.UTF-8
237Pliki nagłówkowe biblioteki Avahi GTK+ UI.
238
239%package ui-gtk3
240Summary: Avahi UI library - GTK+ 3.x version
241Summary(pl.UTF-8): Biblioteka Avahi UI - wersja dla GTK+ 3.x
242Group: X11/Libraries
243Requires: %{name}-libs = %{version}-%{release}
244
245%description ui-gtk3
246Common GTK+ 3.x UI support library for Avahi.
247
248%description ui-gtk3 -l pl.UTF-8
249Biblioteka wspólnego interfejsu użytkownika GTK+ 3.x dla Avahi.
250
251%package ui-gtk3-devel
252Summary: Header files for Avahi UI library - GTK+ 3.x version
253Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI - wersja dla GTK+ 3.x
254Group: X11/Development/Libraries
255Requires: %{name}-devel = %{version}-%{release}
256Requires: %{name}-ui-devel-common = %{version}-%{release}
257Requires: %{name}-ui-gtk3 = %{version}-%{release}
258
259%description ui-gtk3-devel
260Header files for Avahi GTK+ 3.x UI library.
261
262%description ui-devel -l pl.UTF-8
263Pliki nagłówkowe biblioteki Avahi GTK+ 3.x UI.
264
265%package ui-gtk3-static
266Summary: Static Avahi UI library - GTK+ 3.x version
267Summary(pl.UTF-8): Statyczna biblioteka Avahi UI - wersja GTK+ 3.x
268Group: X11/Development/Libraries
269Requires: %{name}-ui-gtk3-devel = %{version}-%{release}
270
271%description ui-gtk3-static
272Static Avahi GTK+ 3.x UI library.
273
274%description ui-gtk3-static -l pl.UTF-8
275Statyczna biblioteka Avahi GTK+ 3.x UI.
276
e5a53780 277%package compat-libdns_sd
278Summary: Avahi Bonjour compat library
bfc0e078 279Summary(pl.UTF-8): Biblioteka Avahi zgodna z Bonjour
e5a53780 280Group: Libraries
0466d113 281Requires: %{name}-libs = %{version}-%{release}
097a1f90 282Provides: mdns-bonjour
283Obsoletes: mDNSResponder-libs
e5a53780 284
285%description compat-libdns_sd
286Avahi Bonjour compat library.
287
bdc824d1 288%description compat-libdns_sd -l pl.UTF-8
e5a53780 289Biblioteka Avahi zgodna z Bonjour.
290
291%package compat-libdns_sd-devel
292Summary: Header files for Avahi Bonjour compat library
bfc0e078 293Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour
e5a53780 294Group: Development/Libraries
18aba392 295Requires: %{name}-compat-libdns_sd = %{version}-%{release}
20654292 296Requires: %{name}-devel = %{version}-%{release}
097a1f90 297Provides: mdns-bonjour-devel
298Obsoletes: mDNSResponder-devel
e5a53780 299
300%description compat-libdns_sd-devel
301Header files for Avahi Bonjour compat library.
302
bdc824d1
JR
303%description compat-libdns_sd-devel -l pl.UTF-8
304Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour.
e5a53780 305
306%package compat-libdns_sd-static
307Summary: Static Avahi Bonjour compat library
bfc0e078 308Summary(pl.UTF-8): Statyczna biblioteka Avahi zgodna z Bonjour
e5a53780 309Group: Development/Libraries
65db52cd 310Requires: %{name}-compat-libdns_sd-devel = %{version}-%{release}
097a1f90 311Provides: mdns-bonjour-static
e5a53780 312
313%description compat-libdns_sd-static
de4c7c2f 314Static Avahi Bonjour compat library.
e5a53780 315
bdc824d1 316%description compat-libdns_sd-static -l pl.UTF-8
de4c7c2f 317Statyczna biblioteka Avahi zgodna z Bonjour.
e5a53780 318
20c3c94e 319%package compat-howl
320Summary: Avahi Howl compat library
bfc0e078 321Summary(pl.UTF-8): Biblioteka Avahi zgodna z Howl
20c3c94e 322Group: Libraries
dc5f5072 323Provides: mdns-howl-libs
672bcc85 324Obsoletes: howl-libs
20c3c94e 325
326%description compat-howl
327Avahi Howl compat library.
328
bdc824d1 329%description compat-howl -l pl.UTF-8
20c3c94e 330Biblioteka Avahi zgodna z Howl.
331
332%package compat-howl-devel
333Summary: Header files for Avahi Howl compat library
bfc0e078 334Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl
20c3c94e 335Group: Development/Libraries
336Requires: %{name}-compat-howl = %{version}-%{release}
2e5aa879 337Requires: %{name}-devel = %{version}-%{release}
dc5f5072 338Provides: mdns-howl-devel
672bcc85 339Obsoletes: howl-devel
20c3c94e 340
341%description compat-howl-devel
342Header files for Avahi Howl compat library.
343
bdc824d1
JR
344%description compat-howl-devel -l pl.UTF-8
345Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl.
20c3c94e 346
347%package compat-howl-static
348Summary: Static Avahi Howl compat library
bfc0e078 349Summary(pl.UTF-8): Statyczna biblioteka Avahi zgodna z Howl
20c3c94e 350Group: Development/Libraries
65db52cd 351Requires: %{name}-compat-howl-devel = %{version}-%{release}
dc5f5072 352Provides: mdns-howl-static
672bcc85 353Obsoletes: howl-static
20c3c94e 354
355%description compat-howl-static
356Static Avahi Howl compat library.
357
bdc824d1 358%description compat-howl-static -l pl.UTF-8
20c3c94e 359Statyczna biblioteka Avahi zgodna z Howl.
360
84074ccc 361%package glib
362Summary: Avahi GLib library bindings
bfc0e078 363Summary(pl.UTF-8): Wiązania Avahi dla bibioteki GLib
84074ccc 364Group: Libraries
365
366%description glib
367Avahi GLib library bindings.
368
bdc824d1
JR
369%description glib -l pl.UTF-8
370Wiązania Avahi dla bibioteki GLib.
84074ccc 371
372%package glib-devel
373Summary: Header files for Avahi GLib library bindings
bfc0e078 374Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki GLib
84074ccc 375Group: Development/Libraries
a47dabc0 376Requires: %{name}-devel = %{version}-%{release}
76a611b3 377Requires: %{name}-glib = %{version}-%{release}
4da0d8d4 378Requires: glib2-devel >= 1:2.12.2
84074ccc 379
380%description glib-devel
76a611b3 381This is the package containing the header files for Avahi-glib
382library.
84074ccc 383
bdc824d1
JR
384%description glib-devel -l pl.UTF-8
385Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi-glib.
84074ccc 386
387%package glib-static
388Summary: Static Avahi GLib library
bfc0e078 389Summary(pl.UTF-8): Statyczna biblioteka Avahi GLib
84074ccc 390Group: Development/Libraries
391Requires: %{name}-glib-devel = %{version}-%{release}
392
393%description glib-static
394Static Avahi GLib library.
395
bdc824d1 396%description glib-static -l pl.UTF-8
84074ccc 397Statyczna biblioteka Avahi GLib.
398
844a35c9
JB
399%package gobject
400Summary: Avahi GObject interface
401Summary(pl.UTF-8): Interfejs GObject do Avahi
402Group: Libraries
403
404%description gobject
405Avahi GObject interface.
406
407%description gobject -l pl.UTF-8
408Interfejs GObject do Avahi.
409
410%package gobject-devel
411Summary: Header files for Avahi GObject interface
412Summary(pl.UTF-8): Pliki nagłówkowe interfejsu GObject do Avahi
413Group: Development/Libraries
414Requires: %{name}-devel = %{version}-%{release}
415Requires: %{name}-gobject = %{version}-%{release}
416Requires: glib2-devel >= 1:2.12.2
417
418%description gobject-devel
419This is the package containing the header files for Avahi GObject
420interface.
421
422%description gobject-devel -l pl.UTF-8
423Ten pakiet zawiera pliki nagłówkowe interfejsu GObject do Avahi.
424
425%package gobject-static
426Summary: Static Avahi GObject library
427Summary(pl.UTF-8): Statyczna biblioteka Avahi GObject
428Group: Development/Libraries
429Requires: %{name}-gobject-devel = %{version}-%{release}
430
431%description gobject-static
432Static Avahi GObject library.
433
434%description gobject-static -l pl.UTF-8
435Statyczna biblioteka Avahi GObject.
436
91bdb504 437%package qt
84074ccc 438Summary: Avahi Qt 3 library bindings
bfc0e078 439Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 3
84074ccc 440Group: Libraries
441Requires: %{name}-libs = %{version}-%{release}
91bdb504 442Obsoletes: avahi-qt3
84074ccc 443
91bdb504 444%description qt
84074ccc 445Avahi Qt 3 library bindings.
446
bdc824d1
JR
447%description qt -l pl.UTF-8
448Wiązania Avahi dla biblioteki Qt 3.
84074ccc 449
91bdb504 450%package qt-devel
84074ccc 451Summary: Header files for Avahi Qt 3 library bindings
bfc0e078 452Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3
84074ccc 453Group: Development/Libraries
a47dabc0 454Requires: %{name}-devel = %{version}-%{release}
91bdb504 455Requires: %{name}-qt = %{version}-%{release}
a546f551 456Requires: qt-devel >= 1:3.0
91bdb504 457Obsoletes: avahi-qt3-devel
84074ccc 458
91bdb504 459%description qt-devel
84074ccc 460Header files for Avahi Qt 3 library bindings.
461
bdc824d1
JR
462%description qt-devel -l pl.UTF-8
463Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3.
84074ccc 464
91bdb504 465%package qt-static
84074ccc 466Summary: Static Avahi Qt 3 library
bfc0e078 467Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 3
84074ccc 468Group: Development/Libraries
1d021e1b 469Requires: %{name}-qt-devel = %{version}-%{release}
91bdb504 470Obsoletes: avahi-qt3-static
84074ccc 471
91bdb504 472%description qt-static
84074ccc 473Static Avahi Qt 3 library.
474
bdc824d1 475%description qt-static -l pl.UTF-8
84074ccc 476Statyczna biblioteka Avahi Qt 3.
477
91bdb504
PS
478%package Qt
479Summary: Avahi Qt 4 library bindings
bfc0e078 480Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 4
91bdb504
PS
481Group: Libraries
482Requires: %{name}-libs = %{version}-%{release}
483
484%description Qt
485Avahi Qt 4 library bindings.
486
bdc824d1
JR
487%description Qt -l pl.UTF-8
488Wiązania Avahi dla biblioteki Qt 4.
91bdb504
PS
489
490%package Qt-devel
8aa3f304 491Summary: Header files for Avahi Qt 4 library bindings
bfc0e078 492Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4
91bdb504 493Group: Development/Libraries
91bdb504 494Requires: %{name}-Qt = %{version}-%{release}
9e3cdda2 495Requires: %{name}-devel = %{version}-%{release}
91bdb504
PS
496
497%description Qt-devel
498Header files for Avahi Qt 4 library bindings.
499
bdc824d1
JR
500%description Qt-devel -l pl.UTF-8
501Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4.
91bdb504
PS
502
503%package Qt-static
504Summary: Static Avahi Qt 4 library
bfc0e078 505Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 4
91bdb504
PS
506Group: Development/Libraries
507Requires: %{name}-Qt-devel = %{version}-%{release}
508
509%description Qt-static
510Static Avahi Qt 4 library.
511
bdc824d1 512%description Qt-static -l pl.UTF-8
91bdb504
PS
513Statyczna biblioteka Avahi Qt 4.
514
2fa0b6d5
PZ
515%package -n python-avahi
516Summary: Avahi Python bindings
517Summary(pl.UTF-8): Wiązania Avahi dla Pythona
518Group: Development/Languages/Python
fcc1bce8 519Requires: %{name}-libs = %{version}-%{release}
2fa0b6d5
PZ
520Requires: python-dbus >= 0.71
521
522%description -n python-avahi
523Avahi Python bindings.
524
525%description -n python-avahi -l pl.UTF-8
526Wiązania Avahi dla Pythona.
527
84074ccc 528%package -n dotnet-avahi
529Summary: Avahi MONO bindings
bfc0e078 530Summary(pl.UTF-8): Wiązania Avahi dla MONO
84074ccc 531Group: Libraries
fcc1bce8 532Requires: %{name}-libs = %{version}-%{release}
84074ccc 533
534%description -n dotnet-avahi
535Avahi MONO bindings.
536
bdc824d1
JR
537%description -n dotnet-avahi -l pl.UTF-8
538Wiązania Avahi dla MONO.
84074ccc 539
540%package -n dotnet-avahi-devel
541Summary: Development files for MONO Avahi bindings
bfc0e078 542Summary(pl.UTF-8): Pliki rozwojowe wiązań Avahi dla MONO
84074ccc 543Group: Development/Libraries
76a611b3 544Requires: dotnet-avahi = %{version}-%{release}
e0c273b1 545Requires: monodoc >= 2.6
84074ccc 546
547%description -n dotnet-avahi-devel
548Development files for MONO Avahi bindings.
549
bdc824d1
JR
550%description -n dotnet-avahi-devel -l pl.UTF-8
551Pliki rozwojowe wiązań Avahi dla MONO.
84074ccc 552
fcc1bce8
JB
553%package -n dotnet-avahi-ui
554Summary: Avahi UI MONO bindings
555Summary(pl.UTF-8): Wiązania Avahi UI dla MONO
556Group: X11/Libraries
557Requires: %{name}-ui = %{version}-%{release}
558Requires: dotnet-avahi = %{version}-%{release}
559
560%description -n dotnet-avahi-ui
561Avahi UI MONO bindings.
562
563%description -n dotnet-avahi-ui -l pl.UTF-8
564Wiązania Avahi UI dla MONO.
565
566%package -n dotnet-avahi-ui-devel
567Summary: Development files for MONO Avahi UI bindings
568Summary(pl.UTF-8): Pliki rozwojowe wiązań Avahi UI dla MONO
569Group: X11/Development/Libraries
570Requires: dotnet-avahi-ui = %{version}-%{release}
e0c273b1 571Requires: monodoc >= 2.6
fcc1bce8
JB
572
573%description -n dotnet-avahi-ui-devel
574Development files for MONO Avahi UI bindings.
575
576%description -n dotnet-avahi-ui-devel -l pl.UTF-8
577Pliki rozwojowe wiązań Avahi UI dla MONO.
578
84074ccc 579%package bookmarks
580Summary: Miniature web server
87265823 581Summary(pl.UTF-8): Miniaturowy serwer WWW
76a611b3 582Group: Applications
84074ccc 583
584%description bookmarks
585A Python based miniature web server that browses for mDNS/DNS-SD
586services of type '_http._tcp' (i.e. web sites) and makes them
672bcc85 587available as HTML links on http://localhost:8080/.
76a611b3 588
bdc824d1
JR
589%description bookmarks -l pl.UTF-8
590Napisany w Pythonie miniaturowy serwer WWW, pozwalający na
591przeglądanie usług typu '_http._tcp' (np. stron WWW) i udostępniający
592je jako odnośniki HTML na http://localhost:8080/.
84074ccc 593
594%package discover
595Summary: Avahi Zeroconf browser
bfc0e078 596Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi
76a611b3 597Group: Applications
2fa0b6d5 598Requires: python-avahi = %{version}-%{release}
a702b91a 599Requires: python-pygtk-glade >= 2:2.9.6
84074ccc 600
601%description discover
76a611b3 602A tool for enumerating all available services on the local LAN
603(python-pygtk implementation).
84074ccc 604
bdc824d1
JR
605%description discover -l pl.UTF-8
606Narzędzie wymieniające wszystkie dostępne usługi w sieci lokalnej LAN
76a611b3 607(implementacja w python-pygtk).
84074ccc 608
609%package discover-standalone
610Summary: Avahi Zeroconf browser
bfc0e078 611Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi
76a611b3 612Group: Applications
844a35c9 613Requires: %{name}-glib = %{version}-%{release}
84074ccc 614
615%description discover-standalone
616GTK+ tool for enumerating all available services on the local LAN.
617
bdc824d1
JR
618%description discover-standalone -l pl.UTF-8
619Narzędzie GTK+ wymieniające wszystkie dostępne usługi w sieci lokalnej
76a611b3 620LAN.
84074ccc 621
622%package utils
623Summary: Avahi CLI utilities
bfc0e078 624Summary(pl.UTF-8): Narzędzia CLI Avahi
76a611b3 625Group: Applications
84074ccc 626
627%description utils
628Command line utilities using avahi-client.
629
bdc824d1
JR
630%description utils -l pl.UTF-8
631Narzędzia linii poleceń korzystające z avahi-client.
84074ccc 632
633%prep
634%setup -q
cf57cb18 635%patch0 -p1
636%patch1 -p1
65db52cd 637%patch2 -p1
e3381b19 638%patch3 -p1
65bff097 639%patch4 -p1
6823ab8f
JK
640%patch5 -p1
641%patch6 -p1
4a7813ac
AM
642%patch7 -p1
643%patch8 -p1
8bb55323 644%patch9 -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
805%{_datadir}/%{name}/service-types
87265823 806%{_datadir}/dbus-1/interfaces/org.freedesktop.Avahi.*.xml
84074ccc 807
844a35c9
JB
808%{_mandir}/man1/avahi-set-host-name.1*
809%{_mandir}/man5/avahi-daemon.conf.5*
810%{_mandir}/man5/avahi.hosts.5*
811%{_mandir}/man5/avahi.service.5*
812%{_mandir}/man8/avahi-daemon.8*
813%{_mandir}/man8/avahi-dnsconfd.8*
814%{_mandir}/man8/avahi-dnsconfd.action.8*
84074ccc 815
385ef799 816%attr(754,root,root) /etc/rc.d/init.d/%{name}-daemon
817%attr(754,root,root) /etc/rc.d/init.d/%{name}-dnsconfd
84074ccc 818
b2d6640f
JK
819%files autoipd
820%defattr(644,root,root,755)
821%dir %{_sysconfdir}/avahi
87585768 822%attr(755,root,root) %{_sysconfdir}/%{name}/avahi-autoipd.action
6823ab8f
JK
823%config(noreplace) %verify(not md5 mtime size) /etc/dhclient-enter-hooks.d/avahi-autoipd
824%config(noreplace) %verify(not md5 mtime size) /etc/dhclient-exit-hooks.d/avahi-autoipd
87585768 825%attr(755,root,root) %{_sbindir}/avahi-autoipd
844a35c9
JB
826%{_mandir}/man8/avahi-autoipd.8*
827%{_mandir}/man8/avahi-autoipd.action.8*
87585768 828
844a35c9 829%files libs -f %{name}.lang
84074ccc 830%defattr(644,root,root,755)
831%attr(755,root,root) %{_libdir}/libavahi-client.so.*.*.*
844a35c9 832%attr(755,root,root) %ghost %{_libdir}/libavahi-client.so.3
84074ccc 833%attr(755,root,root) %{_libdir}/libavahi-common.so.*.*.*
844a35c9 834%attr(755,root,root) %ghost %{_libdir}/libavahi-common.so.3
84074ccc 835%attr(755,root,root) %{_libdir}/libavahi-core.so.*.*.*
e3a440ad 836%attr(755,root,root) %ghost %{_libdir}/libavahi-core.so.7
844a35c9
JB
837# common for -discover*
838%dir %{_datadir}/%{name}
839%dir %{_datadir}/%{name}/interfaces
84074ccc 840
841%files devel
842%defattr(644,root,root,755)
843%doc docs/API-CHANGES-0.6 docs/DBUS-API docs/HACKING docs/MALLOC
844%attr(755,root,root) %{_libdir}/libavahi-client.so
845%attr(755,root,root) %{_libdir}/libavahi-common.so
846%attr(755,root,root) %{_libdir}/libavahi-core.so
84074ccc 847%{_includedir}/avahi-client
848%{_includedir}/avahi-common
849%{_includedir}/avahi-core
850%{_pkgconfigdir}/avahi-client.pc
851%{_pkgconfigdir}/avahi-core.pc
852
853%files static
854%defattr(644,root,root,755)
855%{_libdir}/libavahi-client.a
856%{_libdir}/libavahi-common.a
857%{_libdir}/libavahi-core.a
858
4f99a994 859%if %{with gtk}
fcc1bce8
JB
860%files ui
861%defattr(644,root,root,755)
f97a9b3d
AF
862%attr(755,root,root) %{_libdir}/libavahi-ui.so.*.*.*
863%attr(755,root,root) %ghost %{_libdir}/libavahi-ui.so.0
864%if %{without gtk3}
51860451 865%attr(755,root,root) %{_bindir}/bshell
866%attr(755,root,root) %{_bindir}/bssh
867%attr(755,root,root) %{_bindir}/bvnc
f97a9b3d 868%{_mandir}/man1/bshell.1*
844a35c9
JB
869%{_mandir}/man1/bssh.1*
870%{_mandir}/man1/bvnc.1*
51860451 871%{_desktopdir}/bssh.desktop
872%{_desktopdir}/bvnc.desktop
f97a9b3d 873%endif
fcc1bce8
JB
874
875%files ui-devel
876%defattr(644,root,root,755)
51860451 877%attr(755,root,root) %{_libdir}/libavahi-ui.so
fcc1bce8
JB
878%{_pkgconfigdir}/avahi-ui.pc
879
880%files ui-static
881%defattr(644,root,root,755)
51860451 882%{_libdir}/libavahi-ui.a
4f99a994 883%endif
fcc1bce8 884
f97a9b3d
AF
885%if %{with gtk} || %{with gtk3}
886%files ui-devel-common
887%defattr(644,root,root,755)
888%{_includedir}/avahi-ui
889%endif
890
891%if %{with gtk3}
892%files ui-gtk3
893%defattr(644,root,root,755)
894%attr(755,root,root) %{_bindir}/bshell
895%attr(755,root,root) %{_bindir}/bssh
896%attr(755,root,root) %{_bindir}/bvnc
897%attr(755,root,root) %{_libdir}/libavahi-ui-gtk3.so.*.*.*
898%attr(755,root,root) %ghost %{_libdir}/libavahi-ui-gtk3.so.0
899%{_mandir}/man1/bshell.1*
900%{_mandir}/man1/bssh.1*
901%{_mandir}/man1/bvnc.1*
902%{_desktopdir}/bssh.desktop
903%{_desktopdir}/bvnc.desktop
904
905%files ui-gtk3-devel
906%defattr(644,root,root,755)
907%attr(755,root,root) %{_libdir}/libavahi-ui-gtk3.so
908%{_pkgconfigdir}/avahi-ui-gtk3.pc
909
910%files ui-gtk3-static
911%defattr(644,root,root,755)
912%{_libdir}/libavahi-ui-gtk3.a
913%endif
914
e5a53780 915%files compat-libdns_sd
916%defattr(644,root,root,755)
917%attr(755,root,root) %{_libdir}/libdns_sd.so.*.*.*
844a35c9 918%attr(755,root,root) %ghost %{_libdir}/libdns_sd.so.1
e5a53780 919
920%files compat-libdns_sd-devel
921%defattr(644,root,root,755)
922%attr(755,root,root) %{_libdir}/libdns_sd.so
e5a53780 923%{_includedir}/avahi-compat-libdns_sd
c3bb95bb 924%{_includedir}/dns_sd.h
e5a53780 925%{_pkgconfigdir}/avahi-compat-libdns_sd.pc
926
927%files compat-libdns_sd-static
928%defattr(644,root,root,755)
929%{_libdir}/libdns_sd.a
930
20c3c94e 931%files compat-howl
932%defattr(644,root,root,755)
933%attr(755,root,root) %{_libdir}/libhowl.so.*.*.*
844a35c9 934%attr(755,root,root) %ghost %{_libdir}/libhowl.so.0
20c3c94e 935
936%files compat-howl-devel
937%defattr(644,root,root,755)
938%attr(755,root,root) %{_libdir}/libhowl.so
20c3c94e 939%{_includedir}/avahi-compat-howl
940%{_pkgconfigdir}/avahi-compat-howl.pc
941%{_pkgconfigdir}/howl.pc
942
943%files compat-howl-static
944%defattr(644,root,root,755)
945%{_libdir}/libhowl.a
946
2fa0b6d5
PZ
947%files -n python-avahi
948%defattr(644,root,root,755)
949%{py_sitedir}/avahi
950
51f19ad8 951%if %{with dotnet}
952%files -n dotnet-avahi
953%defattr(644,root,root,755)
954%{_prefix}/lib/mono/gac/avahi-sharp
84074ccc 955
51f19ad8 956%files -n dotnet-avahi-devel
957%defattr(644,root,root,755)
5bd74609 958%{_prefix}/lib/mono/avahi-sharp
88f6455e 959%{_prefix}/lib/monodoc/sources/avahi-sharp-docs.*
48163b45 960%{_pkgconfigdir}/avahi-sharp.pc
fcc1bce8
JB
961
962%files -n dotnet-avahi-ui
963%defattr(644,root,root,755)
964%{_prefix}/lib/mono/gac/avahi-ui-sharp
965
966%files -n dotnet-avahi-ui-devel
967%defattr(644,root,root,755)
fcc1bce8 968%{_prefix}/lib/mono/avahi-ui-sharp
88f6455e 969%{_prefix}/lib/monodoc/sources/avahi-ui-sharp-docs.*
fcc1bce8 970%{_pkgconfigdir}/avahi-ui-sharp.pc
51f19ad8 971%endif
84074ccc 972
973%files glib
974%defattr(644,root,root,755)
975%attr(755,root,root) %{_libdir}/libavahi-glib.so.*.*.*
844a35c9 976%attr(755,root,root) %ghost %{_libdir}/libavahi-glib.so.1
84074ccc 977
978%files glib-devel
979%defattr(644,root,root,755)
980%attr(755,root,root) %{_libdir}/libavahi-glib.so
84074ccc 981%{_includedir}/avahi-glib
982%{_pkgconfigdir}/avahi-glib.pc
983
984%files glib-static
985%defattr(644,root,root,755)
986%{_libdir}/libavahi-glib.a
987
844a35c9
JB
988%files gobject
989%defattr(644,root,root,755)
990%attr(755,root,root) %{_libdir}/libavahi-gobject.so.*.*.*
991%attr(755,root,root) %ghost %{_libdir}/libavahi-gobject.so.0
87265823
JB
992%{_libdir}/girepository-1.0/Avahi-0.6.typelib
993%{_libdir}/girepository-1.0/AvahiCore-0.6.typelib
844a35c9
JB
994
995%files gobject-devel
996%defattr(644,root,root,755)
997%attr(755,root,root) %{_libdir}/libavahi-gobject.so
844a35c9
JB
998%{_includedir}/avahi-gobject
999%{_pkgconfigdir}/avahi-gobject.pc
87265823
JB
1000%{_datadir}/gir-1.0/Avahi-0.6.gir
1001%{_datadir}/gir-1.0/AvahiCore-0.6.gir
844a35c9
JB
1002
1003%files gobject-static
1004%defattr(644,root,root,755)
1005%{_libdir}/libavahi-gobject.a
1006
0b1041d5 1007%if %{with qt3}
91bdb504 1008%files qt
84074ccc 1009%defattr(644,root,root,755)
1010%attr(755,root,root) %{_libdir}/libavahi-qt3.so.*.*.*
844a35c9 1011%attr(755,root,root) %ghost %{_libdir}/libavahi-qt3.so.1
84074ccc 1012
91bdb504 1013%files qt-devel
84074ccc 1014%defattr(644,root,root,755)
1015%attr(755,root,root) %{_libdir}/libavahi-qt3.so
84074ccc 1016%{_includedir}/avahi-qt3
1017%{_pkgconfigdir}/avahi-qt3.pc
1018
91bdb504 1019%files qt-static
84074ccc 1020%defattr(644,root,root,755)
1021%{_libdir}/libavahi-qt3.a
0b1041d5 1022%endif
91bdb504 1023
0b1041d5 1024%if %{with qt4}
91bdb504
PS
1025%files Qt
1026%defattr(644,root,root,755)
1027%attr(755,root,root) %{_libdir}/libavahi-qt4.so.*.*.*
844a35c9 1028%attr(755,root,root) %ghost %{_libdir}/libavahi-qt4.so.1
91bdb504
PS
1029
1030%files Qt-devel
1031%defattr(644,root,root,755)
1032%attr(755,root,root) %{_libdir}/libavahi-qt4.so
91bdb504
PS
1033%{_includedir}/avahi-qt4
1034%{_pkgconfigdir}/avahi-qt4.pc
1035
1036%files Qt-static
1037%defattr(644,root,root,755)
1038%{_libdir}/libavahi-qt4.a
528a0e79 1039%endif
84074ccc 1040
1041%files bookmarks
1042%defattr(644,root,root,755)
1043%attr(755,root,root) %{_bindir}/avahi-bookmarks
844a35c9 1044%{_mandir}/man1/avahi-bookmarks.1*
84074ccc 1045
4f99a994 1046%if %{with pygtk}
84074ccc 1047%files discover
1048%defattr(644,root,root,755)
1049%attr(755,root,root) %{_bindir}/avahi-discover
844a35c9 1050%{py_sitedir}/avahi_discover
51860451 1051%{_datadir}/%{name}/interfaces/avahi-discover.ui
5acf6365 1052%{_desktopdir}/avahi-discover.desktop
76a611b3 1053%{_pixmapsdir}/avahi.png
844a35c9 1054%{_mandir}/man1/avahi-discover.1*
4f99a994 1055%endif
84074ccc 1056
4f99a994 1057%if %{with gtk}
84074ccc 1058%files discover-standalone
1059%defattr(644,root,root,755)
51860451 1060%attr(755,root,root) %{_bindir}/avahi-discover-standalone
1061%{_datadir}/%{name}/interfaces/avahi-discover-standalone.glade
4f99a994 1062%endif
84074ccc 1063
1064%files utils
1065%defattr(644,root,root,755)
1066%attr(755,root,root) %{_bindir}/avahi-browse
844a35c9 1067%attr(755,root,root) %{_bindir}/avahi-browse-domains
84074ccc 1068%attr(755,root,root) %{_bindir}/avahi-publish
844a35c9
JB
1069%attr(755,root,root) %{_bindir}/avahi-publish-address
1070%attr(755,root,root) %{_bindir}/avahi-publish-service
84074ccc 1071%attr(755,root,root) %{_bindir}/avahi-resolve
844a35c9
JB
1072%attr(755,root,root) %{_bindir}/avahi-resolve-address
1073%attr(755,root,root) %{_bindir}/avahi-resolve-host-name
1074%{_mandir}/man1/avahi-browse.1*
1075%{_mandir}/man1/avahi-browse-domains.1*
1076%{_mandir}/man1/avahi-publish.1*
1077%{_mandir}/man1/avahi-publish-address.1*
1078%{_mandir}/man1/avahi-publish-service.1*
1079%{_mandir}/man1/avahi-resolve.1*
1080%{_mandir}/man1/avahi-resolve-address.1*
1081%{_mandir}/man1/avahi-resolve-host-name.1*
This page took 0.310855 seconds and 4 git commands to generate.