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

63 lines
1.4 KiB
RPMSpec
Raw Normal View History

#
# 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