]> git.pld-linux.org Git - packages/perl-File-RsyncP.git/blame - perl-File-RsyncP.spec
- release 6 (by relup.sh)
[packages/perl-File-RsyncP.git] / perl-File-RsyncP.spec
CommitLineData
23add0dd 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
1f48f9b4 6%define pdir File
7%define pnam RsyncP
66de45ca 8Summary: File::RsyncP - Perl implementation of an rsync client
93e3e00e 9Summary(pl.UTF-8): File::RsyncP - implementacja klienta rsync w Perlu
77f3977f 10Name: perl-File-RsyncP
a94fb65a 11Version: 0.70
07c41721 12Release: 6
66de45ca 13License: GPL v2+
23add0dd 14Group: Development/Languages/Perl
28ece8c3 15Source0: http://search.cpan.org/CPAN/authors/id/C/CB/CBARRATT/%{pdir}-%{pnam}-%{version}.tar.gz
a94fb65a 16# Source0-md5: f244372d15a2991b8700f62e73ac51e4
49d49f69 17URL: http://search.cpan.org/dist/File-RsyncP/
d7429901 18BuildRequires: perl-Encode
23add0dd 19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
66de45ca 24File::RsyncP is a Perl implementation of an rsync client. It can send
23add0dd 25or receive files, either by running rsync on the remote machine, or
2fad1c27 26connecting to an rsyncd daemon on the remote machine.
23add0dd 27
28File::RsyncP seperates all file system I/O into a seperate module
29(File::RsyncP::FileIO), which can be replaced by any module of your
30own design. This allows rsync interfaces to non-filesystem data types
31(eg: databases) to be developed with relative ease.
32
33File::RsyncP does not yet provide a command-line interface that mimics
34native rsync. Instead it provides an API that makes it possible to
35write simple scripts that talk to rsync or rsyncd.
36
85851590
JR
37%description -l pl.UTF-8
38File::RsyncP jest implementacją klienta rsync w Perlu. Umożliwia
39wysyłanie i pobieranie plików, zarówno przez uruchomionego zdalnie
40klienta rsync jak i przez połączenie z demonem rsyncd na zdalnej
23add0dd 41maszynie.
42
85851590
JR
43Wszystkie operacje wejścia/wyjścia na systemie plików zostały
44wyodrębnione do oddzielnego modułu (File::RsyncP::FileIO), który może
45być zastąpiony przez inny moduł własnego projektu. Umożliwia to w
46miarę proste tworzenie interfejsów do rsynca, które nie operują na
47systemie plików a np. na bazach danych.
23add0dd 48
85851590
JR
49File::RsyncP nie udostępnia jeszcze interaktywnego interfejsu
50naśladującego linię poleceń programu rsync. W zamian udostępnia API,
51umożliwiające pisanie prostych skryptów do komunikacji z rsync
23add0dd 52i rsyncd.
53
23add0dd 54%prep
55%setup -q -n %{pdir}-%{pnam}-%{version}
56
57%build
58%{__perl} Makefile.PL \
59 INSTALLDIRS=vendor
60
1c2af5ff 61%{__make} -j1
23add0dd 62
63%{?with_tests:%{__make} test}
64
65%install
66rm -rf $RPM_BUILD_ROOT
67
68%{__make} install \
69 DESTDIR=$RPM_BUILD_ROOT
70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%files
75%defattr(644,root,root,755)
76%doc Changes README
a712cc51
JB
77%{perl_vendorarch}/File/RsyncP.pm
78%dir %{perl_vendorarch}/File/RsyncP
79%{perl_vendorarch}/File/RsyncP/*.pm
80%dir %{perl_vendorarch}/auto/File/RsyncP
81%dir %{perl_vendorarch}/auto/File/RsyncP/Digest
82%dir %{perl_vendorarch}/auto/File/RsyncP/FileList
a712cc51 83%attr(755,root,root) %{perl_vendorarch}/auto/File/RsyncP/*/*.so
23add0dd 84%{_mandir}/man3/*
This page took 0.125008 seconds and 4 git commands to generate.