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