perl-Text-CSV/perl-Text-CSV.spec

69 lines
1.6 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
Url: http://search.cpan.org/perldoc?Text::CSV
Group: Development/Libraries/Perl
License: Artistic License
Version: 1.10
Release: 1
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
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc Changes README MANIFEST
%doc %{_mandir}/man?/*
%dir %{perl_vendorarch}/auto/Text
%dir %{perl_vendorarch}/auto/Text/CSV
%dir %{perl_vendorlib}/Text
%{perl_vendorarch}/auto/Text/CSV/.packlist
%{perl_vendorlib}/Text/*
/var/adm/perl-modules/%{name}
%changelog