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