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