perl-Text-CSV/perl-Text-CSV.spec
Lars Vogdt 6832584805 - update to 1.17:
+ fixed parse working when setting quote_char undef 
  + made Text::CSV_XS compat 0.71
    * Text::CSV->error_diag() in void context warns instead 
      of doing nothing
    * auto_diag also used for new () itself
    * Added quote_space attribute
    * Forbad \r and \n in sep_char, quote_char, and escape_char
    * Auto detection of eol => "\r" in streams
    * fail if first arg to new () is not a hash ref
    * added empty_is_undef
    * error_diag () uses warn () in void context instead of STDERR
    * added auto_diag attribute
    * updated documents same as Text::CSV_XS
  + added quote_null (introduced in Text::CSV_XS 0.72)
  + getline() didn't handle '0' starting multi line data
- use perl standard macros in specfile

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-CSV?expand=0&rev=3
2010-03-17 08:22:27 +00:00

63 lines
1.4 KiB
RPMSpec

#
# spec file for package perl-Text-CSV
#
# norootforbuild
Name: perl-Text-CSV
%define real_name Text-CSV
Summary: CSV - comma-separated values manipulator
Version: 1.17
Release: 1
Url: http://search.cpan.org/perldoc?Text::CSV
Group: Development/Libraries/Perl
License: Artistic License
Vendor: openSUSE-Education
Source: %{real_name}-%{version}.tar.bz2
Requires: perl = %{perl_version}
BuildRequires: perl-Test-Pod
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Text::CSV provides facilities for the composition and decomposition of
comma-separated values using Text::CSV_XS or its pure Perl version.
An instance of the Text::CSV class can combine fields into a CSV string and
parse a CSV string into fields.
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.
Author:
-------
Alan Citterman
Jochen Wiedmann
H.Merijn Brand
Makamaka Hannyaharamitu
%prep
%setup -n %{real_name}-%{version}
%build
perl Makefile.PL
make %{?jobs:-j%jobs}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%files -f %{name}.files
%defattr(-, root, root)
%doc Changes README MANIFEST
%changelog