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