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