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