rebuilt with perl 5.16 [release 0.05-2mamba;Thu Nov 29 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 08:50:34 +01:00
parent 58e674dcfc
commit 5abd178cb8
2 changed files with 67 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# perl-DateTime-Format-DateParse
This module is a compatibility wrapper around Date::Parse.

View File

@ -0,0 +1,65 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-DateTime-Format-DateParse
Version: 0.05
Release: 2mamba
Summary: DateTime::Format::DateParse - Parses Date::Parse compatible formats
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/J/JH/JHOBLITT/DateTime-Format-DateParse-%{version}.tar.gz
License: GPL, Artistic
## AUTOBUILDREQ-BEGIN
BuildRequires: perl-DateTime
BuildRequires: perl-DateTime-TimeZone
BuildRequires: perl-devel
BuildRequires: perl-TimeDate
## AUTOBUILDREQ-END
Requires: perl >= %perl_major_ver
%description
This module is a compatibility wrapper around Date::Parse.
%prep
%setup -q -n DateTime-Format-DateParse-%{version}
%build
perl Build.PL installdirs=vendor
./Build
./Build test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
./Build install \
destdir="%{buildroot}" \
--install_path bindoc="%{_mandir}/man1" \
--install_path libdoc="%{_mandir}/man3"
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm $packlist
find %{buildroot}%{perl_vendorlib} \
-type d -depth -exec rmdir {} 2>/dev/null \;
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
* Thu Nov 29 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.05-2mamba
- rebuilt with perl 5.16
* Sat Sep 18 2010 gil <puntogil@libero.it> 0.05-1mamba
- package created by autospec