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