]> git.pld-linux.org Git - packages/avahi.git/blame - avahi.spec
compat-libdns_sd-devel R: avahi-devel for libavahi-client.la
[packages/avahi.git] / avahi.spec
CommitLineData
84074ccc 1#
2# Conditional build:
22d92961 3%bcond_without dotnet # build with dotnet bindings
528a0e79 4%bcond_without qt # build with qt bindings
84074ccc 5#
22d92961 6%include /usr/lib/rpm/macros.mono
7#
84074ccc 8Summary: Free mDNS/DNS-SD implementation
9Summary(pl): Wolna implementacja mDNS/DNS-SD
10Name: avahi
e68a206d 11Version: 0.6.9
1d021e1b 12Release: 4
84074ccc 13License: GPL v.2/LGPL
14Group: Applications
15Source0: http://avahi.org/download/%{name}-%{version}.tar.gz
e68a206d 16# Source0-md5: 2652910f0e52c373d7a15b6851750517
385ef799 17Source1: %{name}-daemon
18Source2: %{name}-dnsconfd
76a611b3 19Source3: %{name}.png
cf57cb18 20Patch0: %{name}-desktop.patch
21Patch1: %{name}-glade.patch
65db52cd 22Patch2: %{name}-destdir.patch
84074ccc 23URL: http://avahi.org/
24BuildRequires: autoconf
25BuildRequires: automake
26BuildRequires: dbus-devel >= 0.34
27BuildRequires: doxygen
28BuildRequires: expat-devel
29BuildRequires: gdbm-devel
30BuildRequires: glib2-devel >= 1:2.4.0
31BuildRequires: graphviz
32BuildRequires: gtk+2-devel >= 2:2.4.0
33BuildRequires: libdaemon-devel >= 0.5
91bdb504 34BuildRequires: libglade2-devel >= 1:2.5.1-5
84074ccc 35BuildRequires: libtool
36%if %{with dotnet}
312e39be 37BuildRequires: mono-csharp
84074ccc 38BuildRequires: monodoc
39%endif
91126bd8 40BuildRequires: pkgconfig
84074ccc 41BuildRequires: python-dbus
42BuildRequires: python-pygtk-devel
528a0e79 43%if %{with qt}
91bdb504 44BuildRequires: QtCore-devel
672bcc85 45BuildRequires: qt-devel >= 3.0
91bdb504 46BuildRequires: qt4-build
528a0e79 47%endif
84074ccc 48BuildRequires: rpmbuild(macros) >= 1.228
49Requires(post,preun): /sbin/chkconfig
cf57cb18 50Requires: dbus >= 0.60-2
84074ccc 51Requires: %{name}-libs = %{version}-%{release}
76a611b3 52Provides: group(avahi)
5a4d6742 53Provides: user(avahi)
84074ccc 54BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55
56%description
76a611b3 57Avahi is an implementation the DNS Service Discovery and Multicast DNS
58specifications for Zeroconf Computing. It uses D-BUS for communication
59between user applications and a system daemon.
84074ccc 60
61%description -l pl
76a611b3 62