[perl-Data-Record] Initial import (1121627).
David Dick
ddick at fedoraproject.org
Tue Jul 22 20:40:04 UTC 2014
commit c10ef929a9ae02b7d1eeee9317f601da3f512d70
Author: David Dick <ddick at cpan.org>
Date: Wed Jul 23 06:39:51 2014 +1000
Initial import (1121627).
.gitignore | 1 +
perl-Data-Record.spec | 52 +++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..36c58c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Data-Record-0.02.tar.gz
diff --git a/perl-Data-Record.spec b/perl-Data-Record.spec
new file mode 100644
index 0000000..fe96747
--- /dev/null
+++ b/perl-Data-Record.spec
@@ -0,0 +1,52 @@
+Name: perl-Data-Record
+Version: 0.02
+Release: 1%{?dist}
+Summary: "split" on steroids
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Data-Record/
+Source0: http://www.cpan.org/modules/by-module/Data/Data-Record-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(Carp)
+BuildRequires: perl(constant)
+BuildRequires: perl(Data::Dumper)
+BuildRequires: perl(Module::Build)
+BuildRequires: perl(strict)
+BuildRequires: perl(Test::Exception) >= 0.21
+BuildRequires: perl(Test::More) >= 0.6
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
+BuildRequires: perl(warnings)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Sometimes we need data split into records and a simple split on the
+input record separator ($/) or some other value fails because the values
+we're splitting on may allowed in other parts of the data. Perhaps
+they're quoted. Perhaps they're embedded in other data which should not
+be split up.
+
+%prep
+%setup -q -n Data-Record-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Jul 21 2014 David Dick <ddick at cpan.org> - 0.02-1
+- Initial release
diff --git a/sources b/sources
index e69de29..714a9cf 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1c22555d2ef4494d5991a12bb44a0e20 Data-Record-0.02.tar.gz
More information about the scm-commits
mailing list