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