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