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