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