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