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