%define realname Net-Rendezvous Name: perl-%{realname} Version: 0.90 Release: %mkrel 5 License: GPL or Artistic Group: Development/Perl Summary: Module for DNS service discovery ( Zeroconf ) Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHLIGE//%{realname}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{realname} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: perl-devel BuildRequires: perl-Net-DNS BuildArch: noarch %description Net::Rendezvous is a set of modules that allow one to discover local services via multicast DNS (mDNS) or enterprise services via traditional DNS. This method of service discovery has been branded as Rendezvous ( now Bonjour ) by Apple Computer. %prep %setup -q -n %{realname}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check # it seems the number of server changed, and therefore, # the test is not working as zeronf.org return more entries than # planned perl -pi -e "s/ == 2/ == 11/" t/3-enterprise.t make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std rm -rf $RPM_BUILD_ROOT/%{perl_vendorarch} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ChangeLog README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.90-5mdv2008.0 + Revision: 86706 - rebuild + Michael Scherer <misc@mandriva.org> - rebuild * Wed Dec 28 2005 Michael Scherer <misc@mandriva.org> 0.90-3mdk - Do not ship empty dir * Fri Sep 30 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.90-2mdk - Buildrequires fix * Wed Sep 21 2005 Michael Scherer <misc@mandriva.org> 0.90-1mdk - First mandriva package