]>
Commit | Line | Data |
---|---|---|
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 | 18 | Summary: Free mDNS/DNS-SD implementation |
19 | Summary(pl): Wolna implementacja mDNS/DNS-SD | |
20 | Name: avahi | |
57aa74ab | 21 | Version: 0.6.15 |
df02d559 | 22 | Release: 3 |
84074ccc | 23 | License: GPL v.2/LGPL |
24 | Group: Applications | |
57aa74ab | 25 | Source0: http://lathiat.net/%{name}-%{version}.tar.gz |
26 | # Source0-md5: 94dbd41336d18c47fc8213735a3fbf8e | |
385ef799 | 27 | Source1: %{name}-daemon |
28 | Source2: %{name}-dnsconfd | |
76a611b3 | 29 | Source3: %{name}.png |
cf57cb18 | 30 | Patch0: %{name}-desktop.patch |
31 | Patch1: %{name}-glade.patch | |
65db52cd | 32 | Patch2: %{name}-destdir.patch |
57aa74ab | 33 | Patch3: %{name}-dbus.patch |
84074ccc | 34 | URL: http://avahi.org/ |
35 | BuildRequires: autoconf | |
36 | BuildRequires: automake | |
4da0d8d4 | 37 | BuildRequires: dbus-devel >= 0.92 |
84074ccc | 38 | BuildRequires: doxygen |
39 | BuildRequires: expat-devel | |
40 | BuildRequires: gdbm-devel | |
4da0d8d4 | 41 | BuildRequires: glib2-devel >= 1:2.12.2 |
84074ccc | 42 | BuildRequires: graphviz |
4da0d8d4 | 43 | BuildRequires: gtk+2-devel >= 2:2.10.2 |
df02d559 | 44 | BuildRequires: libcap-devel |
84074ccc | 45 | BuildRequires: libdaemon-devel >= 0.5 |
a702b91a | 46 | BuildRequires: libglade2-devel >= 1:2.6.0 |
84074ccc | 47 | BuildRequires: libtool |
48 | %if %{with dotnet} | |
312e39be | 49 | BuildRequires: mono-csharp |
84074ccc | 50 | BuildRequires: monodoc |
51 | %endif | |
91126bd8 | 52 | BuildRequires: pkgconfig |
5adae992 | 53 | BuildRequires: python >= 1:2.4 |
a702b91a | 54 | BuildRequires: python-dbus >= 0.71 |
4da0d8d4 | 55 | BuildRequires: python-pygtk-devel >= 2:2.9.6 |
0b1041d5 | 56 | %if %{with qt3} |
672bcc85 | 57 | BuildRequires: qt-devel >= 3.0 |
0b1041d5 JB |
58 | %endif |
59 | %if %{with qt4} | |
60 | BuildRequires: QtCore-devel | |
91bdb504 | 61 | BuildRequires: qt4-build |
528a0e79 | 62 | %endif |
84074ccc | 63 | BuildRequires: rpmbuild(macros) >= 1.228 |
64 | Requires(post,preun): /sbin/chkconfig | |
4da0d8d4 | 65 | Requires: dbus >= 0.92 |
84074ccc | 66 | Requires: %{name}-libs = %{version}-%{release} |
76a611b3 | 67 | Provides: group(avahi) |
5a4d6742 | 68 | Provides: user(avahi) |
84074ccc | 69 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
70 | ||
71 | %description | |
76a611b3 | 72 | Avahi is an implementation the DNS Service Discovery and Multicast DNS |
73 | specifications for Zeroconf Computing. It uses D-BUS for communication | |
74 | between user applications and a system daemon. | |
84074ccc | 75 | |
76 | %description -l pl | |
76a611b3 | 77 |