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