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