From 5abd178cb85b60fd032b8cc9dc1185df2a1d9365 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:50:34 +0100 Subject: [PATCH] rebuilt with perl 5.16 [release 0.05-2mamba;Thu Nov 29 2012] --- README.md | 2 + perl-DateTime-Format-DateParse.spec | 65 +++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 perl-DateTime-Format-DateParse.spec diff --git a/README.md b/README.md index f3a3000..41dc4ba 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-DateTime-Format-DateParse +This module is a compatibility wrapper around Date::Parse. + diff --git a/perl-DateTime-Format-DateParse.spec b/perl-DateTime-Format-DateParse.spec new file mode 100644 index 0000000..3f15834 --- /dev/null +++ b/perl-DateTime-Format-DateParse.spec @@ -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 +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 0.05-2mamba +- rebuilt with perl 5.16 + +* Sat Sep 18 2010 gil 0.05-1mamba +- package created by autospec