1
0
perl-Text-CSV_XS/perl-Text-CSV_XS.spec

73 lines
2.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Text-CSV_XS (Version 0.67)
#
# Copyright (c) 2009 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
# 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/
#
# norootforbuild
Name: perl-Text-CSV_XS
%define real_name Text-CSV_XS
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
Release: 1
Source: %{real_name}-%{version}.tgz
Requires: perl = %{perl_version}
BuildRequires: perl-Test-Pod-Coverage
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Text::CSV_XS provides facilities for the composition and decomposition of
comma-separated values. An instance of the Text::CSV_XS 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.
%prep
%setup -n %{real_name}-%{version}
%build
perl Makefile.PL
make %{?jobs:-j%jobs}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf %{buildroot}
%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}
%changelog