File perl-File-RsyncP.spec of Package perl-File-RsyncP

# norootforbuild

%define modname	File-RsyncP
Name:           perl-%{modname}
Version:        0.68
Release:        1.1OS102DSB
%if %suse_version < 1020
Distribution:	SUSE Linux %(echo "%{suse_version}" | %__sed -e 's/.$//' -e ':a;s/\(.$\)/\.\1/g')
%else
Distribution:	openSUSE %(echo "%{suse_version}" | %__sed -e 's/.$//' -e ':a;s/\(.$\)/\.\1/g')
%endif
Summary:        A Perl Implementation of An Rsync Client
Source:         %{modname}-%{version}.tar.gz
URL:		http://perlrsync.sourceforge.net
Packager:	Donnie S Bhayangkara - http://donnie.110mb.com
Group:          Development/Libraries/Perl
License:        GPL
BuildRoot:	%{_tmppath}/build-%{name}-%{version}
BuildRequires:  perl
Requires:       perl = %{perl_version}

%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 deamon on the remote machine.

Authors:
--------
	Craig Barratt <cbarratt@users.sourceforge.net>

%prep
%setup -q -n %{modname}-%{version}

%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
make test

%install
%perl_make_install
%perl_process_packlist

%clean
%__rm -rf "%{buildroot}"

%files
%defattr(-, root, root)
%doc README Changes LICENSE
%doc %{_mandir}/man?/*
%{perl_vendorarch}/File/RsyncP
%{perl_vendorarch}/File/RsyncP.pm
%{perl_vendorarch}/auto/File/RsyncP
/var/adm/perl-modules/%{name}

%changelog

* Thu Apr 19 2007 Donnie S Bhayangkara <dsbhayangkara@gmail.com> 0.68
- initial release
openSUSE Build Service is sponsored by