public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Text-RecordParser] epel10.2: initial import
@ 2026-08-07 13:12 Chris Weyl
  0 siblings, 0 replies; only message in thread
From: Chris Weyl @ 2026-08-07 13:12 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/perl-Text-RecordParser
Branch : epel10.2
Commit : 54fd0c0449b66a27f2ca56f43e1468203a7cc18b
Author : Chris Weyl <cweyl@fedoraproject.org>
Date   : 2007-05-16T23:40:13+00:00
Stats  : +77/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Text-RecordParser/c/54fd0c0449b66a27f2ca56f43e1468203a7cc18b?branch=epel10.2

Log:
initial import

---
diff --git a/.cvsignore b/.cvsignore
index e69de29..58f079d 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+Text-RecordParser-v1.2.1.tar.gz

diff --git a/perl-Text-RecordParser.spec b/perl-Text-RecordParser.spec
new file mode 100644
index 0000000..114ee39
--- /dev/null
+++ b/perl-Text-RecordParser.spec
@@ -0,0 +1,75 @@
+Name:           perl-Text-RecordParser
+Version:        v1.2.1
+Release:        2%{?dist}
+Summary:        Read record-oriented files
+License:        GPL
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Text-RecordParser/
+Source0:        http://www.cpan.org/authors/id/K/KC/KCLARK/Text-RecordParser-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+# core
+#BuildRequires:  perl(List::Util)
+BuildRequires:  perl(Test::More)
+# cpan
+BuildRequires:  perl(Module::Build) 
+BuildRequires:  perl(Readonly)
+BuildRequires:  perl(Class::Accessor)
+BuildRequires:  perl(List::MoreUtils)
+BuildRequires:  perl(Text::TabularDisplay)
+BuildRequires:  perl(version)
+# test
+BuildRequires:  perl(IO::Scalar) 
+BuildRequires:  perl(Test::Exception)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
+
+%description
+This module is for reading record-oriented data in a delimited text file.
+The most common example have records separated by newlines and fields
+separated by commas or tabs, but this module aims to provide a consistent
+interface for handling sequential records in a file however they may be
+delimited. Typically this data lists the fields in the first line of the
+file, in which case you should call bind_header to bind the field name (or
+not, and it will be called implicitly). If the first line contains data,
+you can still bind your own field names via bind_fields. Either way, you
+can then use many methods to get at the data as arrays or hashes.
+
+%prep
+%setup -q -n Text-RecordParser-%{version}
+
+perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*.t
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+rm -rf %{buildroot}
+
+./Build install destdir=%{buildroot} create_packlist=0
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+./Build test
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README TODO t/
+%{_bindir}/*
+%{perl_vendorlib}/*
+%{_mandir}/man[13]/*
+
+%changelog
+* Wed May 16 2007 Chris Weyl <cweyl@alumni.drew.edu> v1.2.1-2
+- additional BR for test suite: perl(IO::Scalar)
+
+* Mon May 14 2007 Chris Weyl <cweyl@alumni.drew.edu> v1.2.1-1
+- Specfile autogenerated by cpanspec 1.71.

diff --git a/sources b/sources
index e69de29..fb119e6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+65c2a85a2ed2a9bc791d377954bd5a44  Text-RecordParser-v1.2.1.tar.gz

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07 13:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 13:12 [rpms/perl-Text-RecordParser] epel10.2: initial import Chris Weyl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox