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