%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-Date-Manip Version: 6.91 Release: 2mamba Summary: Date::Manip - This is a set of routines designed to make any common date/time manipulation easy to do. Group: Development/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Aleph0 URL: https://www.cpan.org/ Source: https://cpan.metacpan.org/modules/by-module/Date/Date-Manip-%{version}.tar.gz License: GPL Requires: perl >= %perl_major_ver ## AUTOBUILDREQ-BEGIN BuildRequires: libperl BuildRequires: perl-Encode BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: perl >= 2:5.36.0 BuildRequires: perl-devel >= %perl_major_ver BuildRequires: perl-Test-Inter BuildArch: noarch %description This is a set of routines designed to make any common date/time manipulation easy to do. Operations such as comparing two times, calculating a time a given amount of time from another, or parsing international times are all easily done. From the very beginning, the main focus of Date::Manip has been to be able to do ANY desired date/time operation easily, not necessarily quickly. Also, it is definitely oriented towards the type of operations we (as people) tend to think of rather than those operations used routinely by computers. There are other modules that can do a subset of the operations available in Date::Manip much quicker than those presented here, so be sure to read the section SHOULD I USE DATE::MANIP below before deciding which of the Date and Time modules from CPAN is for you. %prep %setup -q -n Date-Manip-%{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 * Mon Apr 17 2023 Sdk Build System 6.91-2mamba - rebuilt with perl 5.36.0 * Thu Mar 02 2023 Automatic Build System 6.91-1mamba - automatic version update by autodist * Sat Dec 03 2022 Automatic Build System 6.90-1mamba - automatic version update by autodist * Fri Sep 02 2022 Automatic Build System 6.89-1mamba - automatic version update by autodist * Sat Jun 04 2022 Automatic Build System 6.88-1mamba - automatic version update by autodist * Fri Jun 03 2022 Automatic Build System 6.87-1mamba - automatic version update by autodist * Tue Nov 16 2021 Automatic Build System 6.86-1mamba - automatic version update by autodist * Mon May 17 2021 Automatic Build System 6.85-1mamba - automatic version update by autodist * Tue Jan 26 2016 Automatic Build System 6.52-1mamba - automatic update by autodist * Mon Mar 23 2015 Automatic Build System 6.49-1mamba - automatic update by autodist * Thu Dec 18 2014 Automatic Build System 6.48-1mamba - automatic update by autodist * Sun Sep 21 2014 Automatic Build System 6.47-1mamba - automatic update by autodist * Wed Jul 09 2014 Automatic Build System 6.46-1mamba - automatic update by autodist * Sat May 24 2014 Automatic Build System 6.43-1mamba - automatic update by autodist * Sat Mar 09 2013 Automatic Build System 6.39-1mamba - automatic version update by autodist * Thu Jan 10 2013 Automatic Build System 6.38-1mamba - automatic version update by autodist * Fri Nov 16 2012 Automatic Build System 6.36-1mamba - automatic version update by autodist * Fri Oct 12 2012 Automatic Build System 6.34-1mamba - automatic version update by autodist * Thu Aug 16 2012 Silvan Calarco 6.32-1mamba - update to 6.32 * Sun Jan 15 2012 Automatic Build System 5.56-1mamba - automatic version update by autodist * Thu Feb 05 2009 Silvan Calarco 5.54-1mamba - automatic update by autodist * Tue Nov 04 2008 Silvan Calarco 5.46-2mamba - automatic rebuild by autodist * Tue Nov 20 2007 Aleph0 5.46-1mamba - update to 5.46 * Thu Oct 28 2004 Mirko Cortillaro 5.42a-1qilnx - package created by autospec