]> git.pld-linux.org Git - packages/avahi.git/blame - avahi.spec
- build qt3 and qt4 bindings.
[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
91bdb504 12Release: 3.1
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
91126bd8 42BuildRequires: python-libxml2
84074ccc 43BuildRequires: python-pygtk-devel
528a0e79 44%if %{with qt}
91bdb504 45BuildRequires: QtCore-devel
672bcc85 46BuildRequires: qt-devel >= 3.0
91bdb504 47BuildRequires: qt4-build
528a0e79 48%endif
84074ccc 49BuildRequires: rpmbuild(macros) >= 1.228
50Requires(post,preun): /sbin/chkconfig
cf57cb18 51Requires: dbus >= 0.60-2
84074ccc 52Requires: %{name}-libs = %{version}-%{release}
76a611b3 53Provides: group(avahi)
5a4d6742 54Provides: user(avahi)
84074ccc 55BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
56
57%description
76a611b3 58Avahi is an implementation the DNS Service Discovery and Multicast DNS
59specifications for Zeroconf Computing. It uses D-BUS for communication
60between user applications and a system daemon.
84074ccc 61
62%description -l pl
76a611b3 63