diff --git a/Time-ParseDate-2015.103.tar.gz b/Time-ParseDate-2015.103.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..a10735fcc535195464d7904bfba610ca2e4b0492 Binary files /dev/null and b/Time-ParseDate-2015.103.tar.gz differ diff --git a/perl-Time-ParseDate.spec b/perl-Time-ParseDate.spec new file mode 100644 index 0000000000000000000000000000000000000000..d37e08dccb5f7e6cfdccfbd308a65236050485a0 --- /dev/null +++ b/perl-Time-ParseDate.spec @@ -0,0 +1,79 @@ +%global _empty_manifest_terminate_build 0 +Name: perl-Time-ParseDate +Version: 2015.103 +Release: 1 +Summary: Date parsing both relative and absolute +License: Perl License +Group: Development/Libraries +URL: http://search.cpan.org/dist/Time-ParseDate/ +Source0: http://www.cpan.org/authors/id/M/MU/MUIR/modules/Time-ParseDate-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module recognizes the above date/time formats. Usually a date and a +time are specified. There are numerous options for controlling what is +recognized and what is not. + +%package help +Summary : Date parsing both relative and absolute +Provides: perl-Time-ParseDate-doc + +%description help +This module recognizes the above date/time formats. Usually a date and a +time are specified. There are numerous options for controlling what is +recognized and what is not. + +%prep +%setup -q -n Time-ParseDate-%{version} + +%build +export PERL_MM_OPT="" +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +export PERL_MM_OPT="" +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +pushd %{buildroot} +touch filelist.lst +if [ -d usr/bin ];then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ];then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ];then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib ];then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +popd +mv %{buildroot}/filelist.lst . +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f filelist.lst +%defattr(-,root,root,-) +%doc Changes META.json README +%{perl_vendorlib}/* +%files help +%{_mandir}/* + +%changelog +* Tue Jun 15 2021 Perl_Bot 2015.103-1 +- Specfile autogenerated by Perl_Bot