]> git.pld-linux.org Git - packages/perl-File-Rsync.git/commitdiff
- initial release
authorpius <pius@pld-linux.org>
Thu, 1 Jan 2004 19:59:33 +0000 (19:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-File-Rsync.spec -> 1.1

perl-File-Rsync.spec [new file with mode: 0644]

diff --git a/perl-File-Rsync.spec b/perl-File-Rsync.spec
new file mode 100644 (file)
index 0000000..8f52637
--- /dev/null
@@ -0,0 +1,58 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    File
+%define        pnam    Rsync
+Summary:       File::Rsync - a wrapper module for rsync
+Summary(pl):   File::Rsync - wrapper dla programu rsync
+Name:          perl-%{pdir}-%{pnam}
+Version:       0.32
+Release:       1
+License:       GPL/Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+Patch0:                %{name}-misc.patch
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: rsync
+%endif
+Requires:      rsync
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+File::Rsync is a perl wrapper for the rsync program.
+
+%description -l pl
+File::Rsync jest wrapperem w perlu dla programu rsync.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+%patch -p1
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changelog README
+%{perl_vendorlib}/%{pdir}/%{pnam}.pm
+%{perl_vendorlib}/%{pdir}/%{pnam}/Config.pm
+%{_mandir}/man3/%{pdir}::%{pnam}.*
This page took 0.064343 seconds and 4 git commands to generate.