Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > df6bef453328b189214a62d78616c86e > files > 2

perl-Net-Rendezvous-0.90-3mdk.src.rpm

%define realname   Net-Rendezvous

Name:		perl-%{realname}
Version:    0.90
Release: %mkrel 3
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
* 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