2024-01-06 08:50:02 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Date-Manip
|
2024-03-02 11:57:30 +01:00
|
|
|
Version: 6.95
|
2024-01-06 08:50:03 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 08:50:02 +01:00
|
|
|
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 <aleph0@openmamba.org>
|
2024-01-06 08:50:03 +01:00
|
|
|
URL: https://www.cpan.org/
|
|
|
|
Source: https://cpan.metacpan.org/modules/by-module/Date/Date-Manip-%{version}.tar.gz
|
2024-01-06 08:50:02 +01:00
|
|
|
License: GPL
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 08:50:03 +01:00
|
|
|
BuildRequires: libperl
|
2024-01-06 08:50:03 +01:00
|
|
|
BuildRequires: perl-Encode
|
2024-01-06 08:50:02 +01:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 08:50:03 +01:00
|
|
|
BuildRequires: perl >= 2:5.36.0
|
2024-01-06 08:50:02 +01:00
|
|
|
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
|
2024-03-02 11:57:30 +01:00
|
|
|
* Sat Mar 02 2024 Automatic Build System <autodist@openmamba.org> 6.95-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-10 14:00:54 +01:00
|
|
|
* Wed Jan 10 2024 Automatic Build System <autodist@openmamba.org> 6.94-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:50:04 +01:00
|
|
|
* Sat Dec 02 2023 Automatic Build System <autodist@mambasoft.it> 6.93-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:50:03 +01:00
|
|
|
* Fri Jun 09 2023 Automatic Build System <autodist@mambasoft.it> 6.92-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:50:03 +01:00
|
|
|
* Mon Apr 17 2023 Sdk Build System <sdk@mambasoft.it> 6.91-2mamba
|
|
|
|
- rebuilt with perl 5.36.0
|
|
|
|
|
2024-01-06 08:50:03 +01:00
|
|
|
* Thu Mar 02 2023 Automatic Build System <autodist@mambasoft.it> 6.91-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:50:03 +01:00
|
|
|
* Sat Dec 03 2022 Automatic Build System <autodist@mambasoft.it> 6.90-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:50:03 +01:00
|
|
|
* Fri Sep 02 2022 Automatic Build System <autodist@mambasoft.it> 6.89-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:50:03 +01:00
|
|
|
* Sat Jun 04 2022 Automatic Build System <autodist@mambasoft.it> 6.88-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jun 03 2022 Automatic Build System <autodist@mambasoft.it> 6.87-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:50:03 +01:00
|
|
|
* Tue Nov 16 2021 Automatic Build System <autodist@mambasoft.it> 6.86-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:50:03 +01:00
|
|
|
* Mon May 17 2021 Automatic Build System <autodist@mambasoft.it> 6.85-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:50:02 +01:00
|
|
|
* Tue Jan 26 2016 Automatic Build System <autodist@mambasoft.it> 6.52-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:50:02 +01:00
|
|
|
* Mon Mar 23 2015 Automatic Build System <autodist@mambasoft.it> 6.49-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:50:02 +01:00
|
|
|
* Thu Dec 18 2014 Automatic Build System <autodist@mambasoft.it> 6.48-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:50:02 +01:00
|
|
|
* Sun Sep 21 2014 Automatic Build System <autodist@mambasoft.it> 6.47-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:50:02 +01:00
|
|
|
* Wed Jul 09 2014 Automatic Build System <autodist@mambasoft.it> 6.46-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:50:02 +01:00
|
|
|
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 6.43-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:50:02 +01:00
|
|
|
* Sat Mar 09 2013 Automatic Build System <autodist@mambasoft.it> 6.39-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jan 10 2013 Automatic Build System <autodist@mambasoft.it> 6.38-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Nov 16 2012 Automatic Build System <autodist@mambasoft.it> 6.36-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Oct 12 2012 Automatic Build System <autodist@mambasoft.it> 6.34-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Aug 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 6.32-1mamba
|
|
|
|
- update to 6.32
|
|
|
|
|
|
|
|
* Sun Jan 15 2012 Automatic Build System <autodist@mambasoft.it> 5.56-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Feb 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 5.54-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Nov 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 5.46-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Tue Nov 20 2007 Aleph0 <aleph0@openmamba.org> 5.46-1mamba
|
|
|
|
- update to 5.46
|
|
|
|
|
|
|
|
* Thu Oct 28 2004 Mirko Cortillaro <mirko.cortillaro@qilinux.it> 5.42a-1qilnx
|
|
|
|
- package created by autospec
|