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