3 %bcond_without tests # do not perform "make test"
7 Summary: SVN::Dump - A Perl interface to Subversion dumps
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/SVN/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: c7e62a0399e608bdd9b0968829310490
16 URL: http://search.cpan.org/dist/SVN-Dump/
17 BuildRequires: perl-Module-Build
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 An SVN::Dump object represents a Subversion dump.
26 This module follow the semantics used in the reference document (the
27 file notes/fs_dumprestore.txt in the Subversion source tree):
29 The most basic thing you can do with SVN::Dump is simply copy a dump.
32 %setup -q -n %{pdir}-%{pnam}-%{version}
36 destdir=$RPM_BUILD_ROOT \
40 %{?with_tests:./Build test}
43 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
47 cp -a eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %{perl_vendorlib}/SVN/Dump.pm
56 %{perl_vendorlib}/SVN/Dump
57 %{_mandir}/man3/SVN::Dump*
58 %{_examplesdir}/%{name}-%{version}