1
0

Accepting request 483249 from home:Tomcat42

This Package is needed by backuppc (repo: Archiving:Backup). It would be fine to find it in one of the perl repositories.
Thanks!

OBS-URL: https://build.opensuse.org/request/show/483249
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-file-rsyncp?expand=0&rev=1
This commit is contained in:
Stephan Kulow
2017-03-29 08:48:35 +00:00
committed by Git OBS Bridge
commit 503af71cf2
5 changed files with 130 additions and 0 deletions

73
perl-File-RsyncP.spec Normal file
View File

@@ -0,0 +1,73 @@
#
# spec file for package perl-File-RsyncP
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define cpan_name File-RsyncP
Name: perl-File-RsyncP
Version: 0.74
Release: 0
Summary: File-RsyncP Perl module
License: GPL-3.0+
Group: Development/Libraries/Perl
Url: http://perlrsync.sourceforge.net/
Source: http://search.cpan.org/CPAN/authors/id/C/CB/CBARRATT/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time:
BuildRequires: perl(AutoLoader)
BuildRequires: perl(constant)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Path)
BuildRequires: perl(Socket)
%if 0%{?suse_version} >= 1210
%{perl_requires}
%endif
%description
File::RsyncP is a perl implementation of an Rsync client. It is
compatible with Rsync 2.x (protocol versions up to 28). 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 %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_flags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(644,root,root,755)
%doc Changes README
%changelog