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