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