jvdias 2d2a862
%{?!WITH_MONO:  %define WITH_MONO 1}
jvdias 68a75ad
%{?!WITH_COMPAT_DNSSD:  %define WITH_COMPAT_DNSSD 1}
jvdias 68a75ad
%{?!WITH_COMPAT_HOWL:   %define WITH_COMPAT_HOWL  1}
jvdias 9dce694
%ifarch ppc64 s390 s390x
jvdias 2d2a862
%define WITH_MONO 0
jvdias 2d2a862
%endif
b483c91
Name:           avahi
a1f06f9
Version:        0.6.20
Simon McVittie 84e827d
Release:        5%{?dist}
jvdias b9d86a7
Summary:        Local network service discovery 
b483c91
Group:          System Environment/Base
b483c91
License:        LGPL
jvdias 0ff4fed
URL:            http://avahi.org
a1f06f9
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
a1f06f9
Requires:       dbus, expat, python, dbus-python
a1f06f9
Requires:        libdaemon >= 0.11
jvdias c0b49a5
Requires(post): initscripts, chkconfig, ldconfig
a1f06f9
Requires(pre):        shadow-utils
f97ecbb
BuildRequires:  dbus-devel >= 0.90
f97ecbb
BuildRequires:  dbus-glib-devel >= 0.70
jvdias 69016d8
BuildRequires:  dbus-python
jvdias 8c3df17
BuildRequires:  libxml2-python
jvdias 69016d8
BuildRequires:  gtk2-devel
jvdias 69016d8
BuildRequires:  qt-devel
jvdias 69016d8
BuildRequires:  libglade2-devel
a1f06f9
BuildRequires:  libdaemon-devel >= 0.11
jvdias 549af88
BuildRequires:  glib2-devel
jvdias 69016d8
BuildRequires:  libcap-devel
jvdias 69016d8
BuildRequires:  expat-devel
jvdias 69016d8
BuildRequires:  python
jvdias 69016d8
BuildRequires:  gdbm-devel
jvdias 69016d8
BuildRequires:  pygtk2
jvdias 69016d8
%if %{WITH_MONO}
jvdias 69016d8
BuildRequires:  mono-devel >= 1.1.13
jvdias 69016d8
%endif
a1f06f9
Obsoletes:            howl
a1f06f9
Source0:        http://avahi.org/download/%{name}-%{version}.tar.gz
jvdias 4eda6e8
# enable mono's mcs to work in beehive buildroot:
Simon McVittie 84e827d
Patch0:     avahi-0.6.20-cleanup-dns-compression-table.patch
Simon McVittie 84e827d
Patch1:     avahi-0.6.20-make-known-answers-not-conflict.patch
db7ae00
Patch6:     avahi-0.6.3-MONO_SHARED_DIR.patch
db7ae00
b483c91
%description
b483c91
Avahi is a system which facilitates service discovery on
b483c91
a local network -- this means that you can plug your laptop or
b483c91
computer into a network and instantly be able to view other people who
b483c91
you can chat with, find printers to print to or find files being
b483c91
shared. This kind of technology is already found in MacOS X (branded
b483c91
'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') and is very
b483c91
convenient.
b483c91
b483c91
%package tools
jvdias b9d86a7
Summary: Tools for mDNS browsing and publishing
b483c91
Group: System Environment/Base
a1f06f9
Requires: %{name} = %{version}, gtk2, pygtk2, pygtk2-libglade, gdbm
b483c91
b483c91
%description tools
b483c91
Tools that use avahi to browse and publish mDNS services and hosts.
b483c91
b483c91
%package glib
jvdias b9d86a7
Summary: Glib libraries for avahi
b483c91
Group: System Environment/Base
b483c91
Requires: %{name} = %{version}
jvdias a5ac681
Requires: glib2
b483c91
b483c91
%description glib
b483c91
Libraries for easy use of avahi from glib applications.
b483c91
b483c91
%package glib-devel
jvdias b9d86a7
Summary: Libraries and header files for avahi glib development
b483c91
Group: Development/Libraries
b483c91
Requires: %{name}-devel = %{version}
jvdias a5ac681
Requires: %{name}-glib = %{version}
b483c91
Requires: glib2-devel
b483c91
b483c91
%description glib-devel
b483c91
The avahi-devel package contains the header files and libraries
b483c91
necessary for developing programs using avahi with glib.
b483c91
a1f06f9
%package ui
a1f06f9
Summary: Gtk user interface library for Avahi
a1f06f9
Group: System Environment/Base
a1f06f9
Requires: gtk2
a1f06f9
a1f06f9
%description ui
a1f06f9
This library contains a Gtk widget for browsing services.
a1f06f9
a1f06f9
%package ui-devel
a1f06f9
Summary: Libraries and header files for Avahi UI development
a1f06f9
Group: Development/Libraries
a1f06f9
Requires: %{name}-devel = %{version}
a1f06f9
Requires: %{name}-ui = %{version}
a1f06f9
a1f06f9
%description ui-devel
a1f06f9
The avahi-ui-devel package contains the header files and libraries
a1f06f9
necessary for developing programs using avahi-ui.
a1f06f9
b483c91
%package qt3
b483c91
Summary: Qt3 libraries for avahi
b483c91
Group: System Environment/Base
b483c91
Requires: %{name} = %{version}
jvdias a5ac681
Requires: qt
b483c91
b483c91
%description qt3
b483c91
Libraries for easy use of avahi from Qt3 applications.
b483c91
b483c91
%package qt3-devel
jvdias b9d86a7
Summary: Libraries and header files for avahi Qt3 development
b483c91
Group: Development/Libraries
b483c91
Requires: %{name}-devel = %{version}
jvdias a5ac681
Requires: %{name}-qt3 = %{version}
jvdias a5ac681
Requires: qt-devel
b483c91
b483c91
%description qt3-devel
jvdias 270911a
The avahi-qt3-devel package contains the header files and libraries
b483c91
necessary for developing programs using avahi with Qt3.
b483c91
jvdias 2d2a862
%if %{WITH_MONO}
jvdias 270911a
%package sharp
jvdias 270911a
Summary:   Mono language bindings for avahi mono development
a1f06f9
Group:            Development/Libraries
jvdias a9dd65a
Requires:  mono-core >= 1.1.13
jvdias 270911a
jvdias 270911a
%description sharp
jvdias 270911a
The avahi-sharp package contains the files needed to develop 
jvdias 270911a
mono programs that use avahi.
a1f06f9
a1f06f9
%package ui-sharp
a1f06f9
Summary:   Mono language bindings for avahi-ui mono development
a1f06f9
Group:            Development/Libraries
a1f06f9
Requires:  mono-core >= 1.1.13
a1f06f9
Requires:  gtk-sharp2
a1f06f9
BuildRequires:  gtk-sharp2-devel
a1f06f9
a1f06f9
%description ui-sharp
a1f06f9
The avahi-sharp package contains the files needed to develop 
a1f06f9
mono programs that use avahi-ui.
jvdias 2d2a862
%endif
jvdias 270911a
b483c91
%package devel
jvdias 68a75ad
Summary:  Libraries and header files for avahi development
jvdias 68a75ad
Group:    Development/Libraries
b483c91
Requires: %{name} = %{version}
b483c91
b483c91
%description devel
b483c91
The avahi-devel package contains the header files and libraries
b483c91
necessary for developing programs using avahi.
b483c91
jvdias 68a75ad
%package   compat-howl
a1f06f9
Summary:   Libraries for howl compatibility
jvdias 68a75ad
Group:     Development/Libraries
jvdias 68a75ad
Requires:  %{name} = %{version}
jvdias 68a75ad
Obsoletes: howl-libs
a1f06f9
Provides:  howl-libs
jvdias 68a75ad
jvdias 68a75ad
%description compat-howl
jvdias 68a75ad
Libraries that are compatible with those provided by the howl package. 
jvdias 68a75ad
jvdias 68a75ad
%package   compat-howl-devel
a1f06f9
Summary:   Header files for development with the howl compatibility libraries
jvdias 68a75ad
Group:     Development/Libraries
jvdias 3c4ca9d
Requires:  avahi-compat-howl = %{version}
jvdias 68a75ad
Obsoletes: howl-devel
a1f06f9
Provides:  howl-devel
jvdias 68a75ad
jvdias 68a75ad
%description compat-howl-devel
jvdias 68a75ad
Header files for development with the howl compatibility libraries.
jvdias 68a75ad
jvdias 68a75ad
%package   compat-libdns_sd
a1f06f9
Summary:   Libraries for Apple Bonjour mDNSResponder compatibility
jvdias 68a75ad
Group:     Development/Libraries
jvdias 68a75ad
Requires:  %{name} = %{version}
jvdias 68a75ad
jvdias 68a75ad
%description compat-libdns_sd
jvdias 68a75ad
Libraries for Apple Bonjour mDNSResponder compatibility.
jvdias 68a75ad
jvdias 68a75ad
%package   compat-libdns_sd-devel
a1f06f9
Summary:   Header files for the Apple Bonjour mDNSResponder compatibility libraries
jvdias 68a75ad
Group:     Development/Libraries
jvdias 3c4ca9d
Requires:  avahi-compat-libdns_sd = %{version}
jvdias 68a75ad
jvdias 68a75ad
%description compat-libdns_sd-devel
a1f06f9
Header files for development with the Apple Bonjour mDNSResponder compatibility
a1f06f9
libraries.
a1f06f9
a1f06f9
%package   autoipd
a1f06f9
Summary:   Link-local IPv4 address automatic configuration daemon (IPv4LL)
a1f06f9
Group:     System Environment/Base
Simon McVittie 84e827d
Requires(pre):        shadow-utils
a1f06f9
a1f06f9
%description autoipd
a1f06f9
avahi-autoipd implements IPv4LL, "Dynamic Configuration of IPv4
a1f06f9
Link-Local Addresses"  (IETF RFC3927), a protocol for automatic IP address
a1f06f9
configuration from the link-local 169.254.0.0/16 range without the need for a
a1f06f9
central server. It is primarily intended to be used in ad-hoc networks which
a1f06f9
lack a DHCP server.
a1f06f9
a1f06f9
%package   dnsconfd
a1f06f9
Summary:   Configure local unicast DNS settings based on information published in mDNS
a1f06f9
Group:     System Environment/Base
a1f06f9
Requires:  %{name} = %{version}
jvdias 68a75ad
a1f06f9
%description dnsconfd
a1f06f9
avahi-dnsconfd connects to a running avahi-daemon and runs the script
a1f06f9
/etc/avahi/dnsconfd.action for each unicast DNS server that is announced on the
a1f06f9
local LAN. This is useful for configuring unicast DNS servers in a DHCP-like
a1f06f9
fashion with mDNS.
b483c91
b483c91
%prep
b483c91
%setup -q
jvdias 2d2a862
%if %{WITH_MONO}
Simon McVittie 84e827d
%patch0 -p0 -b .cleanup-dns-compression-table
Simon McVittie 84e827d
%patch1 -p2 -b .make-known-answers-not-conflict
jvdias 4eda6e8
%patch6 -p1 -b .MONO_SHARED_DIR
jvdias 2d2a862
%endif
b483c91
b483c91
%build
b483c91
a1f06f9
%configure --with-distro=fedora --disable-qt4 --disable-monodoc --without-python-twisted --with-avahi-user=avahi --with-avahi-group=avahi --enable-compat-howl --with-avahi-priv-access-group=avahi --with-autoipd-user=avahi-autoipd --with-autoipd-group=avahi-autoipd \
jvdias 68a75ad
%if %{WITH_COMPAT_DNSSD}
a1f06f9
        --enable-compat-libdns_sd \
jvdias 68a75ad
%endif
jvdias 2d2a862
%if ! %{WITH_MONO}
a1f06f9
        --disable-mono \
jvdias 2d2a862
%endif
jvdias 2d2a862
;
b483c91
make %{?_smp_mflags}
b483c91
b483c91
%install
b483c91
rm -rf $RPM_BUILD_ROOT
b483c91
make install DESTDIR=$RPM_BUILD_ROOT
b483c91
b483c91
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
b483c91
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
b483c91
b483c91
# remove example 
b483c91
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/avahi/services/ssh.service
b483c91
b483c91
# remove desktop file for avahi-discover
b483c91
rm -f $RPM_BUILD_ROOT%{_datadir}/applications/avahi-discover.desktop
b483c91
jvdias b9d86a7
# create /var/run/avahi-daemon to ensure correct selinux policy for it:
jvdias b9d86a7
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/avahi-daemon
a1f06f9
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/avahi-autoipd
jvdias b9d86a7
jvdias b159b29
# remove the documentation directory - let \%doc handle it:
jvdias b159b29
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
jvdias b159b29
jvdias 263fc76
# remove avahi-bookmarks - unusable without python-twisted,
jvdias 263fc76
# which has been judged dangerous and is removed from the 
jvdias 263fc76
# Fedora Core distribution:
jvdias 263fc76
rm -f $RPM_BUILD_ROOT/%{_bindir}/avahi-bookmarks $RPM_BUILD_ROOT/%{_mandir}/man1/avahi-bookmarks*
jvdias d53df9d
#
jvdias d53df9d
# move initscripts into /etc/rc.d/init.d :
jvdias d53df9d
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
jvdias d53df9d
mv $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/* $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
jvdias d53df9d
rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/*
jvdias 79ec033
#
jvdias 79ec033
# Make /etc/avahi/etc/localtime owned by avahi:
jvdias 79ec033
mkdir -p $RPM_BUILD_ROOT/etc/avahi/etc
jvdias 79ec033
touch $RPM_BUILD_ROOT/etc/avahi/etc/localtime
jvdias 18e765c
#
jvdias 3c4ca9d
# fix bug 197414 - add missing symlinks for avahi-compat-howl and avahi-compat-dns-sd
jvdias 3c4ca9d
%if %{WITH_COMPAT_HOWL}
jvdias 3c4ca9d
ln -s avahi-compat-howl.pc  $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/howl.pc 
jvdias 3c4ca9d
%endif
jvdias 3c4ca9d
%if %{WITH_COMPAT_DNSSD}
jvdias 3c4ca9d
ln -s avahi-compat-libdns_sd.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/libdns_sd.pc 
jvdias 3c4ca9d
ln -s avahi-compat-libdns_sd/dns_sd.h $RPM_BUILD_ROOT/%{_includedir}/
jvdias 3c4ca9d
%endif
jvdias 3c4ca9d
# 
jvdias 263fc76
:;
jvdias 263fc76
b483c91
%clean
b483c91
rm -rf $RPM_BUILD_ROOT
b483c91
b483c91
%pre
a1f06f9
/usr/sbin/groupadd -f -r avahi
a1f06f9
/usr/bin/id avahi >/dev/null 2>&1 || \
a1f06f9
        /usr/sbin/useradd -r -g avahi -c 'avahi-daemon' -s /sbin/nologin -d %{_localstatedir}/run/avahi-daemon avahi
b483c91
b483c91
%post
b483c91
/sbin/ldconfig
a1f06f9
dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || :
jvdias f81f435
# Run avahi-daemon by default:
a1f06f9
/sbin/chkconfig --add avahi-daemon >/dev/null 2>&1 || :
jvdias c5c9d50
if [ "$1" -eq 1 ]; then
jvdias 79ec033
   if [ -s /etc/localtime ]; then
a1f06f9
        cp -cfp /etc/localtime /etc/avahi/etc/localtime || :
a1f06f9
   fi
a1f06f9
fi
a1f06f9
a1f06f9
%preun
a1f06f9
if [ "$1" -eq 0 ]; then
a1f06f9
    /sbin/service avahi-daemon stop > /dev/null 2>&1 || :
a1f06f9
    /sbin/chkconfig --del avahi-daemon
a1f06f9
fi
08986bc
08986bc
%postun
08986bc
/sbin/ldconfig
08986bc
if [ "$1" -ge "1" ]; then
a1f06f9
   /sbin/service avahi-daemon condrestart >/dev/null 2>&1 || :
08986bc
fi
b483c91
a1f06f9
%pre autoipd
a1f06f9
/usr/sbin/groupadd -f -r avahi-autoipd
a1f06f9
/usr/bin/id avahi-autoipd >/dev/null 2>&1 || \
a1f06f9
        /usr/sbin/useradd -r -g avahi-autoipd -c 'avahi-autoipd' -s /sbin/nologin -d %{_localstatedir}/lib/avahi-autoipd avahi-autoipd
a1f06f9
a1f06f9
%post dnsconfd
a1f06f9
# avahi-dnsconfd NOT run by default in any runlevel; add it
a1f06f9
# so system-config-services can see it
a1f06f9
/sbin/chkconfig --add avahi-dnsconfd >/dev/null 2>&1 || :
a1f06f9
a1f06f9
%preun dnsconfd
jvdias b9d86a7
if [ "$1" -eq 0 ]; then
a1f06f9
    /sbin/service avahi-dnsconfd stop >/dev/null 2>&1 || :
jvdias 226db40
    /sbin/chkconfig --del avahi-dnsconfd
b483c91
fi
b483c91
a1f06f9
%postun dnsconfd
a1f06f9
if [ "$1" -ge "1" ]; then
a1f06f9
   /sbin/service avahi-dnsconfd condrestart >/dev/null 2>&1 || :
a1f06f9
fi
jvdias b9d86a7
a1f06f9
%post glib -p /sbin/ldconfig
jvdias b9d86a7
%postun glib -p /sbin/ldconfig
jvdias b9d86a7
a1f06f9
%post compat-howl -p /sbin/ldconfig
a1f06f9
%postun compat-howl -p /sbin/ldconfig
jvdias b9d86a7
a1f06f9
%post compat-libdns_sd -p /sbin/ldconfig
a1f06f9
%postun compat-libdns_sd -p /sbin/ldconfig
a1f06f9
a1f06f9
%post qt3 -p /sbin/ldconfig
jvdias b9d86a7
%postun qt3 -p /sbin/ldconfig
jvdias b9d86a7
a1f06f9
%post ui -p /sbin/ldconfig
a1f06f9
%postun ui -p /sbin/ldconfig
a1f06f9
b483c91
%files
jvdias 9b769d5
%defattr(0644,root,root,0755)
b483c91
%doc docs/* avahi-daemon/example.service avahi-daemon/ssh.service
a1f06f9
%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/avahi-daemon
jvdias 9b769d5
%dir %{_sysconfdir}/avahi
jvdias 79ec033
%dir %{_sysconfdir}/avahi/etc
jvdias 79ec033
%ghost %{_sysconfdir}/avahi/etc/localtime
a1f06f9
%config(noreplace) %{_sysconfdir}/avahi/hosts
jvdias 9b769d5
%dir %{_sysconfdir}/avahi/services
jvdias a51960b
%attr(0755,avahi,avahi) %dir %{_localstatedir}/run/avahi-daemon
a1f06f9
%config(noreplace) %{_sysconfdir}/avahi/avahi-daemon.conf
a1f06f9
%config(noreplace) %{_sysconfdir}/avahi/services/sftp-ssh.service
a1f06f9
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/avahi-dbus.conf
a1f06f9
%attr(0755,root,root) %{_sbindir}/avahi-daemon
a1f06f9
%attr(0755,root,root) %{_libdir}/libavahi-common.so.*
a1f06f9
%attr(0755,root,root) %{_libdir}/libavahi-core.so.*
a1f06f9
%attr(0755,root,root) %{_libdir}/libavahi-client.so.*
a1f06f9
%{_datadir}/avahi
b483c91
%exclude %{_datadir}/avahi/interfaces
b483c91
%{_mandir}/man5/*
a1f06f9
%{_mandir}/man8/avahi-daemon.*
a1f06f9
a1f06f9
%files autoipd
a1f06f9
%defattr(0644,root,root,0755)
a1f06f9
%attr(0755,root,root) %{_sbindir}/avahi-autoipd
a1f06f9
%attr(0755,root,root) %config(noreplace) %{_sysconfdir}/avahi/avahi-autoipd.action
a1f06f9
%{_mandir}/man8/avahi-autoipd.*
a1f06f9
a1f06f9
%files dnsconfd
a1f06f9
%defattr(0644,root,root,0755)
a1f06f9
%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/avahi-dnsconfd
a1f06f9
%attr(0755,root,root) %config(noreplace) %{_sysconfdir}/avahi/avahi-dnsconfd.action
a1f06f9
%attr(0755,root,root) %{_sbindir}/avahi-dnsconfd
a1f06f9
%{_mandir}/man8/avahi-dnsconfd.*
b483c91
b483c91
%files tools
a1f06f9
%defattr(0644, root, root, 0755)
a1f06f9
%attr(0755,root,root) %{_bindir}/*
7c76df3
# These are .py files only, so they don't go in lib64
8e448ad
%{_prefix}/lib/python?.?/site-packages/*
a1f06f9
%{_mandir}/man1/*
a1f06f9
%{_datadir}/applications/b*.desktop
jvdias 9b769d5
%{_datadir}/avahi/interfaces/
a1f06f9
%exclude %{_bindir}/avahi-discover-standalone
b483c91
b483c91
%files devel
jvdias 9b769d5
%defattr(0644, root, root, 0755)
jvdias b9d86a7
%attr(755,root,root) %{_libdir}/libavahi-common.so
jvdias b9d86a7
%attr(755,root,root) %{_libdir}/libavahi-core.so
jvdias b9d86a7
%attr(755,root,root) %{_libdir}/libavahi-client.so
jvdias ca4cf55
%{_includedir}/avahi-client
jvdias ca4cf55
%{_includedir}/avahi-common
jvdias ca4cf55
%{_includedir}/avahi-core
jvdias b9d86a7
%{_libdir}/pkgconfig/avahi-core.pc
jvdias b9d86a7
%{_libdir}/pkgconfig/avahi-client.pc
b483c91
b483c91
%files glib
jvdias 9b769d5
%defattr(0755, root, root, 0755)
jvdias b9d86a7
%{_libdir}/libavahi-glib.so.*
b483c91
b483c91
%files glib-devel
jvdias ca4cf55
%defattr(0644, root, root, 0755)
jvdias b9d86a7
%attr(755,root,root) %{_libdir}/libavahi-glib.so
jvdias ca4cf55
%{_includedir}/avahi-glib
jvdias a5ac681
%{_libdir}/pkgconfig/avahi-glib.pc
b483c91
a1f06f9
%files ui
a1f06f9
%defattr(0755, root, root, 0755)
a1f06f9
%{_libdir}/libavahi-ui.so.*
a1f06f9
a1f06f9
%files ui-devel
a1f06f9
%defattr(0644, root, root, 0755)
a1f06f9
%attr(755,root,root) %{_libdir}/libavahi-ui.so
a1f06f9
%{_includedir}/avahi-ui
a1f06f9
%{_libdir}/pkgconfig/avahi-ui.pc
a1f06f9
b483c91
%files qt3
jvdias 9b769d5
%defattr(0644, root, root, 0755)
jvdias 9b769d5
%attr(755,root,root) %{_libdir}/libavahi-qt3.so.*
b483c91
b483c91
%files qt3-devel
jvdias ca4cf55
%defattr(0644, root, root, 0755)
jvdias b9d86a7
%attr(755,root,root) %{_libdir}/libavahi-qt3.so
jvdias ca4cf55
%{_includedir}/avahi-qt3
a1f06f9
%{_libdir}/pkgconfig/avahi-qt3.pc
b483c91
jvdias 2d2a862
%if %{WITH_MONO}
jvdias 270911a
%files sharp
jvdias 270911a
%defattr(0644, root, root, 0755)
bc4ce50
%{_libdir}/mono/avahi-sharp
bc4ce50
%{_libdir}/mono/gac/avahi-sharp
jvdias f61ca56
%{_libdir}/pkgconfig/avahi-sharp.pc
a1f06f9
a1f06f9
%files ui-sharp
a1f06f9
%defattr(0644, root, root, 0755)
a1f06f9
%{_libdir}/mono/avahi-ui-sharp
a1f06f9
%{_libdir}/mono/gac/avahi-ui-sharp
a1f06f9
%{_libdir}/pkgconfig/avahi-ui-sharp.pc
jvdias 2d2a862
%endif
jvdias 270911a
jvdias 68a75ad
%if %{WITH_COMPAT_HOWL}
jvdias 68a75ad
%files compat-howl
jvdias 68a75ad
%defattr(0755, root, root, 0755)
jvdias 68a75ad
%{_libdir}/libhowl.so.*
jvdias 68a75ad
jvdias 68a75ad
%files compat-howl-devel
jvdias 68a75ad
%defattr(0644, root, root, 0755)
jvdias 68a75ad
%attr(755,root,root) %{_libdir}/libhowl.so
jvdias 68a75ad
%{_includedir}/avahi-compat-howl
jvdias 68a75ad
%{_libdir}/pkgconfig/avahi-compat-howl.pc
jvdias 3c4ca9d
%{_libdir}/pkgconfig/howl.pc
jvdias 68a75ad
%endif
jvdias 68a75ad
jvdias 68a75ad
%if %{WITH_COMPAT_DNSSD}
jvdias 68a75ad
%files compat-libdns_sd
jvdias 68a75ad
%defattr(0755, root, root, 0755)
jvdias 68a75ad
%{_libdir}/libdns_sd.so.*
jvdias 68a75ad
jvdias 68a75ad
%files compat-libdns_sd-devel
jvdias 68a75ad
%defattr(0644, root, root, 0755)
jvdias 68a75ad
%attr(755,root,root) %{_libdir}/libdns_sd.so
jvdias 68a75ad
%{_includedir}/avahi-compat-libdns_sd
jvdias 3c4ca9d
%{_includedir}/dns_sd.h
jvdias 68a75ad
%{_libdir}/pkgconfig/avahi-compat-libdns_sd.pc
jvdias 3c4ca9d
%{_libdir}/pkgconfig/libdns_sd.pc
jvdias 68a75ad
%endif
jvdias 68a75ad
b483c91
%changelog
Simon McVittie 84e827d
* Wed Jul 11 2007 Lennart Poettering <lpoetter@redhat.com> - 0.6.20-5
Simon McVittie 84e827d
- add two patches which are important to get RR updating work properly. 
Simon McVittie 84e827d
  Will be part of upstream 0.6.21
Simon McVittie 84e827d
Simon McVittie 84e827d
* Thu Jul  5 2007 Dan Williams <dcbw@redhat.com> - 0.6.20-4
Simon McVittie 84e827d
- Add Requires(pre): shadow-utils for avahi-autoipd package
Simon McVittie 84e827d
a1f06f9
* Mon Jun 25 2007 Bill Nottingham <notting@redhat.com> - 0.6.20-3
a1f06f9
- fix %%endif typo
a1f06f9
a1f06f9
* Mon Jun 25 2007 Lennart Poettering <lpoetter@redhat.com> - 0.6.20-2
a1f06f9
- add gtk-sharp2-devel to build deps
a1f06f9
a1f06f9
* Fri Jun 22 2007 Lennart Poettering <lpoetter@redhat.com> - 0.6.20-1
a1f06f9
- upgrade to new upstream 0.6.20
a1f06f9
- fix a few rpmlint warnings
a1f06f9
- create avahi-autoipd user
a1f06f9
- no longer create avahi user with a static uid, move to dynamic uids
a1f06f9
- drop a couple of patches merged upstream
a1f06f9
- Provide "howl" and "howl-devel"
a1f06f9
- Split off avahi-autoipd and avahi-dnsconfd
a1f06f9
- Introduce avahi-ui packages for the first time
a1f06f9
- Reload D-Bus config after installation using dbus-send
a1f06f9
- add a couple of missing ldconfig invocations
a1f06f9
3799991
* Mon Mar 12 2007 Martin Bacovsky <mbacovsk@redhat.com> - 0.6.17-1
3799991
- upgrade to new upstream 0.6.17
3799991
- redundant patches removal
3799991
- removed auto* stuff from specfile since that was no longer needed
3799991
- Resolves: #232205: 'service {avahi-dnsconfd,avahi-daemon} status' 
3799991
  returns 0 when the service is stopped
3799991
bc4ce50
* Fri Feb  2 2007 Christopher Aillon <cailloN@redhat.com> - 0.6.16-3
bc4ce50
- Remove bogus mono-libdir patches
bc4ce50
dd04e6a
* Tue Jan 23 2007 Jeremy Katz <katzj@redhat.com> - 0.6.16-2
dd04e6a
- nuke bogus avahi-sharp -> avahi-devel dep
dd04e6a
5aa3ddc
* Mon Jan 22 2007 Martin Bacovsky <mbacovsk@redhat.com> - 0.6.16-1.fc7
5aa3ddc
- Resolves: #221763: CVE-2006-6870 Maliciously crafted packed can DoS avahi daemon
5aa3ddc
- upgrade to new upstream
5aa3ddc
- patch revision
5aa3ddc
- Resolves: #218140: avahi configuration file wants a non-existent group
5aa3ddc
8e448ad
* Wed Dec  6 2006 Jeremy Katz <katzj@redhat.com> - 0.6.15-4
8e448ad
- rebuild against python 2.5
8e448ad
bbc61b3
* Mon Nov 27 2006 Martin Bacovsky <mbacovsk@redhat.com> - 0.6.15-3
66bbef5
- automake-1.10 required for building
bbc61b3
205d6e4
* Mon Nov 27 2006 Martin Bacovsky <mbacovsk@redhat.com> - 0.6.15-2
205d6e4
- automake-1.9 required for building
205d6e4
db7ae00
* Thu Nov 24 2006 Martin Bacovsky <mbacovsk@redhat.com> - 0.6.15-1
db7ae00
- Upgrade to 0.6.15
db7ae00
- patches revision
db7ae00
5daee29
* Mon Sep 18 2006 Martin Stransky <stransky@redhat.com> - 0.6.11-6
5daee29
- added patch from #206445 - ia64: unaligned access errors seen 
5daee29
  during startup of avahi-daemon
5daee29
- removed unused patches
5daee29
1a5a1f3
* Thu Sep 7 2006 Dan Walsh <dwalsh@redhat.com> - 0.6.11-5
1a5a1f3
- Maintain the security context on the localtime file
1a5a1f3
0c031cf
* Wed Aug 23 2006 Martin Stransky <stransky@redhat.com> - 0.6.11-4
0c031cf
- fix for #204710 - /etc/init.d/avahi-dnsconfd missing line 
0c031cf
  continuation slash (\) in description
0c031cf
87f0c14
* Wed Aug 23 2006 Martin Stransky <stransky@redhat.com> - 0.6.11-3
87f0c14
- added fix for #200767 - avahi-dnsconfd Segmentation fault 
87f0c14
  with invalid command line argument
87f0c14
- added dist tag
87f0c14
f97ecbb
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.6.11-2.fc6
f97ecbb
- add BR for dbus-glib-devel
43718b6
- fix deprecated functions
f97ecbb
jvdias 3c4ca9d
* Mon Jul 17 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.11-1.fc6
jvdias 3c4ca9d
- Upgrade to upstream version 0.6.11
jvdias 3c4ca9d
- fix bug 195674: set 'use-ipv6=yes' in avahi-daemon.conf
jvdias 3c4ca9d
- fix bug 197414: avahi-compat-howl and avahi-compat-dns-sd symlinks
jvdias 3c4ca9d
- fix bug 198282: avahi-compat-{howl-devel,dns-sd-devel} Requires:
jvdias 3c4ca9d
jvdias 3c4ca9d
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com>
3dcebf7
- rebuild
3dcebf7
jvdias 1f5002f
* Tue Jun 13 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.10-3.FC6
jvdias 1f5002f
- rebuild for broken mono deps
jvdias 1f5002f
jvdias a51960b
* Tue Jun 06 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.10-2.FC6
jvdias a51960b
- fix bug 194203: fix permissions on /var/run/avahi-daemon
jvdias a51960b
jvdias 68a75ad
* Tue May 30 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.10-1.FC6
jvdias 68a75ad
- Upgrade to upstream version 0.6.10
jvdias 68a75ad
- fix bug 192080: split avahi-compat-libdns_sd into separate package
jvdias 68a75ad
                  (same goes for avahi-compat-howl)
jvdias 68a75ad
jvdias dec451e
* Tue May 02 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.9-9.FC6
jvdias dec451e
- fix avahi-sharp issues for banshee - patches from caillon@redhat.com
jvdias dec451e
jvdias 188da58
* Thu Apr 20 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.9-9.FC6
jvdias 188da58
- fix bug 189427: correct avahi-resolve --help typo
jvdias 188da58
jvdias f81f435
* Mon Mar 20 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.9-8.FC6
jvdias f81f435
- fix bug 185972: remove ellipses in initscript
jvdias f81f435
- fix bug 185965: make chkconfigs unconditional
jvdias f81f435
jvdias 5f5ba28
* Thu Mar 16 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.9-6
jvdias 18e765c
- Fix bug 185692: install avahi-sharp into %{_prefix}/lib, not %{_libdir}
jvdias 5f5ba28
jvdias 1ec97e1
* Thu Mar 09 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.9-4
jvdias 1ec97e1
- fix scriptlet error introduced by last fix: 
jvdias 1ec97e1
  if user has disabled avahi-daemon, do not enable it during %post
jvdias 1ec97e1
9a2afdb
* Wed Mar 08 2006 Bill Nottingham <notting@redhat.com> - 0.6.9-2
9a2afdb
- fix scriplet error during installer
9a2afdb
- move service-types* to the tools package (avoids multilib conflicts)
9a2afdb
jvdias 4d83a35
* Tue Mar 07 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.9-1
jvdias 4d83a35
- Upgrade to upstream version 0.6.9
jvdias 4d83a35
jvdias c0b49a5
* Thu Feb 23 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.8-1
jvdias c0b49a5
- Upgrade to upstream version 0.6.8
jvdias c0b49a5
- fix bug 182462: +Requires(post): initscripts, chkconfig, ldconfig
jvdias c0b49a5
jvdias c0b49a5
* Fri Feb 17 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.7-1
jvdias 226db40
- Upgrade to upstream version 0.6.7
jvdias 226db40
jvdias c0b49a5
* Fri Feb 17 2006 Karsten Hopp <karsten@redhat.de> - 0.6.6-4
9ba635f
- BuildRequires pygtk2
9ba635f
2184473
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6.6-3.1
2184473
- bump again for double-long bug on ppc(64)
2184473
jvdias 528f944
* Fri Feb 10 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.6-3
jvdias 528f944
- rebuild for new gcc (again)
jvdias 528f944
- further fix for bug 178746: fix avahi-dnsconfd initscript 
jvdias 528f944
jvdias 2603f75
* Tue Feb 07 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.6-2
jvdias 2603f75
- rebuild for new gcc, glibc, glibc-kernheaders
jvdias 2603f75
jvdias ff3a75a
* Wed Feb 01 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.6-1
jvdias ff3a75a
- fix bug 179448: mis-alignment of input cmsghdr msg->msg_control buffer on ia64
jvdias ff3a75a
- Upgrade to 0.6.6
jvdias ff3a75a
jvdias 79ec033
* Thu Jan 26 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.5-1
jvdias 79ec033
- Upgrade to upstream version 0.6.5
jvdias 79ec033
- Make /etc/avahi/etc and /etc/avahi/etc/localtime owned by avahi
jvdias 79ec033
  package; copy system localtime into chroot in post
jvdias 79ec033
jvdias 2ffb366
* Mon Jan 23 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.4-4
jvdias 2ffb366
- fix bug 178689: copy localtime to chroot
jvdias 2ffb366
- fix bug 178784: fix avahi-dnsconfd initscript 
jvdias 2ffb366
ab3f60f
* Fri Jan 20 2006 Peter Jones <pjones@redhat.com> - 0.6.4-3
ab3f60f
- fix subsystem locking in the initscript
ab3f60f
jvdias b0f3249
* Thu Jan 19 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.4-2
jvdias b0f3249
- fix bug 178127: fully localize the initscript
jvdias b0f3249
jvdias 2d2a862
* Mon Jan 16 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.4-1
jvdias 2d2a862
- Upgrade to upstream version 0.6.4
jvdias 2d2a862
jvdias 270911a
* Thu Jan 12 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.3-2
jvdias 270911a
- fix bug 177610: Enable mono support with new avahi-sharp package
jvdias 270911a
- fix bug 177609: add gdbm / gdbm-devel Requires for avahi-browse
jvdias 270911a
jvdias 0ff4fed
* Mon Jan 09 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.3-1
jvdias 0ff4fed
- Upgrade to upstream version 0.6.3
jvdias 9518060
- fix bug 177148: initscript start should not fail if avahi-daemon running
jvdias 9518060
 
jvdias 1b39622
* Thu Dec 22 2005 Jason Vas Dias <jvdias@redhat.com> - 0.6.1-3
jvdias 1b39622
- move initscripts from /etc/init.d to /etc/rc.d/init.d
jvdias 1b39622
c2fc8d4
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
c2fc8d4
- rebuilt
c2fc8d4
jvdias 40e87b2
* Fri Dec 09 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6.1-2
jvdias 40e87b2
- fix bug 175352: Do not chkconfig --add avahi-daemon 
jvdias 40e87b2
  if user has already configured it
jvdias 40e87b2
jvdias 40e87b2
* Wed Dec 07 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6.1-1
jvdias ca4cf55
- Upgrade to 0.6.1
jvdias ca4cf55
jvdias 9b769d5
* Mon Dec 05 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-6
jvdias 9b769d5
- fix bug 174799 - fix .spec file \%files permissions
jvdias 9b769d5
jvdias 263fc76
* Fri Dec 02 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-5
jvdias 263fc76
- python-twisted has been removed from the FC-5 distribution - disable its use
jvdias 263fc76
jvdias 263fc76
* Thu Dec 01 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-4
jvdias 263fc76
- Rebuild for dbus-0.6 - remove use of DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT
jvdias 263fc76
jvdias b159b29
* Wed Nov 30 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-3
jvdias b159b29
- fix bug 172047 - tools should require python-twisted
jvdias b159b29
- fix bug 173985 - docs directory permissions
jvdias b159b29
jvdias 2ec9a85
* Mon Nov 21 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-1
jvdias 2ec9a85
- Upgrade to upstream version 0.6 - now provides 'avahi-howl-compat'
jvdias 2ec9a85
  libraries / includes.
jvdias 2ec9a85
jvdias b9d86a7
* Mon Nov 14 2005 Jason Vas Dias<jvdias@redhat.com> - 0.5.2-7
jvdias b9d86a7
- fix bug 172034: fix ownership of /var/run/avahi-daemon/
jvdias b9d86a7
- fix bug 172772: .spec file improvements from matthias@rpmforge.net
jvdias b9d86a7
 
jvdias 3468e32
* Mon Oct 31 2005 Jason Vas Dias<jvdias@redhat.com> - 0.5.2-6
jvdias 3468e32
- put back avahi-devel Obsoletes: howl-devel
jvdias 3468e32
a5f67f3
* Mon Oct 31 2005 Alexander Larsson <alexl@redhat.com> - 0.5.2-5
a5f67f3
- Obsoletes howl, howl-libs, as we want to get rid of them on updates
a5f67f3
- No provides yet, as the howl compat library is in Avahi 0.6.0.
a5f67f3
Florian La Roche dcf3fba
* Sun Oct 30 2005 Florian La Roche <laroche@redhat.com>
Florian La Roche dcf3fba
- disable the Obsoletes: howl until the transition is complete
Florian La Roche dcf3fba
jvdias c5c9d50
* Fri Oct 28 2005 Jason Vas Dias<jvdias@redhat.com> - 0.5.2-3
jvdias c5c9d50
- change initscript to start avahi-daemon AFTER messagebus
jvdias c5c9d50
0c87b27
* Wed Oct 26 2005 Karsten Hopp <karsten@redhat.de> 0.5.2-2
0c87b27
- add buildrequires dbus-python
0c87b27
b483c91
* Fri Oct 21 2005 Alexander Larsson <alexl@redhat.com> - 0.5.2-1
b483c91
- Initial package