|
Chris Weyl |
54fd0c0 |
Name: perl-Text-RecordParser
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
6ab3ff8 |
Version: 1.5.0
|
|
![](https://seccdn.libravatar.org/avatar/6fe495c9072626ec4308288df40fb1048d1e61b9fe58b96aa7557c33457d0d15?s=16&d=retro) |
bf1e7ca |
Release: 2%{?dist}
|
|
Chris Weyl |
54fd0c0 |
Summary: Read record-oriented files
|
|
![](https://seccdn.libravatar.org/avatar/6bc20550c752ba849c045db39b646a1cf4359ecaade6d9cca60b8421d81bd73e?s=16&d=retro) |
8b4726e |
License: GPLv2
|
|
Chris Weyl |
54fd0c0 |
Group: Development/Libraries
|
|
Chris Weyl |
54fd0c0 |
URL: http://search.cpan.org/dist/Text-RecordParser/
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
6ab3ff8 |
Source0: http://search.cpan.org/CPAN/authors/id/K/KC/KCLARK/Text-RecordParser-v%{version}.tar.gz
|
|
Chris Weyl |
54fd0c0 |
BuildArch: noarch
|
|
Chris Weyl |
54fd0c0 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
Chris Weyl |
54fd0c0 |
|
|
Chris Weyl |
54fd0c0 |
# core
|
|
Chris Weyl |
4b0c490 |
BuildRequires: perl(List::Util)
|
|
Chris Weyl |
54fd0c0 |
BuildRequires: perl(Test::More)
|
|
Chris Weyl |
54fd0c0 |
# cpan
|
|
Chris Weyl |
4b0c490 |
BuildRequires: perl(Module::Build)
|
|
Chris Weyl |
54fd0c0 |
BuildRequires: perl(Readonly)
|
|
Chris Weyl |
54fd0c0 |
BuildRequires: perl(Class::Accessor)
|
|
Chris Weyl |
54fd0c0 |
BuildRequires: perl(List::MoreUtils)
|
|
Chris Weyl |
54fd0c0 |
BuildRequires: perl(Text::TabularDisplay)
|
|
Chris Weyl |
54fd0c0 |
BuildRequires: perl(version)
|
|
Chris Weyl |
54fd0c0 |
# test
|
|
Chris Weyl |
4b0c490 |
BuildRequires: perl(IO::Scalar)
|
|
Chris Weyl |
54fd0c0 |
BuildRequires: perl(Test::Exception)
|
|
Chris Weyl |
54fd0c0 |
BuildRequires: perl(Test::Pod)
|
|
Chris Weyl |
54fd0c0 |
BuildRequires: perl(Test::Pod::Coverage)
|
|
Chris Weyl |
54fd0c0 |
|
|
Chris Weyl |
4b0c490 |
# not automagically picked up...
|
|
Chris Weyl |
4b0c490 |
Requires: perl(Class::Accessor)
|
|
Chris Weyl |
4b0c490 |
|
|
Chris Weyl |
54fd0c0 |
%description
|
|
Chris Weyl |
54fd0c0 |
This module is for reading record-oriented data in a delimited text file.
|
|
Chris Weyl |
54fd0c0 |
The most common example have records separated by newlines and fields
|
|
Chris Weyl |
54fd0c0 |
separated by commas or tabs, but this module aims to provide a consistent
|
|
Chris Weyl |
54fd0c0 |
interface for handling sequential records in a file however they may be
|
|
Chris Weyl |
54fd0c0 |
delimited. Typically this data lists the fields in the first line of the
|
|
Chris Weyl |
54fd0c0 |
file, in which case you should call bind_header to bind the field name (or
|
|
Chris Weyl |
54fd0c0 |
not, and it will be called implicitly). If the first line contains data,
|
|
Chris Weyl |
54fd0c0 |
you can still bind your own field names via bind_fields. Either way, you
|
|
Chris Weyl |
54fd0c0 |
can then use many methods to get at the data as arrays or hashes.
|
|
Chris Weyl |
54fd0c0 |
|
|
Chris Weyl |
54fd0c0 |
%prep
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
6ab3ff8 |
%setup -q -n Text-RecordParser-v%{version}
|
|
Chris Weyl |
54fd0c0 |
|
|
Chris Weyl |
4b0c490 |
perl -pi -e 's|^#!perl|#!%{__perl}|' t/*.t
|
|
Chris Weyl |
54fd0c0 |
|
|
Chris Weyl |
54fd0c0 |
%build
|
|
Chris Weyl |
54fd0c0 |
%{__perl} Build.PL installdirs=vendor
|
|
Chris Weyl |
54fd0c0 |
./Build
|
|
Chris Weyl |
54fd0c0 |
|
|
Chris Weyl |
54fd0c0 |
%install
|
|
Chris Weyl |
54fd0c0 |
./Build install destdir=%{buildroot} create_packlist=0
|
|
Chris Weyl |
54fd0c0 |
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
Chris Weyl |
54fd0c0 |
|
|
Chris Weyl |
54fd0c0 |
%{_fixperms} %{buildroot}/*
|
|
Chris Weyl |
54fd0c0 |
|
|
Chris Weyl |
54fd0c0 |
%check
|
|
Chris Weyl |
54fd0c0 |
./Build test
|
|
Chris Weyl |
54fd0c0 |
|
|
Chris Weyl |
54fd0c0 |
%files
|
|
Chris Weyl |
54fd0c0 |
%doc Changes README TODO t/
|
|
Chris Weyl |
54fd0c0 |
%{_bindir}/*
|
|
Chris Weyl |
54fd0c0 |
%{perl_vendorlib}/*
|
|
Chris Weyl |
54fd0c0 |
%{_mandir}/man[13]/*
|
|
Chris Weyl |
54fd0c0 |
|
|
Chris Weyl |
54fd0c0 |
%changelog
|
|
![](https://seccdn.libravatar.org/avatar/6fe495c9072626ec4308288df40fb1048d1e61b9fe58b96aa7557c33457d0d15?s=16&d=retro) |
bf1e7ca |
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.5.0-2
|
|
![](https://seccdn.libravatar.org/avatar/6fe495c9072626ec4308288df40fb1048d1e61b9fe58b96aa7557c33457d0d15?s=16&d=retro) |
bf1e7ca |
- Perl mass rebuild
|
|
![](https://seccdn.libravatar.org/avatar/6fe495c9072626ec4308288df40fb1048d1e61b9fe58b96aa7557c33457d0d15?s=16&d=retro) |
bf1e7ca |
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
6ab3ff8 |
* Sat May 07 2011 Iain Arnell <iarnell@gmail.com> 1.5.0-1
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
6ab3ff8 |
- update to latest upstream version
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
6ab3ff8 |
- clean up spec for modern rpmbuild
|
|
![](https://seccdn.libravatar.org/avatar/a5e9b1588598e24b9a10901be407603c3d3eaa459b37c39d7fe54369b1c01650?s=16&d=retro) |
6ab3ff8 |
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
e9a93b6 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-6
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
e9a93b6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
e9a93b6 |
|
|
![](https://seccdn.libravatar.org/avatar/6fe495c9072626ec4308288df40fb1048d1e61b9fe58b96aa7557c33457d0d15?s=16&d=retro) |
0c53f49 |
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.3.0-5
|
|
![](https://seccdn.libravatar.org/avatar/6fe495c9072626ec4308288df40fb1048d1e61b9fe58b96aa7557c33457d0d15?s=16&d=retro) |
0c53f49 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
![](https://seccdn.libravatar.org/avatar/6fe495c9072626ec4308288df40fb1048d1e61b9fe58b96aa7557c33457d0d15?s=16&d=retro) |
0c53f49 |
|
|
![](https://seccdn.libravatar.org/avatar/6fe495c9072626ec4308288df40fb1048d1e61b9fe58b96aa7557c33457d0d15?s=16&d=retro) |
6ba67d3 |
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.3.0-4
|
|
![](https://seccdn.libravatar.org/avatar/6fe495c9072626ec4308288df40fb1048d1e61b9fe58b96aa7557c33457d0d15?s=16&d=retro) |
6ba67d3 |
- Mass rebuild with perl-5.12.0
|
|
![](https://seccdn.libravatar.org/avatar/6fe495c9072626ec4308288df40fb1048d1e61b9fe58b96aa7557c33457d0d15?s=16&d=retro) |
6ba67d3 |
|
|
![](https://seccdn.libravatar.org/avatar/c4dec74d923a165893cec932300d9c622cd1bc808dcfb5b14fe1c9d65afbcefc?s=16&d=retro) |
05b9d85 |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.3.0-3
|
|
![](https://seccdn.libravatar.org/avatar/c4dec74d923a165893cec932300d9c622cd1bc808dcfb5b14fe1c9d65afbcefc?s=16&d=retro) |
05b9d85 |
- rebuild against perl 5.10.1
|
|
![](https://seccdn.libravatar.org/avatar/c4dec74d923a165893cec932300d9c622cd1bc808dcfb5b14fe1c9d65afbcefc?s=16&d=retro) |
05b9d85 |
|
|
![](https://seccdn.libravatar.org/avatar/e452f58f37c4ccc3d610284c41a9e0627db8a44c8b3e6ab6b4760b8f9d4a5ea8?s=16&d=retro) |
56a9640 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
|
|
![](https://seccdn.libravatar.org/avatar/e452f58f37c4ccc3d610284c41a9e0627db8a44c8b3e6ab6b4760b8f9d4a5ea8?s=16&d=retro) |
56a9640 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/e452f58f37c4ccc3d610284c41a9e0627db8a44c8b3e6ab6b4760b8f9d4a5ea8?s=16&d=retro) |
56a9640 |
|
|
Chris Weyl |
4b0c490 |
* Sun May 17 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.3.0-1
|
|
Chris Weyl |
4b0c490 |
- auto-update to 1.3.0 (by cpan-spec-update 0.01)
|
|
Chris Weyl |
4b0c490 |
- added a new br on perl(List::Util) (version 0)
|
|
Chris Weyl |
4b0c490 |
|
|
![](https://seccdn.libravatar.org/avatar/e452f58f37c4ccc3d610284c41a9e0627db8a44c8b3e6ab6b4760b8f9d4a5ea8?s=16&d=retro) |
0369a85 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-5
|
|
![](https://seccdn.libravatar.org/avatar/e452f58f37c4ccc3d610284c41a9e0627db8a44c8b3e6ab6b4760b8f9d4a5ea8?s=16&d=retro) |
0369a85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/e452f58f37c4ccc3d610284c41a9e0627db8a44c8b3e6ab6b4760b8f9d4a5ea8?s=16&d=retro) |
0369a85 |
|
|
![](https://seccdn.libravatar.org/avatar/6bc20550c752ba849c045db39b646a1cf4359ecaade6d9cca60b8421d81bd73e?s=16&d=retro) |
8b4726e |
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-4
|
|
![](https://seccdn.libravatar.org/avatar/6bc20550c752ba849c045db39b646a1cf4359ecaade6d9cca60b8421d81bd73e?s=16&d=retro) |
8b4726e |
- rebuild for new perl
|
|
![](https://seccdn.libravatar.org/avatar/6bc20550c752ba849c045db39b646a1cf4359ecaade6d9cca60b8421d81bd73e?s=16&d=retro) |
8b4726e |
|
|
Chris Weyl |
8de1e2f |
* Wed May 16 2007 Chris Weyl <cweyl@alumni.drew.edu> v1.2.1-3
|
|
Chris Weyl |
8de1e2f |
- bump
|
|
Chris Weyl |
8de1e2f |
|
|
Chris Weyl |
54fd0c0 |
* Wed May 16 2007 Chris Weyl <cweyl@alumni.drew.edu> v1.2.1-2
|
|
Chris Weyl |
54fd0c0 |
- additional BR for test suite: perl(IO::Scalar)
|
|
Chris Weyl |
54fd0c0 |
|
|
Chris Weyl |
54fd0c0 |
* Mon May 14 2007 Chris Weyl <cweyl@alumni.drew.edu> v1.2.1-1
|
|
Chris Weyl |
54fd0c0 |
- Specfile autogenerated by cpanspec 1.71.
|