58 lines
1.6 KiB
RPMSpec
58 lines
1.6 KiB
RPMSpec
![]() |
# 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}
|
||
|
|