]> git.pld-linux.org Git - packages/avahi.git/blame - avahi.spec
- separate python package for bindings
[packages/avahi.git] / avahi.spec
CommitLineData
84074ccc 1#
87585768
AF
2# TODO:
3# - autoip subpackage ?
4# - autoip start script ?
5#
84074ccc 6# Conditional build:
0b1041d5
JB
7%bcond_without dotnet # build without dotnet bindings
8%bcond_without qt # build without (any) qt bindings
9%bcond_without qt3 # build without qt3 bindings
10%bcond_without qt4 # build without qt4 bindings
84074ccc 11#
cc36e8d9 12%if !%{with qt}
0b1041d5
JB
13%undefine with_qt3
14%undefine with_qt4
15%endif
22d92961 16%include /usr/lib/rpm/macros.mono
17#
84074ccc 18Summary: Free mDNS/DNS-SD implementation
bfc0e078 19Summary(pl.UTF-8): Wolna implementacja mDNS/DNS-SD
84074ccc 20Name: avahi
e69a1ae4 21Version: 0.6.17
2fa0b6d5 22Release: 2
84074ccc 23License: GPL v.2/LGPL
24Group: Applications
021eb35e 25Source0: http://avahi.org/download/%{name}-%{version}.tar.gz
e69a1ae4 26# Source0-md5: 29ebb2181958d5721ee5fc45f035a77c
385ef799 27Source1: %{name}-daemon
28Source2: %{name}-dnsconfd
76a611b3 29Source3: %{name}.png
cf57cb18 30Patch0: %{name}-desktop.patch
31Patch1: %{name}-glade.patch
65db52cd 32Patch2: %{name}-destdir.patch
84074ccc 33URL: http://avahi.org/
34BuildRequires: autoconf
35BuildRequires: automake
4da0d8d4 36BuildRequires: dbus-devel >= 0.92
84074ccc 37BuildRequires: doxygen
38BuildRequires: expat-devel
39BuildRequires: gdbm-devel
4da0d8d4 40BuildRequires: glib2-devel >= 1:2.12.2
84074ccc 41BuildRequires: graphviz
4da0d8d4 42BuildRequires: gtk+2-devel >= 2:2.10.2
df02d559 43BuildRequires: libcap-devel
84074ccc 44BuildRequires: libdaemon-devel >= 0.5
a702b91a 45BuildRequires: libglade2-devel >= 1:2.6.0
84074ccc 46BuildRequires: libtool
47%if %{with dotnet}
312e39be 48BuildRequires: mono-csharp
84074ccc 49BuildRequires: monodoc
50%endif
91126bd8 51BuildRequires: pkgconfig
5adae992 52BuildRequires: python >= 1:2.4
a702b91a 53BuildRequires: python-dbus >= 0.71
4da0d8d4 54BuildRequires: python-pygtk-devel >= 2:2.9.6
0b1041d5 55%if %{with qt3}
a546f551 56BuildRequires: qt-devel >= 1:3.0
0b1041d5
JB
57%endif
58%if %{with qt4}
59BuildRequires: QtCore-devel
91bdb504 60BuildRequires: qt4-build
528a0e79 61%endif
84074ccc 62BuildRequires: rpmbuild(macros) >= 1.228
63Requires(post,preun): /sbin/chkconfig
4da0d8d4 64Requires: dbus >= 0.92
84074ccc 65Requires: %{name}-libs = %{version}-%{release}
76a611b3 66Provides: group(avahi)
5a4d6742 67Provides: user(avahi)
84074ccc 68BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
69
70%description
76a611b3 71Avahi is an implementation the DNS Service Discovery and Multicast DNS
72specifications for Zeroconf Computing. It uses D-BUS for communication
73between user applications and a system daemon.
84074ccc 74
bdc824d1
JR
75%description -l pl.UTF-8
76Avahi jest implementacją specyfikacji DNS Service Discovery i
77Multicast DNS dla Zeroconf Computing. Używa D-BUSa dla komunikacji
78pomiędzy programami użytkownika a demonem systemowym.
84074ccc 79
80%package libs
81Summary: Avahi client, common and core libraries
bfc0e078 82Summary(pl.UTF-8): Biblioteki Avahi: klienta, wspólna i główna
84074ccc 83Group: Libraries
84
85%description libs
86Avahi client, common and core libraries.
87
bdc824d1
JR
88%description libs -l pl.UTF-8
89Biblioteki Avahi: klienta, wspólna i główna.
84074ccc 90
91%package devel
92Summary: Header files for Avahi library
bfc0e078 93Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Avahi
84074ccc 94Group: Development/Libraries
95Requires: %{name}-libs = %{version}-%{release}
4da0d8d4 96Requires: dbus-devel >= 0.92
84074ccc 97Requires: expat-devel
98Requires: libdaemon-devel >= 0.5
99
100%description devel
101This is the package containing the header files for Avahi library.
102
bdc824d1
JR
103%description devel -l pl.UTF-8
104Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi.
84074ccc 105
106%package static
107Summary: Static Avahi library
bfc0e078 108Summary(pl.UTF-8): Statyczna biblioteka Avahi
84074ccc 109Group: Development/Libraries
110Requires: %{name}-devel = %{version}-%{release}
111
112%description static
113Static Avahi library.
114
bdc824d1 115%description static -l pl.UTF-8
84074ccc 116Statyczna biblioteka Avahi.
117
e5a53780 118%package compat-libdns_sd
119Summary: Avahi Bonjour compat library
bfc0e078 120Summary(pl.UTF-8): Biblioteka Avahi zgodna z Bonjour
e5a53780 121Group: Libraries
097a1f90 122Provides: mdns-bonjour
123Obsoletes: mDNSResponder-libs
e5a53780 124
125%description compat-libdns_sd
126Avahi Bonjour compat library.
127
bdc824d1 128%description compat-libdns_sd -l pl.UTF-8
e5a53780 129Biblioteka Avahi zgodna z Bonjour.
130
131%package compat-libdns_sd-devel
132Summary: Header files for Avahi Bonjour compat library
bfc0e078 133Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour
e5a53780 134Group: Development/Libraries
18aba392 135Requires: %{name}-compat-libdns_sd = %{version}-%{release}
20654292 136Requires: %{name}-devel = %{version}-%{release}
097a1f90 137Provides: mdns-bonjour-devel
138Obsoletes: mDNSResponder-devel
e5a53780 139
140%description compat-libdns_sd-devel
141Header files for Avahi Bonjour compat library.
142
bdc824d1
JR
143%description compat-libdns_sd-devel -l pl.UTF-8
144Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Bonjour.
e5a53780 145
146%package compat-libdns_sd-static
147Summary: Static Avahi Bonjour compat library
bfc0e078 148Summary(pl.UTF-8): Statyczna biblioteka Avahi zgodna z Bonjour
e5a53780 149Group: Development/Libraries
65db52cd 150Requires: %{name}-compat-libdns_sd-devel = %{version}-%{release}
097a1f90 151Provides: mdns-bonjour-static
e5a53780 152
153%description compat-libdns_sd-static
de4c7c2f 154Static Avahi Bonjour compat library.
e5a53780 155
bdc824d1 156%description compat-libdns_sd-static -l pl.UTF-8
de4c7c2f 157Statyczna biblioteka Avahi zgodna z Bonjour.
e5a53780 158
20c3c94e 159%package compat-howl
160Summary: Avahi Howl compat library
bfc0e078 161Summary(pl.UTF-8): Biblioteka Avahi zgodna z Howl
20c3c94e 162Group: Libraries
dc5f5072 163Provides: mdns-howl-libs
672bcc85 164Obsoletes: howl-libs
20c3c94e 165
166%description compat-howl
167Avahi Howl compat library.
168
bdc824d1 169%description compat-howl -l pl.UTF-8
20c3c94e 170Biblioteka Avahi zgodna z Howl.
171
172%package compat-howl-devel
173Summary: Header files for Avahi Howl compat library
bfc0e078 174Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl
20c3c94e 175Group: Development/Libraries
176Requires: %{name}-compat-howl = %{version}-%{release}
2e5aa879 177Requires: %{name}-devel = %{version}-%{release}
dc5f5072 178Provides: mdns-howl-devel
672bcc85 179Obsoletes: howl-devel
20c3c94e 180
181%description compat-howl-devel
182Header files for Avahi Howl compat library.
183
bdc824d1
JR
184%description compat-howl-devel -l pl.UTF-8
185Pliki nagłówkowe wiązań Avahi dla biblioteki zgodnej z Howl.
20c3c94e 186
187%package compat-howl-static
188Summary: Static Avahi Howl compat library
bfc0e078 189Summary(pl.UTF-8): Statyczna biblioteka Avahi zgodna z Howl
20c3c94e 190Group: Development/Libraries
65db52cd 191Requires: %{name}-compat-howl-devel = %{version}-%{release}
dc5f5072 192Provides: mdns-howl-static
672bcc85 193Obsoletes: howl-static
20c3c94e 194
195%description compat-howl-static
196Static Avahi Howl compat library.
197
bdc824d1 198%description compat-howl-static -l pl.UTF-8
20c3c94e 199Statyczna biblioteka Avahi zgodna z Howl.
200
84074ccc 201%package glib
202Summary: Avahi GLib library bindings
bfc0e078 203Summary(pl.UTF-8): Wiązania Avahi dla bibioteki GLib
84074ccc 204Group: Libraries
205
206%description glib
207Avahi GLib library bindings.
208
bdc824d1
JR
209%description glib -l pl.UTF-8
210Wiązania Avahi dla bibioteki GLib.
84074ccc 211
212%package glib-devel
213Summary: Header files for Avahi GLib library bindings
bfc0e078 214Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki GLib
84074ccc 215Group: Development/Libraries
a47dabc0 216Requires: %{name}-devel = %{version}-%{release}
76a611b3 217Requires: %{name}-glib = %{version}-%{release}
4da0d8d4 218Requires: glib2-devel >= 1:2.12.2
84074ccc 219
220%description glib-devel
76a611b3 221This is the package containing the header files for Avahi-glib
222library.
84074ccc 223
bdc824d1
JR
224%description glib-devel -l pl.UTF-8
225Ten pakiet zawiera pliki nagłówkowe biblioteki Avahi-glib.
84074ccc 226
227%package glib-static
228Summary: Static Avahi GLib library
bfc0e078 229Summary(pl.UTF-8): Statyczna biblioteka Avahi GLib
84074ccc 230Group: Development/Libraries
231Requires: %{name}-glib-devel = %{version}-%{release}
232
233%description glib-static
234Static Avahi GLib library.
235
bdc824d1 236%description glib-static -l pl.UTF-8
84074ccc 237Statyczna biblioteka Avahi GLib.
238
91bdb504 239%package qt
84074ccc 240Summary: Avahi Qt 3 library bindings
bfc0e078 241Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 3
84074ccc 242Group: Libraries
243Requires: %{name}-libs = %{version}-%{release}
91bdb504 244Obsoletes: avahi-qt3
84074ccc 245
91bdb504 246%description qt
84074ccc 247Avahi Qt 3 library bindings.
248
bdc824d1
JR
249%description qt -l pl.UTF-8
250Wiązania Avahi dla biblioteki Qt 3.
84074ccc 251
91bdb504 252%package qt-devel
84074ccc 253Summary: Header files for Avahi Qt 3 library bindings
bfc0e078 254Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3
84074ccc 255Group: Development/Libraries
a47dabc0 256Requires: %{name}-devel = %{version}-%{release}
91bdb504 257Requires: %{name}-qt = %{version}-%{release}
a546f551 258Requires: qt-devel >= 1:3.0
91bdb504 259Obsoletes: avahi-qt3-devel
84074ccc 260
91bdb504 261%description qt-devel
84074ccc 262Header files for Avahi Qt 3 library bindings.
263
bdc824d1
JR
264%description qt-devel -l pl.UTF-8
265Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 3.
84074ccc 266
91bdb504 267%package qt-static
84074ccc 268Summary: Static Avahi Qt 3 library
bfc0e078 269Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 3
84074ccc 270Group: Development/Libraries
1d021e1b 271Requires: %{name}-qt-devel = %{version}-%{release}
91bdb504 272Obsoletes: avahi-qt3-static
84074ccc 273
91bdb504 274%description qt-static
84074ccc 275Static Avahi Qt 3 library.
276
bdc824d1 277%description qt-static -l pl.UTF-8
84074ccc 278Statyczna biblioteka Avahi Qt 3.
279
91bdb504
PS
280%package Qt
281Summary: Avahi Qt 4 library bindings
bfc0e078 282Summary(pl.UTF-8): Wiązania Avahi dla biblioteki Qt 4
91bdb504
PS
283Group: Libraries
284Requires: %{name}-libs = %{version}-%{release}
285
286%description Qt
287Avahi Qt 4 library bindings.
288
bdc824d1
JR
289%description Qt -l pl.UTF-8
290Wiązania Avahi dla biblioteki Qt 4.
91bdb504
PS
291
292%package Qt-devel
8aa3f304 293Summary: Header files for Avahi Qt 4 library bindings
bfc0e078 294Summary(pl.UTF-8): Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4
91bdb504
PS
295Group: Development/Libraries
296Requires: %{name}-devel = %{version}-%{release}
297Requires: %{name}-Qt = %{version}-%{release}
298
299%description Qt-devel
300Header files for Avahi Qt 4 library bindings.
301
bdc824d1
JR
302%description Qt-devel -l pl.UTF-8
303Pliki nagłówkowe wiązań Avahi dla biblioteki Qt 4.
91bdb504
PS
304
305%package Qt-static
306Summary: Static Avahi Qt 4 library
bfc0e078 307Summary(pl.UTF-8): Statyczna biblioteka Avahi Qt 4
91bdb504
PS
308Group: Development/Libraries
309Requires: %{name}-Qt-devel = %{version}-%{release}
310
311%description Qt-static
312Static Avahi Qt 4 library.
313
bdc824d1 314%description Qt-static -l pl.UTF-8
91bdb504
PS
315Statyczna biblioteka Avahi Qt 4.
316
2fa0b6d5
PZ
317%package -n python-avahi
318Summary: Avahi Python bindings
319Summary(pl.UTF-8): Wiązania Avahi dla Pythona
320Group: Development/Languages/Python
321Requires: %{name} = %{version}-%{release}
322Requires: python-dbus >= 0.71
323
324%description -n python-avahi
325Avahi Python bindings.
326
327%description -n python-avahi -l pl.UTF-8
328Wiązania Avahi dla Pythona.
329
84074ccc 330%package -n dotnet-avahi
331Summary: Avahi MONO bindings
bfc0e078 332Summary(pl.UTF-8): Wiązania Avahi dla MONO
84074ccc 333Group: Libraries
334
335%description -n dotnet-avahi
336Avahi MONO bindings.
337
bdc824d1
JR
338%description -n dotnet-avahi -l pl.UTF-8
339Wiązania Avahi dla MONO.
84074ccc 340
341%package -n dotnet-avahi-devel
342Summary: Development files for MONO Avahi bindings
bfc0e078 343Summary(pl.UTF-8): Pliki rozwojowe wiązań Avahi dla MONO
84074ccc 344Group: Development/Libraries
76a611b3 345Requires: dotnet-avahi = %{version}-%{release}
51f19ad8 346Requires: monodoc
84074ccc 347
348%description -n dotnet-avahi-devel
349Development files for MONO Avahi bindings.
350
bdc824d1
JR
351%description -n dotnet-avahi-devel -l pl.UTF-8
352Pliki rozwojowe wiązań Avahi dla MONO.
84074ccc 353
354%package bookmarks
355Summary: Miniature web server
bfc0e078 356Summary(pl.UTF-8): Miniaturowy serwer web
76a611b3 357Group: Applications
84074ccc 358
359%description bookmarks
360A Python based miniature web server that browses for mDNS/DNS-SD
361services of type '_http._tcp' (i.e. web sites) and makes them
672bcc85 362available as HTML links on http://localhost:8080/.
76a611b3 363
bdc824d1
JR
364%description bookmarks -l pl.UTF-8
365Napisany w Pythonie miniaturowy serwer WWW, pozwalający na
366przeglądanie usług typu '_http._tcp' (np. stron WWW) i udostępniający
367je jako odnośniki HTML na http://localhost:8080/.
84074ccc 368
369%package discover
370Summary: Avahi Zeroconf browser
bfc0e078 371Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi
76a611b3 372Group: Applications
61721c26 373Requires: %{name} = %{version}-%{release}
2fa0b6d5 374Requires: python-avahi = %{version}-%{release}
a702b91a 375Requires: python-pygtk-glade >= 2:2.9.6
84074ccc 376
377%description discover
76a611b3 378A tool for enumerating all available services on the local LAN
379(python-pygtk implementation).
84074ccc 380
bdc824d1
JR
381%description discover -l pl.UTF-8
382Narzędzie wymieniające wszystkie dostępne usługi w sieci lokalnej LAN
76a611b3 383(implementacja w python-pygtk).
84074ccc 384
385%package discover-standalone
386Summary: Avahi Zeroconf browser
bfc0e078 387Summary(pl.UTF-8): Przeglądarka Zeroconf Avahi
76a611b3 388Group: Applications
61721c26 389Requires: %{name} = %{version}-%{release}
a702b91a 390Requires: python-dbus >= 0.71
391Requires: python-pygtk-glade >= 2:2.9.6
84074ccc 392
393%description discover-standalone
394GTK+ tool for enumerating all available services on the local LAN.
395
bdc824d1
JR
396%description discover-standalone -l pl.UTF-8
397Narzędzie GTK+ wymieniające wszystkie dostępne usługi w sieci lokalnej
76a611b3 398LAN.
84074ccc 399
400%package utils
401Summary: Avahi CLI utilities
bfc0e078 402Summary(pl.UTF-8): Narzędzia CLI Avahi
76a611b3 403Group: Applications
84074ccc 404
405%description utils
406Command line utilities using avahi-client.
407
bdc824d1
JR
408%description utils -l pl.UTF-8
409Narzędzia linii poleceń korzystające z avahi-client.
84074ccc 410
411%prep
412%setup -q
cf57cb18 413%patch0 -p1
414%patch1 -p1
65db52cd 415%patch2 -p1
84074ccc 416
417%build
418%{__libtoolize}
419%{__aclocal} -I common
420%{__autoconf}
421%{__autoheader}
422%{__automake}
423%configure \
e5a53780 424 --enable-compat-libdns_sd \
20c3c94e 425 --enable-compat-howl \
84074ccc 426 --with-distro=none \
0b1041d5
JB
427 %{!?with_qt3:--disable-qt3} \
428 %{!?with_qt4:--disable-qt4} \
84074ccc 429 %{!?with_dotnet:--disable-mono} \
430 %{!?with_dotnet:--disable-monodoc}
431%{__make}
432
433%install
434rm -rf $RPM_BUILD_ROOT
76a611b3 435install -d $RPM_BUILD_ROOT{%{_pixmapsdir},/etc/rc.d/init.d}
84074ccc 436
437%{__make} install \
438 DESTDIR=$RPM_BUILD_ROOT \
439 pythondir=%{py_sitedir}
385ef799 440
441install %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d
76a611b3 442install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
385ef799 443
c3bb95bb 444ln -sf %{_includedir}/avahi-compat-libdns_sd/dns_sd.h \
445 $RPM_BUILD_ROOT%{_includedir}/dns_sd.h
446
20c3c94e 447ln -sf %{_pkgconfigdir}/avahi-compat-howl.pc \
448 $RPM_BUILD_ROOT%{_pkgconfigdir}/howl.pc
449
cf57cb18 450rm -f $RPM_BUILD_ROOT%{py_sitedir}/avahi/{__init__,SimpleGladeApp}.py
84074ccc 451
4abede57
MB
452rm -f $RPM_BUILD_ROOT%{_mandir}/man1/avahi-{browse-domains,publish-address,publish-service,resolve-address,resolve-host-name}.1
453echo '.so avahi-browse.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-browse-domains.1
454echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-address.1
455echo '.so avahi-publish.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-publish-service.1
456echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-address.1
457echo '.so avahi-resolve.1' > $RPM_BUILD_ROOT%{_mandir}/man1/avahi-resolve-host-name.1
021eb35e 458
84074ccc 459%clean
460rm -rf $RPM_BUILD_ROOT
461
f97f8264 462%pre
611ce39d 463%groupadd -g 165 -r -f avahi
464%useradd -u 165 -r -d /usr/share/empty -s /bin/false -c "Avahi daemon" -g avahi avahi
f97f8264 465
84074ccc 466%post
385ef799 467/sbin/chkconfig --add %{name}-daemon
468%service %{name}-daemon restart
469/sbin/chkconfig --add %{name}-dnsconfd
470%service %{name}-dnsconfd restart
84074ccc 471
472%preun
473if [ "$1" = "0" ]; then
385ef799 474 %service -q %{name}-dnsconfd stop
475 /sbin/chkconfig --del %{name}-dnsconfd
476 %service -q %{name}-daemon stop
477 /sbin/chkconfig --del %{name}-daemon
84074ccc 478fi
84074ccc 479
76a611b3 480%postun
481if [ "$1" = "0" ]; then
f97f8264 482 %userremove avahi
483 %groupremove avahi
484fi
f97f8264 485
84074ccc 486%post libs -p /sbin/ldconfig
487%postun libs -p /sbin/ldconfig
488
e5a53780 489%post compat-libdns_sd -p /sbin/ldconfig
490%postun compat-libdns_sd -p /sbin/ldconfig
491
20c3c94e 492%post compat-howl -p /sbin/ldconfig
493%postun compat-howl -p /sbin/ldconfig
494
84074ccc 495%post glib -p /sbin/ldconfig
496%postun glib -p /sbin/ldconfig
497
91bdb504
PS
498%post qt -p /sbin/ldconfig
499%postun qt -p /sbin/ldconfig
500
501%post Qt -p /sbin/ldconfig
502%postun Qt -p /sbin/ldconfig
84074ccc 503
504%files
505%defattr(644,root,root,755)
506%doc docs/AUTHORS docs/COMPAT-LAYERS docs/NEWS docs/README docs/TODO
507
508%dir %{_sysconfdir}/avahi
509%dir %{_sysconfdir}/avahi/services
510%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-daemon.conf
511%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/avahi-dnsconfd.action
56321bc5 512%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/hosts
84074ccc 513%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/ssh.service
87585768 514%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/avahi/services/sftp-ssh.service
84074ccc 515%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus-1/system.d/*
516
4da0d8d4 517%attr(755,root,root) %{_bindir}/avahi-set-host-name
84074ccc 518
519%attr(755,root,root) %{_sbindir}/avahi-daemon
520%attr(755,root,root) %{_sbindir}/avahi-dnsconfd
521
522%dir %{_datadir}/%{name}
84074ccc 523%dir %{_datadir}/%{name}/introspection
524%{_datadir}/%{name}/introspection/*.introspect
525%{_datadir}/%{name}/avahi-service.dtd
526%{_datadir}/%{name}/service-types
527%{_datadir}/%{name}/service-types.db
528
529%{_mandir}/man*/*
530
385ef799 531%attr(754,root,root) /etc/rc.d/init.d/%{name}-daemon
532%attr(754,root,root) /etc/rc.d/init.d/%{name}-dnsconfd
84074ccc 533
87585768
AF
534%attr(755,root,root) %{_sysconfdir}/%{name}/avahi-autoipd.action
535%attr(755,root,root) %{_sbindir}/avahi-autoipd
536
84074ccc 537%files libs
538%defattr(644,root,root,755)
539%attr(755,root,root) %{_libdir}/libavahi-client.so.*.*.*
540%attr(755,root,root) %{_libdir}/libavahi-common.so.*.*.*
541%attr(755,root,root) %{_libdir}/libavahi-core.so.*.*.*
542
543%files devel
544%defattr(644,root,root,755)
545%doc docs/API-CHANGES-0.6 docs/DBUS-API docs/HACKING docs/MALLOC
546%attr(755,root,root) %{_libdir}/libavahi-client.so
547%attr(755,root,root) %{_libdir}/libavahi-common.so
548%attr(755,root,root) %{_libdir}/libavahi-core.so
549%{_libdir}/libavahi-client.la
550%{_libdir}/libavahi-common.la
551%{_libdir}/libavahi-core.la
552%{_includedir}/avahi-client
553%{_includedir}/avahi-common
554%{_includedir}/avahi-core
555%{_pkgconfigdir}/avahi-client.pc
556%{_pkgconfigdir}/avahi-core.pc
557
558%files static
559%defattr(644,root,root,755)
560%{_libdir}/libavahi-client.a
561%{_libdir}/libavahi-common.a
562%{_libdir}/libavahi-core.a
563
e5a53780 564%files compat-libdns_sd
565%defattr(644,root,root,755)
566%attr(755,root,root) %{_libdir}/libdns_sd.so.*.*.*
567
568%files compat-libdns_sd-devel
569%defattr(644,root,root,755)
570%attr(755,root,root) %{_libdir}/libdns_sd.so
571%{_libdir}/libdns_sd.la
572%{_includedir}/avahi-compat-libdns_sd
c3bb95bb 573%{_includedir}/dns_sd.h
e5a53780 574%{_pkgconfigdir}/avahi-compat-libdns_sd.pc
575
576%files compat-libdns_sd-static
577%defattr(644,root,root,755)
578%{_libdir}/libdns_sd.a
579
20c3c94e 580%files compat-howl
581%defattr(644,root,root,755)
582%attr(755,root,root) %{_libdir}/libhowl.so.*.*.*
583
584%files compat-howl-devel
585%defattr(644,root,root,755)
586%attr(755,root,root) %{_libdir}/libhowl.so
587%{_libdir}/libhowl.la
588%{_includedir}/avahi-compat-howl
589%{_pkgconfigdir}/avahi-compat-howl.pc
590%{_pkgconfigdir}/howl.pc
591
592%files compat-howl-static
593%defattr(644,root,root,755)
594%{_libdir}/libhowl.a
595
2fa0b6d5
PZ
596%files -n python-avahi
597%defattr(644,root,root,755)
598%{py_sitedir}/avahi
599
51f19ad8 600%if %{with dotnet}
601%files -n dotnet-avahi
602%defattr(644,root,root,755)
603%{_prefix}/lib/mono/gac/avahi-sharp
84074ccc 604
51f19ad8 605%files -n dotnet-avahi-devel
606%defattr(644,root,root,755)
f011fc45 607%{_libdir}/monodoc/sources/avahi-*
5bd74609 608%{_prefix}/lib/mono/avahi-sharp
48163b45 609%{_pkgconfigdir}/avahi-sharp.pc
51f19ad8 610%endif
84074ccc 611
612%files glib
613%defattr(644,root,root,755)
614%attr(755,root,root) %{_libdir}/libavahi-glib.so.*.*.*
615
616%files glib-devel
617%defattr(644,root,root,755)
618%attr(755,root,root) %{_libdir}/libavahi-glib.so
619%{_libdir}/libavahi-glib.la
620%{_includedir}/avahi-glib
621%{_pkgconfigdir}/avahi-glib.pc
622
623%files glib-static
624%defattr(644,root,root,755)
625%{_libdir}/libavahi-glib.a
626
0b1041d5 627%if %{with qt3}
91bdb504 628%files qt
84074ccc 629%defattr(644,root,root,755)
630%attr(755,root,root) %{_libdir}/libavahi-qt3.so.*.*.*
631
91bdb504 632%files qt-devel
84074ccc 633%defattr(644,root,root,755)
634%attr(755,root,root) %{_libdir}/libavahi-qt3.so
635%{_libdir}/libavahi-qt3.la
636%{_includedir}/avahi-qt3
637%{_pkgconfigdir}/avahi-qt3.pc
638
91bdb504 639%files qt-static
84074ccc 640%defattr(644,root,root,755)
641%{_libdir}/libavahi-qt3.a
0b1041d5 642%endif
91bdb504 643
0b1041d5 644%if %{with qt4}
91bdb504
PS
645%files Qt
646%defattr(644,root,root,755)
647%attr(755,root,root) %{_libdir}/libavahi-qt4.so.*.*.*
648
649%files Qt-devel
650%defattr(644,root,root,755)
651%attr(755,root,root) %{_libdir}/libavahi-qt4.so
652%{_libdir}/libavahi-qt4.la
653%{_includedir}/avahi-qt4
654%{_pkgconfigdir}/avahi-qt4.pc
655
656%files Qt-static
657%defattr(644,root,root,755)
658%{_libdir}/libavahi-qt4.a
528a0e79 659%endif
84074ccc 660
661%files bookmarks
662%defattr(644,root,root,755)
663%attr(755,root,root) %{_bindir}/avahi-bookmarks
664
665%files discover
666%defattr(644,root,root,755)
667%attr(755,root,root) %{_bindir}/avahi-discover
672bcc85
JB
668# XXX: possibly missing %{_datadir}/%{name} dir, shared subdir
669%dir %{_datadir}/%{name}/interfaces
84074ccc 670%{_datadir}/%{name}/interfaces/avahi-discover.glade
84074ccc 671%{_desktopdir}/*.desktop
76a611b3 672%{_pixmapsdir}/avahi.png
84074ccc 673
674%files discover-standalone
675%defattr(644,root,root,755)
676%attr(755,root,root) %{_bindir}/avahi-discover-standalone
672bcc85
JB
677# XXX: possibly missing %{_datadir}/%{name} dir, shared subdir
678%dir %{_datadir}/%{name}/interfaces
cf57cb18 679%{_datadir}/%{name}/interfaces/avahi-discover-standalone.glade
84074ccc 680
681%files utils
682%defattr(644,root,root,755)
683%attr(755,root,root) %{_bindir}/avahi-browse
684%attr(755,root,root) %{_bindir}/avahi-publish
685%attr(755,root,root) %{_bindir}/avahi-resolve
This page took 0.239286 seconds and 4 git commands to generate.