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