2007-01-15 23:31:57 +00:00
|
|
|
#
|
2009-08-10 21:00:06 +00:00
|
|
|
# spec file for package perl-Text-CSV_XS (Version 0.67)
|
2007-01-15 23:31:57 +00:00
|
|
|
#
|
2009-06-18 15:13:44 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:31:57 +00:00
|
|
|
#
|
2009-06-18 15:13:44 +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.
|
|
|
|
|
2007-07-16 16:18:04 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:31:57 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-06 05:57:04 +00:00
|
|
|
|
2007-07-16 16:18:04 +00:00
|
|
|
Name: perl-Text-CSV_XS
|
2009-08-10 21:00:06 +00:00
|
|
|
%define real_name Text-CSV_XS
|
|
|
|
Summary: Comma-separated values manipulation routines
|
|
|
|
Url: http://search.cpan.org/perldoc?Text::CSV_XS
|
2007-07-16 16:18:04 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2009-08-10 21:00:06 +00:00
|
|
|
License: Artistic License ..
|
|
|
|
Version: 0.67
|
|
|
|
Release: 1
|
|
|
|
Source: %{real_name}-%{version}.tgz
|
2007-07-16 16:18:04 +00:00
|
|
|
Requires: perl = %{perl_version}
|
2009-08-10 21:00:06 +00:00
|
|
|
BuildRequires: perl-Test-Pod-Coverage
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:31:57 +00:00
|
|
|
|
|
|
|
%description
|
2009-08-10 21:00:06 +00:00
|
|
|
Text::CSV_XS provides facilities for the composition and decomposition of
|
|
|
|
comma-separated values. An instance of the Text::CSV_XS class can combine
|
2007-01-15 23:31:57 +00:00
|
|
|
fields into a CSV string and parse a CSV string into fields.
|
|
|
|
|
2009-08-10 21:00:06 +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.
|
2007-01-15 23:31:57 +00:00
|
|
|
|
|
|
|
%prep
|
2009-08-10 21:00:06 +00:00
|
|
|
%setup -n %{real_name}-%{version}
|
2007-01-15 23:31:57 +00:00
|
|
|
|
|
|
|
%build
|
2009-08-10 21:00:06 +00:00
|
|
|
perl Makefile.PL
|
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
2007-01-15 23:31:57 +00:00
|
|
|
|
|
|
|
%install
|
2009-08-10 21:00:06 +00:00
|
|
|
%perl_make_install
|
2007-01-15 23:31:57 +00:00
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
2009-08-10 21:00:06 +00:00
|
|
|
rm -rf %{buildroot}
|
2007-01-15 23:31:57 +00:00
|
|
|
|
2009-08-10 21:00:06 +00:00
|
|
|
%files
|
2007-01-15 23:31:57 +00:00
|
|
|
%defattr(-, root, root)
|
2009-08-10 21:00:06 +00:00
|
|
|
%doc ChangeLog README MANIFEST
|
2007-01-15 23:31:57 +00:00
|
|
|
%doc %{_mandir}/man?/*
|
2009-08-10 21:00:06 +00:00
|
|
|
%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/*
|
2007-01-15 23:31:57 +00:00
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2007-07-16 16:18:04 +00:00
|
|
|
%changelog
|