2024-01-06 09:47:28 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Text-CSV
|
2024-01-06 09:47:28 +01:00
|
|
|
Version: 2.00
|
2024-01-06 09:47:28 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Text::CSV - comma-separated values manupulator (using XS or PurePerl)
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 09:47:28 +01:00
|
|
|
URL: https://www.cpan.org
|
|
|
|
Source: https://cpan.metacpan.org/modules/by-module/Text/Text-CSV-%{version}.tar.gz
|
2024-01-06 09:47:28 +01:00
|
|
|
License: Artistic, GPL
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
BuildRequires: perl-devel >= %perl_major_ver
|
|
|
|
Requires: perl-Text-CSV_XS
|
|
|
|
|
|
|
|
%description
|
|
|
|
Text::CSV - comma-separated values manupulator (using XS or PurePerl)
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%setup -q -n Text-CSV-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
|
|
|
%make
|
|
|
|
%make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall_perl
|
|
|
|
packlist=`find %{buildroot} -name .packlist`
|
|
|
|
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
|
|
|
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
|
|
|
|
sort -u > .packlist && rm $packlist
|
|
|
|
|
|
|
|
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
|
|
|
for dir in `find %{buildroot} -type d | grep $strid`; do
|
|
|
|
echo "%dir ${dir#%buildroot}" >> .packlist
|
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
rm -f .packlist
|
|
|
|
|
|
|
|
%files -f .packlist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 09:47:28 +01:00
|
|
|
* Wed Feb 24 2021 Automatic Build System <autodist@mambasoft.it> 2.00-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 09:47:28 +01:00
|
|
|
* Thu Mar 26 2015 Automatic Build System <autodist@mambasoft.it> 1.33-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:47:28 +01:00
|
|
|
* Fri Jun 21 2013 Automatic Build System <autodist@mambasoft.it> 1.32-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.21-2mamba
|
|
|
|
- perl 5.16 mass rebuild
|
|
|
|
|
|
|
|
* Mon Dec 27 2010 Automatic Build System <autodist@mambasoft.it> 1.21-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Nov 12 2010 Automatic Build System <autodist@mambasoft.it> 1.20-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 18 2010 Automatic Build System <autodist@mambasoft.it> 1.19-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jun 26 2010 Automatic Build System <autodist@mambasoft.it> 1.18-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Apr 27 2010 Automatic Build System <autodist@mambasoft.it> 1.17-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Jan 26 2010 Automatic Build System <autodist@mambasoft.it> 1.16-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 26 2009 Automatic Build System <autodist@mambasoft.it> 1.15-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 13 2009 Automatic Build System <autodist@mambasoft.it> 1.14-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 07 2009 Automatic Build System <autodist@mambasoft.it> 1.13-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Jul 13 2009 Automatic Build System <autodist@mambasoft.it> 1.12-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Mar 18 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10-1mamba
|
|
|
|
- package created by autospec
|