]>
Commit | Line | Data |
---|---|---|
0605e631 | 1 | # TODO |
b990428a | 2 | # - finish with_apidocs |
0605e631 | 3 | # - qt and Qt packages make file collisions on case insensitive filesystems, |
b9952f5b JB |
4 | # consider adding version suffix to either of the packages |
5 | # (or both, -qt3 and -qt4 would be consistent and make place for future -qt5) | |
4f99a994 | 6 | # |
84074ccc | 7 | # Conditional build: |
4f99a994 | 8 | %bcond_with apidocs # build API documentation |
0b1041d5 | 9 | %bcond_without dotnet # build without dotnet bindings |
4f99a994 | 10 | %bcond_without gtk # build without GTK+ |
1ff1727a | 11 | %bcond_without gtk3 # build without GTK+3 |
4f99a994 | 12 | %bcond_without pygtk # build without PyGTK |
0b1041d5 JB |
13 | %bcond_without qt # build without (any) qt bindings |
14 | %bcond_without qt3 # build without qt3 bindings | |
15 | %bcond_without qt4 # build without qt4 bindings | |
65bff097 | 16 | |
0de8e40b | 17 | %ifnarch %{ix86} %{x8664} alpha arm hppa ia64 mips ppc s390 s390x sparc sparcv9 |
b8100891 | 18 | %undefine with_dotnet |
ac2efde5 | 19 | %endif |
20 | %ifarch i386 | |
b8100891 | 21 | %undefine with_dotnet |
ac2efde5 | 22 | %endif |
23 | ||
65bff097 | 24 | %if %{without qt} |
0b1041d5 JB |
25 | %undefine with_qt3 |
26 | %undefine with_qt4 | |
27 | %endif | |
65bff097 | 28 | |
130dbb9c AF |
29 | # see http://lists.pld-linux.org/mailman/pipermail/pld-devel-pl/2012-October/155984.html |
30 | %undefine _ssp_cflags | |
31 | ||
bc0c3717 | 32 | %{?with_dotnet:%include /usr/lib/rpm/macros.mono} |
b2d6640f JK |
33 | Summary: Free mDNS/DNS-SD/Zeroconf implementation |
34 | Summary(pl.UTF-8): Wolna implementacja mDNS/DNS-SD/Zeroconf | |
84074ccc | 35 | Name: avahi |
26897015 | 36 | Version: 0.7 |
c630703e | 37 | Release: 2 |
e91ebdcb | 38 | License: LGPL v2.1+ |
b9952f5b | 39 | Group: Applications/Networking |
c630703e JB |
40 | #Source0Download: https://github.com/lathiat/avahi/releases |
41 | #FIXME: when updating, use release tarballs: https://github.com/lathiat/avahi/releases/download/v%{version}/%{name}-%{version}.tar.gz | |
c84146bc | 42 | Source0: https://github.com/lathiat/avahi/archive/v%{version}.tar.gz |
26897015 | 43 | # Source0-md5: cf4c062467098b42106ca2a9c0c39fa5 |
385ef799 | 44 | Source1: %{name}-daemon |
45 | Source2: %{name}-dnsconfd | |
76a611b3 | 46 | Source3: %{name}.png |
cf57cb18 | 47 | Patch0: %{name}-desktop.patch |
c84146bc | 48 | |
65db52cd | 49 | Patch2: %{name}-destdir.patch |
844a35c9 | 50 | Patch3: %{name}-mono-dir.patch |
65bff097 | 51 | Patch4: nss-mdns-package.patch |
6823ab8f JK |
52 | Patch5: %{name}-dhclient_hooks.patch |
53 | Patch6: %{name}-autoipd-sbin_ip.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 |
b9952f5b | 66 | BuildRequires: glib2-devel >= 1:2.12.2 |
f6770c7e | 67 | BuildRequires: gobject-introspection-devel >= 0.9.5 |
4f99a994 | 68 | %if %{with gtk} |
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 |
1f7404db | 85 | BuildRequires: python >= 1:2.6 |
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 |
1f7404db | 93 | BuildRequires: qt4-build >= 4.0.0 |
528a0e79 | 94 | %endif |
9e3cdda2 | 95 | BuildRequires: rpm-pythonprov |
a0461649 | 96 | BuildRequires: rpmbuild(macros) >= 1.626 |
c84146bc | 97 | BuildRequires: xmltoman |
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 | |
b2d6640f JK |
121 | %package autoipd |
122 | Summary: IPv4LL network address configuration daemon | |
123 | Summary(pl.UTF-8): Demon configurujący adresy IPv4LL | |
124 | Group: Networking/Daemons | |
45e53a0f ER |
125 | Requires(postun): /usr/sbin/groupdel |
126 | Requires(postun): /usr/sbin/userdel | |
127 | Requires(pre): /bin/id | |
128 | Requires(pre): /usr/bin/getgid | |
129 | Requires(pre): /usr/sbin/groupadd | |
130 | Requires(pre): /usr/sbin/useradd | |
3fe97cfe JK |
131 | Provides: group(avahi) |
132 | Provides: user(avahi) | |
b2d6640f JK |
133 | |
134 | %description autoipd | |
45e53a0f ER |
135 | avahi-autoipd implements IPv4LL, "Dynamic Configuration of IPv4 Link- |
136 | Local Addresses" (IETF RFC3927), a protocol for automatic IP address | |
137 | configuration from the link-local 169.254.0.0/16 range without the | |
138 | need for a central server. It is primarily intended to be used in | |
139 | ad-hoc networks which lack a DHCP server. | |
b2d6640f JK |
140 | |
141 | IPv4LL is part of the Zeroconf stack. | |
142 | ||
143 | %description autoipd -l pl.UTF-8 | |
144 | avahi-autoipd jest implementacją IPv4LL, protokołu umożliwiającego | |
145 | automatyczną konfigurację adresu z zakresu 169.254.0.0/16 bez potrzeby | |
45e53a0f ER |
146 | użycia centralnego serwera. Jego głównym zastosowaniem są sieci |
147 | ad-hoc, w których brakuje serwera DHCP. | |
b2d6640f JK |
148 | |
149 | IPv4LL jest częścią stosu Zeroconf. | |
150 | ||
84074ccc | 151 | %package libs |
152 | Summary: Avahi client, common and core libraries | |
bfc0e078 | 153 | Summary(pl.UTF-8): Biblioteki Avahi: klienta, wspólna i główna |
84074ccc | 154 | Group: Libraries |
155 | ||
156 | %description libs | |
157 | Avahi client, common and core libraries. | |
158 | ||
bdc824d1 JR |
159 | %description libs -l pl.UTF-8 |
160 | Biblioteki Avahi: klienta, wspólna i główna. | |
84074ccc | 161 | |
162 | %package devel | |
163 | Summary: Header files for Avahi library | |
bfc0e078 | 164 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi |
84074ccc | 165 | Group: Development/Libraries |
166 | Requires: %{name}-libs = %{version}-%{release} | |
4da0d8d4 | 167 | Requires: dbus-devel >= 0.92 |
84074ccc | 168 | Requires: expat-devel |
84074ccc | 169 | |
170 | %description devel | |
171 | This is the package containing the header files for Avahi library. | |
172 | ||
bdc824d1 JR |
173 | %description devel -l pl.UTF-8 |
174 | Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi. | |
84074ccc | 175 | |
176 | %package static | |
177 | Summary: Static Avahi library | |
bfc0e078 | 178 | Summary(pl.UTF-8): Statyczna biblioteka Avahi |
84074ccc | 179 | Group: Development/Libraries |
180 | Requires: %{name}-devel = %{version}-%{release} | |
181 | ||
182 | %description static | |
183 | Static Avahi library. | |
184 | ||
bdc824d1 | 185 | %description static -l pl.UTF-8 |
84074ccc | 186 | Statyczna biblioteka Avahi. |
187 | ||
fcc1bce8 JB |
188 | %package ui |
189 | Summary: Avahi UI library | |
190 | Summary(pl.UTF-8): Biblioteka Avahi UI | |
191 | Group: X11/Libraries | |
192 | Requires: %{name}-libs = %{version}-%{release} | |
f6770c7e | 193 | Requires: gtk+2 >= 2:2.14.0 |
fcc1bce8 JB |
194 | |
195 | %description ui | |
196 | Common GTK+ UI support library for Avahi. | |
197 | ||
198 | %description ui -l pl.UTF-8 | |
199 | Biblioteka wspólnego interfejsu użytkownika GTK+ dla Avahi. | |
200 | ||
201 | %package ui-devel | |
202 | Summary: Header files for Avahi UI library | |
203 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI | |
204 | Group: X11/Development/Libraries | |
205 | Requires: %{name}-devel = %{version}-%{release} | |
206 | Requires: %{name}-ui = %{version}-%{release} | |
f97a9b3d | 207 | Requires: %{name}-ui-devel-common = %{version}-%{release} |
f6770c7e | 208 | Requires: gtk+2-devel >= 2:2.14.0 |
fcc1bce8 JB |
209 | |
210 | %description ui-devel | |
211 | Header files for Avahi UI library. | |
212 | ||
213 | %description ui-devel -l pl.UTF-8 | |
214 | Pliki nagłówkowe biblioteki Avahi UI. | |
215 | ||
216 | %package ui-static | |
217 | Summary: Static Avahi UI library | |
218 | Summary(pl.UTF-8): Statyczna biblioteka Avahi UI | |
219 | Group: X11/Development/Libraries | |
220 | Requires: %{name}-ui-devel = %{version}-%{release} | |
221 | ||
222 | %description ui-static | |
223 | Static Avahi UI library. | |
224 | ||
225 | %description ui-static -l pl.UTF-8 | |
226 | Statyczna biblioteka Avahi UI. | |
227 | ||
f97a9b3d AF |
228 | %package ui-devel-common |
229 | Summary: Header files for Avahi UI library | |
230 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI | |
231 | Group: X11/Development/Libraries | |
232 | Requires: %{name}-devel = %{version}-%{release} | |
233 | ||
234 | %description ui-devel-common | |
235 | Header files for Avahi UI library. | |
236 | ||
237 | %description ui-devel-common -l pl.UTF-8 | |
238 | Pliki nagłówkowe biblioteki Avahi GTK+ UI. | |
239 | ||
240 | %package ui-gtk3 | |
241 | Summary: Avahi UI library - GTK+ 3.x version | |
242 | Summary(pl.UTF-8): Biblioteka Avahi UI - wersja dla GTK+ 3.x | |
243 | Group: X11/Libraries | |
244 | Requires: %{name}-libs = %{version}-%{release} | |
245 | ||
246 | %description ui-gtk3 | |
247 | Common GTK+ 3.x UI support library for Avahi. | |
248 | ||
249 | %description ui-gtk3 -l pl.UTF-8 | |
250 | Biblioteka wspólnego interfejsu użytkownika GTK+ 3.x dla Avahi. | |
251 | ||
252 | %package ui-gtk3-devel | |
253 | Summary: Header files for Avahi UI library - GTK+ 3.x version | |
254 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi UI - wersja dla GTK+ 3.x | |
255 | Group: X11/Development/Libraries | |
256 | Requires: %{name}-devel = %{version}-%{release} | |
257 | Requires: %{name}-ui-devel-common = %{version}-%{release} | |
258 | Requires: %{name}-ui-gtk3 = %{version}-%{release} | |
259 | ||
260 | %description ui-gtk3-devel | |
261 | Header files for Avahi GTK+ 3.x UI library. | |
262 | ||
263 | %description ui-devel -l pl.UTF-8 | |
264 | Pliki nagłówkowe biblioteki Avahi GTK+ 3.x UI. | |
265 | ||
266 | %package ui-gtk3-static | |
267 | Summary: Static Avahi UI library - GTK+ 3.x version | |
268 | Summary(pl.UTF-8): Statyczna biblioteka Avahi UI - wersja GTK+ 3.x | |
269 | Group: X11/Development/Libraries | |
270 | Requires: %{name}-ui-gtk3-devel = %{version}-%{release} | |
271 | ||
272 | %description ui-gtk3-static | |
273 | Static Avahi GTK+ 3.x UI library. | |
274 | ||
275 | %description ui-gtk3-static -l pl.UTF-8 | |
276 | Statyczna biblioteka Avahi GTK+ 3.x UI. | |
277 | ||
e5a53780 | 278 | %package compat-libdns_sd |
279 | Summary: Avahi Bonjour compat library | |
bfc0e078 | 280 | Summary(pl.UTF-8): Biblioteka Avahi zgodna z Bonjour |
e5a53780 | 281 | Group: Libraries |
0466d113 | 282 | Requires: %{name}-libs = %{version}-%{release} |
097a1f90 | 283 | Provides: mdns-bonjour |
284 | Obsoletes: mDNSResponder-libs | |
e5a53780 | 285 | |
286 | %description compat-libdns_sd | |
287 | Avahi Bonjour compat library. | |
288 | ||
bdc824d1 | 289 | %description compat-libdns_sd -l pl.UTF-8 |
e5a53780 | 290 | Biblioteka Avahi zgodna z Bonjour. |
291 | ||
292 | %package compat-libdns_sd-devel | |
293 | Summary: Header files for Avahi Bonjour compat library | |
bfc0e078 | 294 | Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour |
e5a53780 | 295 | Group: Development/Libraries |
18aba392 | 296 | Requires: %{name}-compat-libdns_sd = %{version}-%{release} |
20654292 | 297 | Requires: %{name}-devel = %{version}-%{release} |
097a1f90 | 298 | Provides: mdns-bonjour-devel |
299 | Obsoletes: mDNSResponder-devel | |
e5a53780 | 300 | |
301 | %description compat-libdns_sd-devel | |
302 | Header files for Avahi Bonjour compat library. | |
303 | ||
bdc824d1 JR |
304 | %description compat-libdns_sd-devel -l pl.UTF-8 |
305 | Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour. | |
e5a53780 | 306 | |
307 | %package compat-libdns_sd-static | |
308 | Summary: Static Avahi Bonjour compat library | |
bfc0e078 | 309 | Summary(pl.UTF-8): Statyczna biblioteka Avahi zgodna z Bonjour |
e5a53780 | 310 | Group: Development/Libraries |
65db52cd | 311 | Requires: %{name}-compat-libdns_sd-devel = %{version}-%{release} |
097a1f90 | 312 | Provides: mdns-bonjour-static |
e5a53780 | 313 | |
314 | %description compat-libdns_sd-static | |
de4c7c2f | 315 | Static Avahi Bonjour compat library. |
e5a53780 | 316 | |
bdc824d1 | 317 | %description compat-libdns_sd-static -l pl.UTF-8 |
de4c7c2f | 318 | Statyczna biblioteka Avahi zgodna z Bonjour. |
e5a53780 | 319 | |
20c3c94e | 320 | %package compat-howl |
321 | Summary: Avahi Howl compat library | |
bfc0e078 | 322 | Summary(pl.UTF-8): Biblioteka Avahi zgodna z Howl |
20c3c94e | 323 | Group: Libraries |
dc5f5072 | 324 | Provides: mdns-howl-libs |
672bcc85 | 325 | Obsoletes: howl-libs |
20c3c94e | 326 | |
327 | %description compat-howl | |
328 | Avahi Howl compat library. | |
329 | ||
bdc824d1 | 330 | %description compat-howl -l pl.UTF-8 |
20c3c94e | 331 | Biblioteka Avahi zgodna z Howl. |
332 | ||
333 | %package compat-howl-devel | |
334 | Summary: Header files for Avahi Howl compat library | |
bfc0e078 | 335 | Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl |
20c3c94e | 336 | Group: Development/Libraries |
337 | Requires: %{name}-compat-howl = %{version}-%{release} | |
2e5aa879 | 338 | Requires: %{name}-devel = %{version}-%{release} |
dc5f5072 | 339 | Provides: mdns-howl-devel |
672bcc85 | 340 | Obsoletes: howl-devel |
20c3c94e | 341 | |
342 | %description compat-howl-devel | |
343 | Header files for Avahi Howl compat library. | |
344 | ||
bdc824d1 JR |
345 | %description compat-howl-devel -l pl.UTF-8 |
346 | Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl. | |
20c3c94e | 347 | |
348 | %package compat-howl-static | |
349 | Summary: Static Avahi Howl compat library | |
bfc0e078 | 350 | Summary(pl.UTF-8): Statyczna biblioteka Avahi zgodna z Howl |
20c3c94e | 351 | Group: Development/Libraries |
65db52cd | 352 | Requires: %{name}-compat-howl-devel = %{version}-%{release} |
dc5f5072 | 353 | Provides: mdns-howl-static |
672bcc85 | 354 | Obsoletes: howl-static |
20c3c94e | 355 | |
356 | %description compat-howl-static | |
357 | Static Avahi Howl compat library. | |
358 | ||
bdc824d1 | 359 | %description compat-howl-static -l pl.UTF-8 |
20c3c94e | 360 | Statyczna biblioteka Avahi zgodna z Howl. |
361 | ||
84074ccc | 362 | %package glib |
363 | Summary: Avahi GLib library bindings | |
bfc0e078 | 364 | Summary(pl.UTF-8): Wiązania Avahi dla bibioteki GLib |
84074ccc | 365 | Group: Libraries |
b9952f5b | 366 | Requires: glib2 >= 1:2.12.2 |
84074ccc | 367 | |
368 | %description glib | |
369 | Avahi GLib library bindings. | |
370 | ||
bdc824d1 JR |
371 | %description glib -l pl.UTF-8 |
372 | Wiązania Avahi dla bibioteki GLib. | |
84074ccc | 373 | |
374 | %package glib-devel | |
375 | Summary: Header files for Avahi GLib library bindings | |
bfc0e078 | 376 | Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki GLib |
84074ccc | 377 | Group: Development/Libraries |
a47dabc0 | 378 | Requires: %{name}-devel = %{version}-%{release} |
76a611b3 | 379 | Requires: %{name}-glib = %{version}-%{release} |
4da0d8d4 | 380 | Requires: glib2-devel >= 1:2.12.2 |
84074ccc | 381 | |
382 | %description glib-devel | |
76a611b3 | 383 | This is the package containing the header files for Avahi-glib |
384 | library. | |
84074ccc | 385 | |
bdc824d1 JR |
386 | %description glib-devel -l pl.UTF-8 |
387 | Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi-glib. | |
84074ccc | 388 | |
389 | %package glib-static | |
390 | Summary: Static Avahi GLib library | |
bfc0e078 | 391 | Summary(pl.UTF-8): Statyczna biblioteka Avahi GLib |
84074ccc | 392 | Group: Development/Libraries |
393 | Requires: %{name}-glib-devel = %{version}-%{release} | |
394 | ||
395 | %description glib-static | |
396 | Static Avahi GLib library. | |
397 | ||
bdc824d1 | 398 | %description glib-static -l pl.UTF-8 |
84074ccc | 399 | Statyczna biblioteka Avahi GLib. |
400 | ||
844a35c9 JB |
401 | %package gobject |
402 | Summary: Avahi GObject interface | |
403 | Summary(pl.UTF-8): Interfejs GObject do Avahi | |
404 | Group: Libraries | |
b9952f5b | 405 | Requires: glib2 >= 1:2.12.2 |
844a35c9 JB |
406 | |
407 | %description gobject | |
408 | Avahi GObject interface. | |
409 | ||
410 | %description gobject -l pl.UTF-8 | |
411 | Interfejs GObject do Avahi. | |
412 | ||
413 | %package gobject-devel | |
414 | Summary: Header files for Avahi GObject interface | |
415 | Summary(pl.UTF-8): Pliki nagłówkowe interfejsu GObject do Avahi | |
416 | Group: Development/Libraries | |
417 | Requires: %{name}-devel = %{version}-%{release} | |
418 | Requires: %{name}-gobject = %{version}-%{release} | |
419 | Requires: glib2-devel >= 1:2.12.2 | |
420 | ||
421 | %description gobject-devel | |
422 | This is the package containing the header files for Avahi GObject | |
423 | interface. | |
424 | ||
425 | %description gobject-devel -l pl.UTF-8 | |
426 | Ten pakiet zawiera pliki nagłówkowe interfejsu GObject do Avahi. | |
427 | ||
428 | %package gobject-static | |
429 | Summary: Static Avahi GObject library | |
430 | Summary(pl.UTF-8): Statyczna biblioteka Avahi GObject | |
431 | Group: Development/Libraries | |
432 | Requires: %{name}-gobject-devel = %{version}-%{release} | |
433 | ||
434 | %description gobject-static | |
435 | Static Avahi GObject library. | |
436 | ||
437 | %description gobject-static -l pl.UTF-8 | |
438 | Statyczna biblioteka Avahi GObject. | |
439 | ||
91bdb504 | 440 | %package qt |
84074ccc | 441 | Summary: Avahi Qt 3 library bindings |
bfc0e078 | 442 | Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 3 |
84074ccc | 443 | Group: Libraries |
444 | Requires: %{name}-libs = %{version}-%{release} | |
91bdb504 | 445 | Obsoletes: avahi-qt3 |
84074ccc | 446 | |
91bdb504 | 447 | %description qt |
84074ccc | 448 | Avahi Qt 3 library bindings. |
449 | ||
bdc824d1 JR |
450 | %description qt -l pl.UTF-8 |
451 | Wiązania Avahi dla biblioteki Qt 3. | |
84074ccc | 452 | |
91bdb504 | 453 | %package qt-devel |
84074ccc | 454 | Summary: Header files for Avahi Qt 3 library bindings |
bfc0e078 | 455 | Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3 |
84074ccc | 456 | Group: Development/Libraries |
a47dabc0 | 457 | Requires: %{name}-devel = %{version}-%{release} |
91bdb504 | 458 | Requires: %{name}-qt = %{version}-%{release} |
a546f551 | 459 | Requires: qt-devel >= 1:3.0 |
91bdb504 | 460 | Obsoletes: avahi-qt3-devel |
84074ccc | 461 | |
91bdb504 | 462 | %description qt-devel |
84074ccc | 463 | Header files for Avahi Qt 3 library bindings. |
464 | ||
bdc824d1 JR |
465 | %description qt-devel -l pl.UTF-8 |
466 | Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3. | |
84074ccc | 467 | |
91bdb504 | 468 | %package qt-static |
84074ccc | 469 | Summary: Static Avahi Qt 3 library |
bfc0e078 | 470 | Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 3 |
84074ccc | 471 | Group: Development/Libraries |
1d021e1b | 472 | Requires: %{name}-qt-devel = %{version}-%{release} |
91bdb504 | 473 | Obsoletes: avahi-qt3-static |
84074ccc | 474 | |
91bdb504 | 475 | %description qt-static |
84074ccc | 476 | Static Avahi Qt 3 library. |
477 | ||
bdc824d1 | 478 | %description qt-static -l pl.UTF-8 |
84074ccc | 479 | Statyczna biblioteka Avahi Qt 3. |
480 | ||
91bdb504 PS |
481 | %package Qt |
482 | Summary: Avahi Qt 4 library bindings | |
bfc0e078 | 483 | Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 4 |
91bdb504 PS |
484 | Group: Libraries |
485 | Requires: %{name}-libs = %{version}-%{release} | |
486 | ||
487 | %description Qt | |
488 | Avahi Qt 4 library bindings. | |
489 | ||
bdc824d1 JR |
490 | %description Qt -l pl.UTF-8 |
491 | Wiązania Avahi dla biblioteki Qt 4. | |
91bdb504 PS |
492 | |
493 | %package Qt-devel | |
8aa3f304 | 494 | Summary: Header files for Avahi Qt 4 library bindings |
bfc0e078 | 495 | Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4 |
91bdb504 | 496 | Group: Development/Libraries |
91bdb504 | 497 | Requires: %{name}-Qt = %{version}-%{release} |
9e3cdda2 | 498 | Requires: %{name}-devel = %{version}-%{release} |
91bdb504 PS |
499 | |
500 | %description Qt-devel | |
501 | Header files for Avahi Qt 4 library bindings. | |
502 | ||
bdc824d1 JR |
503 | %description Qt-devel -l pl.UTF-8 |
504 | Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4. | |
91bdb504 PS |
505 | |
506 | %package Qt-static | |
507 | Summary: Static Avahi Qt 4 library | |
bfc0e078 | 508 | Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 4 |
91bdb504 PS |
509 | Group: Development/Libraries |
510 | Requires: %{name}-Qt-devel = %{version}-%{release} | |
511 | ||
512 | %description Qt-static | |
513 | Static Avahi Qt 4 library. | |
514 | ||
bdc824d1 | 515 | %description Qt-static -l pl.UTF-8 |
91bdb504 PS |
516 | Statyczna biblioteka Avahi Qt 4. |
517 | ||
2fa0b6d5 PZ |
518 | %package -n python-avahi |
519 | Summary: Avahi Python bindings | |
520 | Summary(pl.UTF-8): Wiązania Avahi dla Pythona | |
521 | Group: Development/Languages/Python | |
fcc1bce8 | 522 | Requires: %{name}-libs = %{version}-%{release} |
2fa0b6d5 PZ |
523 | Requires: python-dbus >= 0.71 |
524 | ||
525 | %description -n python-avahi | |
526 | Avahi Python bindings. | |
527 | ||
528 | %description -n python-avahi -l pl.UTF-8 | |
529 | Wiązania Avahi dla Pythona. | |
530 | ||
84074ccc | 531 | %package -n dotnet-avahi |
532 | Summary: Avahi MONO bindings | |
bfc0e078 | 533 | Summary(pl.UTF-8): Wiązania Avahi dla MONO |
84074ccc | 534 | Group: Libraries |
fcc1bce8 | 535 | Requires: %{name}-libs = %{version}-%{release} |
84074ccc | 536 | |
537 | %description -n dotnet-avahi | |
538 | Avahi MONO bindings. | |
539 | ||
bdc824d1 JR |
540 | %description -n dotnet-avahi -l pl.UTF-8 |
541 | Wiązania Avahi dla MONO. | |
84074ccc | 542 | |
543 | %package -n dotnet-avahi-devel | |
544 | Summary: Development files for MONO Avahi bindings | |
bfc0e078 | 545 | Summary(pl.UTF-8): Pliki rozwojowe wiązań Avahi dla MONO |
84074ccc | 546 | Group: Development/Libraries |
76a611b3 | 547 | Requires: dotnet-avahi = %{version}-%{release} |
e0c273b1 | 548 | Requires: monodoc >= 2.6 |
84074ccc | 549 | |
550 | %description -n dotnet-avahi-devel | |
551 | Development files for MONO Avahi bindings. | |
552 | ||
bdc824d1 JR |
553 | %description -n dotnet-avahi-devel -l pl.UTF-8 |
554 | Pliki rozwojowe wiązań Avahi dla MONO. | |
84074ccc | 555 | |
fcc1bce8 JB |
556 | %package -n dotnet-avahi-ui |
557 | Summary: Avahi UI MONO bindings | |
558 | Summary(pl.UTF-8): Wiązania Avahi UI dla MONO | |
559 | Group: X11/Libraries | |
560 | Requires: %{name}-ui = %{version}-%{release} | |
561 | Requires: dotnet-avahi = %{version}-%{release} | |
562 | ||
563 | %description -n dotnet-avahi-ui | |
564 | Avahi UI MONO bindings. | |
565 | ||
566 | %description -n dotnet-avahi-ui -l pl.UTF-8 | |
567 | Wiązania Avahi UI dla MONO. | |
568 | ||
569 | %package -n dotnet-avahi-ui-devel | |
570 | Summary: Development files for MONO Avahi UI bindings | |
571 | Summary(pl.UTF-8): Pliki rozwojowe wiązań Avahi UI dla MONO | |
572 | Group: X11/Development/Libraries | |
573 | Requires: dotnet-avahi-ui = %{version}-%{release} | |
e0c273b1 | 574 | Requires: monodoc >= 2.6 |
fcc1bce8 JB |
575 | |
576 | %description -n dotnet-avahi-ui-devel | |
577 | Development files for MONO Avahi UI bindings. | |
578 | ||
579 | %description -n dotnet-avahi-ui-devel -l pl.UTF-8 | |
580 | Pliki rozwojowe wiązań Avahi UI dla MONO. | |
581 | ||
84074ccc | 582 | %package bookmarks |
583 | Summary: Miniature web server | |
87265823 | 584 | Summary(pl.UTF-8): Miniaturowy serwer WWW |
76a611b3 | 585 | Group: Applications |
84074ccc | 586 | |
587 | %description bookmarks | |
588 | A Python based miniature web server that browses for mDNS/DNS-SD | |
589 | services of type '_http._tcp' (i.e. web sites) and makes them | |
672bcc85 | 590 | available as HTML links on http://localhost:8080/. |
76a611b3 | 591 | |
bdc824d1 JR |
592 | %description bookmarks -l pl.UTF-8 |
593 | Napisany w Pythonie miniaturowy serwer WWW, pozwalający na | |
594 | przeglądanie usług typu '_http._tcp' (np. stron WWW) i udostępniający | |
595 | je jako odnośniki HTML na http://localhost:8080/. | |
84074ccc | 596 | |
597 | %package discover | |
598 | Summary: Avahi Zeroconf browser | |
bfc0e078 | 599 | Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi |
76a611b3 | 600 | Group: Applications |
2fa0b6d5 | 601 | Requires: python-avahi = %{version}-%{release} |
a702b91a | 602 | Requires: python-pygtk-glade >= 2:2.9.6 |
84074ccc | 603 | |
604 | %description discover | |
76a611b3 | 605 | A tool for enumerating all available services on the local LAN |
606 | (python-pygtk implementation). | |
84074ccc | 607 | |
bdc824d1 JR |
608 | %description discover -l pl.UTF-8 |
609 | Narzędzie wymieniające wszystkie dostępne usługi w sieci lokalnej LAN | |
76a611b3 | 610 | (implementacja w python-pygtk). |
84074ccc | 611 | |
612 | %package discover-standalone | |
613 | Summary: Avahi Zeroconf browser | |
bfc0e078 | 614 | Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi |
76a611b3 | 615 | Group: Applications |
844a35c9 | 616 | Requires: %{name}-glib = %{version}-%{release} |
84074ccc | 617 | |
618 | %description discover-standalone | |
619 | GTK+ tool for enumerating all available services on the local LAN. | |
620 | ||
bdc824d1 JR |
621 | %description discover-standalone -l pl.UTF-8 |
622 | Narzędzie GTK+ wymieniające wszystkie dostępne usługi w sieci lokalnej | |
76a611b3 | 623 | LAN. |
84074ccc | 624 | |
625 | %package utils | |
626 | Summary: Avahi CLI utilities | |
bfc0e078 | 627 | Summary(pl.UTF-8): Narzędzia CLI Avahi |
76a611b3 | 628 | Group: Applications |
84074ccc | 629 | |
630 | %description utils | |
631 | Command line utilities using avahi-client. | |
632 | ||
bdc824d1 JR |
633 | %description utils -l pl.UTF-8 |
634 | Narzędzia linii poleceń korzystające z avahi-client. | |
84074ccc | 635 | |
636 | %prep | |
637 | %setup -q | |
cf57cb18 | 638 | %patch0 -p1 |
c84146bc | 639 | |
65db52cd | 640 | %patch2 -p1 |
e3381b19 | 641 | %patch3 -p1 |
65bff097 | 642 | %patch4 -p1 |
6823ab8f JK |
643 | %patch5 -p1 |
644 | %patch6 -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 |
87265823 | 805 | %{_datadir}/dbus-1/interfaces/org.freedesktop.Avahi.*.xml |
84074ccc | 806 | |
844a35c9 JB |
807 | %{_mandir}/man1/avahi-set-host-name.1* |
808 | %{_mandir}/man5/avahi-daemon.conf.5* | |
809 | %{_mandir}/man5/avahi.hosts.5* | |
810 | %{_mandir}/man5/avahi.service.5* | |
811 | %{_mandir}/man8/avahi-daemon.8* | |
812 | %{_mandir}/man8/avahi-dnsconfd.8* | |
813 | %{_mandir}/man8/avahi-dnsconfd.action.8* | |
84074ccc | 814 | |
385ef799 | 815 | %attr(754,root,root) /etc/rc.d/init.d/%{name}-daemon |
816 | %attr(754,root,root) /etc/rc.d/init.d/%{name}-dnsconfd | |
84074ccc | 817 | |
b2d6640f JK |
818 | %files autoipd |
819 | %defattr(644,root,root,755) | |
820 | %dir %{_sysconfdir}/avahi | |
87585768 | 821 | %attr(755,root,root) %{_sysconfdir}/%{name}/avahi-autoipd.action |
6823ab8f JK |
822 | %config(noreplace) %verify(not md5 mtime size) /etc/dhclient-enter-hooks.d/avahi-autoipd |
823 | %config(noreplace) %verify(not md5 mtime size) /etc/dhclient-exit-hooks.d/avahi-autoipd | |
87585768 | 824 | %attr(755,root,root) %{_sbindir}/avahi-autoipd |
844a35c9 JB |
825 | %{_mandir}/man8/avahi-autoipd.8* |
826 | %{_mandir}/man8/avahi-autoipd.action.8* | |
87585768 | 827 | |
844a35c9 | 828 | %files libs -f %{name}.lang |
84074ccc | 829 | %defattr(644,root,root,755) |
830 | %attr(755,root,root) %{_libdir}/libavahi-client.so.*.*.* | |
844a35c9 | 831 | %attr(755,root,root) %ghost %{_libdir}/libavahi-client.so.3 |
84074ccc | 832 | %attr(755,root,root) %{_libdir}/libavahi-common.so.*.*.* |
844a35c9 | 833 | %attr(755,root,root) %ghost %{_libdir}/libavahi-common.so.3 |
84074ccc | 834 | %attr(755,root,root) %{_libdir}/libavahi-core.so.*.*.* |
e3a440ad | 835 | %attr(755,root,root) %ghost %{_libdir}/libavahi-core.so.7 |
844a35c9 JB |
836 | # common for -discover* |
837 | %dir %{_datadir}/%{name} | |
838 | %dir %{_datadir}/%{name}/interfaces | |
84074ccc | 839 | |
840 | %files devel | |
841 | %defattr(644,root,root,755) | |
842 | %doc docs/API-CHANGES-0.6 docs/DBUS-API docs/HACKING docs/MALLOC | |
843 | %attr(755,root,root) %{_libdir}/libavahi-client.so | |
844 | %attr(755,root,root) %{_libdir}/libavahi-common.so | |
845 | %attr(755,root,root) %{_libdir}/libavahi-core.so | |
84074ccc | 846 | %{_includedir}/avahi-client |
847 | %{_includedir}/avahi-common | |
848 | %{_includedir}/avahi-core | |
849 | %{_pkgconfigdir}/avahi-client.pc | |
850 | %{_pkgconfigdir}/avahi-core.pc | |
851 | ||
852 | %files static | |
853 | %defattr(644,root,root,755) | |
854 | %{_libdir}/libavahi-client.a | |
855 | %{_libdir}/libavahi-common.a | |
856 | %{_libdir}/libavahi-core.a | |
857 | ||
4f99a994 | 858 | %if %{with gtk} |
fcc1bce8 JB |
859 | %files ui |
860 | %defattr(644,root,root,755) | |
f97a9b3d AF |
861 | %attr(755,root,root) %{_libdir}/libavahi-ui.so.*.*.* |
862 | %attr(755,root,root) %ghost %{_libdir}/libavahi-ui.so.0 | |
863 | %if %{without gtk3} | |
51860451 | 864 | %attr(755,root,root) %{_bindir}/bshell |
865 | %attr(755,root,root) %{_bindir}/bssh | |
866 | %attr(755,root,root) %{_bindir}/bvnc | |
f97a9b3d | 867 | %{_mandir}/man1/bshell.1* |
844a35c9 JB |
868 | %{_mandir}/man1/bssh.1* |
869 | %{_mandir}/man1/bvnc.1* | |
51860451 | 870 | %{_desktopdir}/bssh.desktop |
871 | %{_desktopdir}/bvnc.desktop | |
f97a9b3d | 872 | %endif |
fcc1bce8 JB |
873 | |
874 | %files ui-devel | |
875 | %defattr(644,root,root,755) | |
51860451 | 876 | %attr(755,root,root) %{_libdir}/libavahi-ui.so |
fcc1bce8 JB |
877 | %{_pkgconfigdir}/avahi-ui.pc |
878 | ||
879 | %files ui-static | |
880 | %defattr(644,root,root,755) | |
51860451 | 881 | %{_libdir}/libavahi-ui.a |
4f99a994 | 882 | %endif |
fcc1bce8 | 883 | |
f97a9b3d AF |
884 | %if %{with gtk} || %{with gtk3} |
885 | %files ui-devel-common | |
886 | %defattr(644,root,root,755) | |
887 | %{_includedir}/avahi-ui | |
888 | %endif | |
889 | ||
890 | %if %{with gtk3} | |
891 | %files ui-gtk3 | |
892 | %defattr(644,root,root,755) | |
893 | %attr(755,root,root) %{_bindir}/bshell | |
894 | %attr(755,root,root) %{_bindir}/bssh | |
895 | %attr(755,root,root) %{_bindir}/bvnc | |
896 | %attr(755,root,root) %{_libdir}/libavahi-ui-gtk3.so.*.*.* | |
897 | %attr(755,root,root) %ghost %{_libdir}/libavahi-ui-gtk3.so.0 | |
898 | %{_mandir}/man1/bshell.1* | |
899 | %{_mandir}/man1/bssh.1* | |
900 | %{_mandir}/man1/bvnc.1* | |
901 | %{_desktopdir}/bssh.desktop | |
902 | %{_desktopdir}/bvnc.desktop | |
903 | ||
904 | %files ui-gtk3-devel | |
905 | %defattr(644,root,root,755) | |
906 | %attr(755,root,root) %{_libdir}/libavahi-ui-gtk3.so | |
907 | %{_pkgconfigdir}/avahi-ui-gtk3.pc | |
908 | ||
909 | %files ui-gtk3-static | |
910 | %defattr(644,root,root,755) | |
911 | %{_libdir}/libavahi-ui-gtk3.a | |
912 | %endif | |
913 | ||
e5a53780 | 914 | %files compat-libdns_sd |
915 | %defattr(644,root,root,755) | |
916 | %attr(755,root,root) %{_libdir}/libdns_sd.so.*.*.* | |
844a35c9 | 917 | %attr(755,root,root) %ghost %{_libdir}/libdns_sd.so.1 |
e5a53780 | 918 | |
919 | %files compat-libdns_sd-devel | |
920 | %defattr(644,root,root,755) | |
921 | %attr(755,root,root) %{_libdir}/libdns_sd.so | |
e5a53780 | 922 | %{_includedir}/avahi-compat-libdns_sd |
c3bb95bb | 923 | %{_includedir}/dns_sd.h |
e5a53780 | 924 | %{_pkgconfigdir}/avahi-compat-libdns_sd.pc |
925 | ||
926 | %files compat-libdns_sd-static | |
927 | %defattr(644,root,root,755) | |
928 | %{_libdir}/libdns_sd.a | |
929 | ||
20c3c94e | 930 | %files compat-howl |
931 | %defattr(644,root,root,755) | |
932 | %attr(755,root,root) %{_libdir}/libhowl.so.*.*.* | |
844a35c9 | 933 | %attr(755,root,root) %ghost %{_libdir}/libhowl.so.0 |
20c3c94e | 934 | |
935 | %files compat-howl-devel | |
936 | %defattr(644,root,root,755) | |
937 | %attr(755,root,root) %{_libdir}/libhowl.so | |
20c3c94e | 938 | %{_includedir}/avahi-compat-howl |
939 | %{_pkgconfigdir}/avahi-compat-howl.pc | |
940 | %{_pkgconfigdir}/howl.pc | |
941 | ||
942 | %files compat-howl-static | |
943 | %defattr(644,root,root,755) | |
944 | %{_libdir}/libhowl.a | |
945 | ||
2fa0b6d5 PZ |
946 | %files -n python-avahi |
947 | %defattr(644,root,root,755) | |
948 | %{py_sitedir}/avahi | |
949 | ||
51f19ad8 | 950 | %if %{with dotnet} |
951 | %files -n dotnet-avahi | |
952 | %defattr(644,root,root,755) | |
953 | %{_prefix}/lib/mono/gac/avahi-sharp | |
84074ccc | 954 | |
51f19ad8 | 955 | %files -n dotnet-avahi-devel |
956 | %defattr(644,root,root,755) | |
5bd74609 | 957 | %{_prefix}/lib/mono/avahi-sharp |
88f6455e | 958 | %{_prefix}/lib/monodoc/sources/avahi-sharp-docs.* |
48163b45 | 959 | %{_pkgconfigdir}/avahi-sharp.pc |
fcc1bce8 JB |
960 | |
961 | %files -n dotnet-avahi-ui | |
962 | %defattr(644,root,root,755) | |
963 | %{_prefix}/lib/mono/gac/avahi-ui-sharp | |
964 | ||
965 | %files -n dotnet-avahi-ui-devel | |
966 | %defattr(644,root,root,755) | |
fcc1bce8 | 967 | %{_prefix}/lib/mono/avahi-ui-sharp |
88f6455e | 968 | %{_prefix}/lib/monodoc/sources/avahi-ui-sharp-docs.* |
fcc1bce8 | 969 | %{_pkgconfigdir}/avahi-ui-sharp.pc |
51f19ad8 | 970 | %endif |
84074ccc | 971 | |
972 | %files glib | |
973 | %defattr(644,root,root,755) | |
974 | %attr(755,root,root) %{_libdir}/libavahi-glib.so.*.*.* | |
844a35c9 | 975 | %attr(755,root,root) %ghost %{_libdir}/libavahi-glib.so.1 |
84074ccc | 976 | |
977 | %files glib-devel | |
978 | %defattr(644,root,root,755) | |
979 | %attr(755,root,root) %{_libdir}/libavahi-glib.so | |
84074ccc | 980 | %{_includedir}/avahi-glib |
981 | %{_pkgconfigdir}/avahi-glib.pc | |
982 | ||
983 | %files glib-static | |
984 | %defattr(644,root,root,755) | |
985 | %{_libdir}/libavahi-glib.a | |
986 | ||
844a35c9 JB |
987 | %files gobject |
988 | %defattr(644,root,root,755) | |
989 | %attr(755,root,root) %{_libdir}/libavahi-gobject.so.*.*.* | |
990 | %attr(755,root,root) %ghost %{_libdir}/libavahi-gobject.so.0 | |
87265823 JB |
991 | %{_libdir}/girepository-1.0/Avahi-0.6.typelib |
992 | %{_libdir}/girepository-1.0/AvahiCore-0.6.typelib | |
844a35c9 JB |
993 | |
994 | %files gobject-devel | |
995 | %defattr(644,root,root,755) | |
996 | %attr(755,root,root) %{_libdir}/libavahi-gobject.so | |
844a35c9 JB |
997 | %{_includedir}/avahi-gobject |
998 | %{_pkgconfigdir}/avahi-gobject.pc | |
87265823 JB |
999 | %{_datadir}/gir-1.0/Avahi-0.6.gir |
1000 | %{_datadir}/gir-1.0/AvahiCore-0.6.gir | |
844a35c9 JB |
1001 | |
1002 | %files gobject-static | |
1003 | %defattr(644,root,root,755) | |
1004 | %{_libdir}/libavahi-gobject.a | |
1005 | ||
0b1041d5 | 1006 | %if %{with qt3} |
91bdb504 | 1007 | %files qt |
84074ccc | 1008 | %defattr(644,root,root,755) |
1009 | %attr(755,root,root) %{_libdir}/libavahi-qt3.so.*.*.* | |
844a35c9 | 1010 | %attr(755,root,root) %ghost %{_libdir}/libavahi-qt3.so.1 |
84074ccc | 1011 | |
91bdb504 | 1012 | %files qt-devel |
84074ccc | 1013 | %defattr(644,root,root,755) |
1014 | %attr(755,root,root) %{_libdir}/libavahi-qt3.so | |
84074ccc | 1015 | %{_includedir}/avahi-qt3 |
1016 | %{_pkgconfigdir}/avahi-qt3.pc | |
1017 | ||
91bdb504 | 1018 | %files qt-static |
84074ccc | 1019 | %defattr(644,root,root,755) |
1020 | %{_libdir}/libavahi-qt3.a | |
0b1041d5 | 1021 | %endif |
91bdb504 | 1022 | |
0b1041d5 | 1023 | %if %{with qt4} |
91bdb504 PS |
1024 | %files Qt |
1025 | %defattr(644,root,root,755) | |
1026 | %attr(755,root,root) %{_libdir}/libavahi-qt4.so.*.*.* | |
844a35c9 | 1027 | %attr(755,root,root) %ghost %{_libdir}/libavahi-qt4.so.1 |
91bdb504 PS |
1028 | |
1029 | %files Qt-devel | |
1030 | %defattr(644,root,root,755) | |
1031 | %attr(755,root,root) %{_libdir}/libavahi-qt4.so | |
91bdb504 PS |
1032 | %{_includedir}/avahi-qt4 |
1033 | %{_pkgconfigdir}/avahi-qt4.pc | |
1034 | ||
1035 | %files Qt-static | |
1036 | %defattr(644,root,root,755) | |
1037 | %{_libdir}/libavahi-qt4.a | |
528a0e79 | 1038 | %endif |
84074ccc | 1039 | |
1040 | %files bookmarks | |
1041 | %defattr(644,root,root,755) | |
1042 | %attr(755,root,root) %{_bindir}/avahi-bookmarks | |
844a35c9 | 1043 | %{_mandir}/man1/avahi-bookmarks.1* |
84074ccc | 1044 | |
4f99a994 | 1045 | %if %{with pygtk} |
84074ccc | 1046 | %files discover |
1047 | %defattr(644,root,root,755) | |
1048 | %attr(755,root,root) %{_bindir}/avahi-discover | |
844a35c9 | 1049 | %{py_sitedir}/avahi_discover |
51860451 | 1050 | %{_datadir}/%{name}/interfaces/avahi-discover.ui |
5acf6365 | 1051 | %{_desktopdir}/avahi-discover.desktop |
76a611b3 | 1052 | %{_pixmapsdir}/avahi.png |
844a35c9 | 1053 | %{_mandir}/man1/avahi-discover.1* |
4f99a994 | 1054 | %endif |
84074ccc | 1055 | |
4f99a994 | 1056 | %if %{with gtk} |
84074ccc | 1057 | %files discover-standalone |
1058 | %defattr(644,root,root,755) | |
51860451 | 1059 | %attr(755,root,root) %{_bindir}/avahi-discover-standalone |
4f99a994 | 1060 | %endif |
84074ccc | 1061 | |
1062 | %files utils | |
1063 | %defattr(644,root,root,755) | |
1064 | %attr(755,root,root) %{_bindir}/avahi-browse | |
844a35c9 | 1065 | %attr(755,root,root) %{_bindir}/avahi-browse-domains |
84074ccc | 1066 | %attr(755,root,root) %{_bindir}/avahi-publish |
844a35c9 JB |
1067 | %attr(755,root,root) %{_bindir}/avahi-publish-address |
1068 | %attr(755,root,root) %{_bindir}/avahi-publish-service | |
84074ccc | 1069 | %attr(755,root,root) %{_bindir}/avahi-resolve |
844a35c9 JB |
1070 | %attr(755,root,root) %{_bindir}/avahi-resolve-address |
1071 | %attr(755,root,root) %{_bindir}/avahi-resolve-host-name | |
1072 | %{_mandir}/man1/avahi-browse.1* | |
1073 | %{_mandir}/man1/avahi-browse-domains.1* | |
1074 | %{_mandir}/man1/avahi-publish.1* | |
1075 | %{_mandir}/man1/avahi-publish-address.1* | |
1076 | %{_mandir}/man1/avahi-publish-service.1* | |
1077 | %{_mandir}/man1/avahi-resolve.1* | |
1078 | %{_mandir}/man1/avahi-resolve-address.1* | |
1079 | %{_mandir}/man1/avahi-resolve-host-name.1* |