packages: perl-SVN-Dump/perl-SVN-Dump.spec (NEW) - new, with pldcpan

glen glen at pld-linux.org
Fri Oct 29 11:23:37 CEST 2010


Author: glen                         Date: Fri Oct 29 09:23:37 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, with pldcpan

---- Files affected:
packages/perl-SVN-Dump:
   perl-SVN-Dump.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-SVN-Dump/perl-SVN-Dump.spec
diff -u /dev/null packages/perl-SVN-Dump/perl-SVN-Dump.spec:1.1
--- /dev/null	Fri Oct 29 11:23:37 2010
+++ packages/perl-SVN-Dump/perl-SVN-Dump.spec	Fri Oct 29 11:23:32 2010
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+
+%define		pdir	SVN
+%define		pnam	Dump
+%include	/usr/lib/rpm/macros.perl
+Summary:	SVN::Dump - A Perl interface to Subversion dumps
+Name:		perl-SVN-Dump
+Version:	0.04
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/SVN/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	ecef25f8facce359fcec9ab1f341da36
+URL:		http://search.cpan.org/dist/SVN-Dump/
+BuildRequires:	perl-Module-Build
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+An SVN::Dump object represents a Subversion dump.
+
+This module follow the semantics used in the reference document (the
+file notes/fs_dumprestore.txt in the Subversion source tree):
+
+The most basic thing you can do with SVN::Dump is simply copy a dump.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+	destdir=$RPM_BUILD_ROOT \
+	installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+./Build install
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a eg/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/SVN/Dump.pm
+%{perl_vendorlib}/SVN/Dump
+%{_mandir}/man3/SVN::Dump*
+%{_examplesdir}/%{name}-%{version}
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/10/29 09:23:32  glen
+- new, with pldcpan
================================================================


More information about the pld-cvs-commit mailing list