Accepting request 297291 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/297291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-CSV-Unicode?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
ba75b0ca02
commit
0024a3dfde
@@ -1,57 +1,62 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
#
|
||||
# spec file for package perl-Text-CSV-Unicode
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX 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/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Text-CSV-Unicode
|
||||
Version: 0.112
|
||||
Version: 0.115
|
||||
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
|
||||
%define cpan_name Text-CSV-Unicode
|
||||
Summary: with Potentially Wide Character Data
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
License: Perl License
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
%{perl_requires}
|
||||
Url: http://search.cpan.org/dist/Text-CSV-Unicode/
|
||||
Source0: http://www.cpan.org/authors/id/R/RM/RMBARKER/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Module::Build) >= 0.35
|
||||
BuildRequires: perl(Module::Build) >= 0.380000
|
||||
%{perl_requires}
|
||||
|
||||
%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}"
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%__perl ./Build.PL
|
||||
./Build
|
||||
|
||||
%install
|
||||
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
|
||||
%perl_process_packlist
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
%install
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%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}
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes examples README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user