1
0

Accepting request 28341 from devel:languages:perl

Copy from devel:languages:perl/perl-Text-CSV_XS based on submit request 28341 from user coolo

OBS-URL: https://build.opensuse.org/request/show/28341
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Text-CSV_XS?expand=0&rev=9
This commit is contained in:
OBS User autobuild 2010-01-09 10:51:41 +00:00 committed by Git OBS Bridge
parent c81ff7141c
commit 6a5196206f
4 changed files with 65 additions and 27 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8b531158d7d8ababb69795ea30c1d40bfb736321f4dcd75f2f0b859b09c38d56
size 101949

3
Text-CSV_XS-0.70.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1bd7b85104db00421e1eb74e43e5c2ffa6439b2dedc9ad38cf6d81acc3b17cf0
size 95183

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Sat Dec 12 16:29:31 UTC 2009 - chris@computersalat.de
- update 0.70
* Add quote_space attribute
* Forbid \r and \n in sep_char, quote_char, and escape_char
* 0.69 - H.Merijn Brand <h.m.brand@xs4all.nl>
* Missing end quotes in error code docs
* examples/csv-check now shows detected eol
* Auto detection of eol => "\r" in streams
* Optimized caching. All cache changes now in XS
* 0.68 - H.Merijn Brand <h.m.brand@xs4all.nl>
* Attribute auto_diag now localizes to +1 if autodie is active
* Output name generation in csv2xls (RT#48954)
* Added csvdiff to examples/
* Reordered docs. Rewrote SYNOPSIS to be more like a real-world
code example
- cleanup spec
* define cpan_name
* sort tags
* fix build-/deps
* added Authors
- added perl-macros
* perl_gen_filelist
-------------------------------------------------------------------
Mon Aug 10 09:27:37 CEST 2009 - coolo@novell.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Text-CSV_XS (Version 0.67)
# spec file for package perl-Text-CSV_XS (Version 0.70)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,17 +19,21 @@
Name: perl-Text-CSV_XS
%define real_name Text-CSV_XS
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Comma-separated values manipulation routines
Url: http://search.cpan.org/perldoc?Text::CSV_XS
Group: Development/Libraries/Perl
License: Artistic License ..
Version: 0.67
Version: 0.70
Release: 1
Source: %{real_name}-%{version}.tgz
Requires: perl = %{perl_version}
BuildRequires: perl-Test-Pod-Coverage
License: Artistic License ..
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Text-CSV_XS
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage)
Requires: perl = %{perl_version}
Provides: %{cpan_name}
%description
Text::CSV_XS provides facilities for the composition and decomposition of
@ -40,33 +44,42 @@ The module accepts either strings or files as input and can utilize any
user-specified characters as delimiters, separators, and escapes so it is
perhaps better called ASV (anything separated values) rather than just CSV.
Authors:
Alan Citterman <alan@mfgrtl.com> wrote the original Perl module.
Please don't send mail concerning Text::CSV_XS to Alan, as he's not involved
in the C part which is now the main part of the module.
Jochen Wiedmann <joe@ispsoft.de> rewrote the encoding and decoding in C by
implementing a simple finite-state machine and added the variable quote,
escape and separator characters, the binary mode and the print and getline
methods. See ChangeLog releases 0.10 through 0.23.
H.Merijn Brand <h.m.brand@xs4all.nl> cleaned up the code, added the field
flags methods, wrote the major part of the test suite, completed the
documentation, fixed some RT bugs and added all the allow flags.
See ChangeLog releases 0.25 and on.
%prep
%setup -n %{real_name}-%{version}
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL
make %{?jobs:-j%jobs}
%{__make} %{?jobs:-j%jobs}
%check
make test
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%{__rm} -rf %{buildroot}
%files
%files -f %{name}.files
%defattr(-, root, root)
%doc ChangeLog README MANIFEST
%doc %{_mandir}/man?/*
%dir %{perl_vendorarch}/Text
%dir %{perl_vendorarch}/auto/Text
%dir %{perl_vendorarch}/auto/Text/CSV_XS
%{perl_vendorarch}/auto/Text/CSV_XS/.packlist
%{perl_vendorarch}/auto/Text/CSV_XS/*
%{perl_vendorarch}/Text/*
/var/adm/perl-modules/%{name}
%doc ChangeLog README
%changelog