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