%define module File-RsyncP %define name perl-%{module} %define version 0.52 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: Perl Rsync client License: GPL or Artistic Group: Development/Perl Source: http://search.cpan.org/CPAN/authors/id/K/KC/KCARNUT/%{module}-%{version}.tar.bz2 Url: http://www.cpan.org BuildRoot: %{_tmppath}/%{name}-buildroot/ Buildrequires: perl-devel %description File::RsyncP is a perl implementation of an Rsync client. It is compatible with Rsync 2.5.5 (protocol version 26). It can send or receive files, either by running rsync on the remote machine, or connecting to an rsyncd daemon on the remote machine. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README %{perl_vendorlib}/* %{_mandir}/*/* %changelog * Wed May 04 2005 Olivier Thauvin <nanardon@mandriva.org> 0.52-1mdk - First mandriva spec