0.112
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-CSV-Unicode?expand=0&rev=1
This commit is contained in:
57
perl-Text-CSV-Unicode.spec
Normal file
57
perl-Text-CSV-Unicode.spec
Normal file
@@ -0,0 +1,57 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
|
||||
Name: perl-Text-CSV-Unicode
|
||||
Version: 0.112
|
||||
Release: 0
|
||||
Summary: CSV Manipulation Routines with potentially Wide Character Data
|
||||
Source: http://search.cpan.org/CPAN/authors/id/R/RM/RMBARKER/Text-CSV-Unicode-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/Text-CSV-Unicode
|
||||
Group: Development/Libraries/Perl
|
||||
License: Perl License
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Module::Build) >= 0.35
|
||||
|
||||
%description
|
||||
Text::CSV::Unicode provides facilities for the composition and
|
||||
decomposition of comma-separated values, based on Text::CSV 0.01.
|
||||
|
||||
Text::CSV::Unicode allows for input with wide character data.
|
||||
|
||||
An instance of the Text::CSV::Unicode class can combine fields into a CSV
|
||||
string and parse a CSV string into fields.
|
||||
|
||||
%prep
|
||||
%setup -q -n "Text-CSV-Unicode-%{version}"
|
||||
|
||||
%build
|
||||
%__perl ./Build.PL
|
||||
./Build
|
||||
|
||||
%install
|
||||
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
|
||||
%perl_process_packlist
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes README
|
||||
%dir %{perl_vendorlib}/Text
|
||||
%dir %{perl_vendorlib}/Text/CSV
|
||||
%{perl_vendorlib}/Text/CSV/Unicode.pm
|
||||
%{perl_vendorlib}/Text/CSV/Base.pm
|
||||
%dir %{perl_vendorarch}/auto/Text
|
||||
%dir %{perl_vendorarch}/auto/Text/CSV
|
||||
%{perl_vendorarch}/auto/Text/CSV/Unicode
|
||||
%doc %{perl_man3dir}/Text::CSV::Unicode.%{perl_man3ext}%{ext_man}
|
||||
%doc %{perl_man3dir}/Text::CSV::Base.%{perl_man3ext}%{ext_man}
|
||||
|
Reference in New Issue
Block a user