Summary: Host name resolution via Multicast DNS Name: nss-mdns Version: 0.10 Release: 2%{?dist} License: GPL Source0: http://0pointer.de/lennart/projects/nss-mdns/%{name}-%{version}.tar.gz Group: System Environment/Libraries URL: http://www.0pointer.de/lennart/projects/nss-mdns/ BuildRequires: avahi-devel Requires: avahi BuildRoot: %{_tmppath}/%{name}-%{version}-root Prefix: %{_prefix} %description nss-mdns is a plugin for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc) providing host name resolution via Multicast DNS (aka Zeroconf, aka Apple Rendezvous, aka Apple Bonjour), effectively allowing name resolution by common Unix/Linux programs in the ad-hoc mDNS domain .local. nss-mdns provides client functionality only, which means that you have to run a mDNS responder daemon separately from nss-mdns if you want to register the local host name via mDNS. It is necessary to change "hosts" in /etc/nsswitch.conf to hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 For using a 32 bit browser on x86_64, the 32 bit version of %{name} must be also installed. %prep %setup -q -n %{name}-%{version} %build %configure make %{_smp_mflags} %install rm -rf %{buildroot} %makeinstall %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc LICENSE README doc/README.html %{_libdir}/libnss* %changelog * Sat Jul 14 2007 Paulo Roma 0.10-2 - Updated to 0.10 * Sat May 05 2007 Paulo Roma 0.9-2 - Updated to 0.9 - Improved spec file. * Sat Jul 15 2006 Paulo Roma 0.8-2 - Initial version for Fedora 5.