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