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