2008-11-30 06:51:47 +00:00
|
|
|
#
|
2012-01-11 09:44:06 +00:00
|
|
|
# spec file for package perl-Text-CSV
|
2010-10-17 17:45:23 +00:00
|
|
|
#
|
2015-04-15 05:05:09 +00:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2010-10-17 17:45:23 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2008-11-30 06:51:47 +00:00
|
|
|
#
|
|
|
|
|
2012-01-11 09:44:06 +00:00
|
|
|
|
2010-10-17 17:45:23 +00:00
|
|
|
Name: perl-Text-CSV
|
2015-04-15 05:05:09 +00:00
|
|
|
Version: 1.33
|
2012-01-11 09:44:06 +00:00
|
|
|
Release: 0
|
2011-03-24 11:32:28 +00:00
|
|
|
%define cpan_name Text-CSV
|
2013-07-27 12:41:56 +00:00
|
|
|
Summary: comma-separated values manipulator (using XS or PurePerl)
|
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2011-03-24 11:32:28 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2012-01-11 09:44:06 +00:00
|
|
|
Url: http://search.cpan.org/dist/Text-CSV/
|
2013-07-27 12:41:56 +00:00
|
|
|
Source: http://www.cpan.org/authors/id/M/MA/MAKAMAKA/%{cpan_name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-10-17 17:45:23 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2011-03-24 11:32:28 +00:00
|
|
|
%{perl_requires}
|
2008-11-30 06:51:47 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Text::CSV provides facilities for the composition and decomposition of
|
2011-03-24 11:32:28 +00:00
|
|
|
comma-separated values using the Text::CSV_XS manpage or its pure Perl
|
|
|
|
version.
|
2008-11-30 06:51:47 +00:00
|
|
|
|
|
|
|
An instance of the Text::CSV class can combine fields into a CSV string and
|
2010-10-17 17:45:23 +00:00
|
|
|
parse a CSV string into fields.
|
2008-11-30 06:51:47 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
2010-10-17 17:45:23 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2015-04-15 05:05:09 +00:00
|
|
|
find . -type f -print0 | xargs -0 chmod 644
|
2008-11-30 06:51:47 +00:00
|
|
|
|
|
|
|
%build
|
2010-10-17 17:45:23 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
2008-11-30 06:51:47 +00:00
|
|
|
|
|
|
|
%check
|
2010-10-17 17:45:23 +00:00
|
|
|
%{__make} test
|
2008-11-30 06:51:47 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
2011-03-24 11:32:28 +00:00
|
|
|
%perl_process_packlist
|
2010-03-17 08:22:27 +00:00
|
|
|
%perl_gen_filelist
|
2008-11-30 06:51:47 +00:00
|
|
|
|
2010-03-17 08:22:27 +00:00
|
|
|
%files -f %{name}.files
|
2013-07-27 12:41:56 +00:00
|
|
|
%defattr(-,root,root,755)
|
2010-10-17 17:45:23 +00:00
|
|
|
%doc Changes README
|
2008-11-30 06:51:47 +00:00
|
|
|
|
2010-10-17 17:45:23 +00:00
|
|
|
%changelog
|