%define module Date-Manip %define version 5.54 %define release %mkrel 2 Summary: %{module} module for Perl Name: perl-%{module} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{module}/ Source: http://www.cpan.org/modules/by-module/Date/%{module}-%{version}.tar.gz Patch0: Date-Manip-5.54-cot.patch Obsoletes: perl-DateManip < 5.46 Provides: perl-DateManip < 5.46 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %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. %prep %setup -q -n %{module}-%{version} %patch0 -p 1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor %__make %check %__make test %clean rm -rf %{buildroot} %install rm -rf %{buildroot} %makeinstall_std %files %defattr(-,root,root) %doc HISTORY INSTALL README TODO %{_mandir}/man*/* %{perl_vendorlib}/Date %changelog * Thu Aug 07 2008 Thierry Vignaud <tvignaud@mandriva.com> 5.54-2mdv2009.0 + Revision: 265353 - rebuild early 2009.0 package (before pixel changes) * Sat May 17 2008 Guillaume Rousse <guillomovitch@mandriva.org> 5.54-1mdv2009.0 + Revision: 208378 - new version rediff patch 0 * Tue May 06 2008 Guillaume Rousse <guillomovitch@mandriva.org> 5.50-1mdv2009.0 + Revision: 202291 - new version - update to new version 5.50 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Wed Dec 05 2007 Guillaume Rousse <guillomovitch@mandriva.org> 5.48-2mdv2008.1 + Revision: 115554 - re-add backward compatibility virtual package to ease upgrade * Wed Nov 28 2007 Guillaume Rousse <guillomovitch@mandriva.org> 5.48-1mdv2008.1 + Revision: 113647 - new version spec cleanup drop unappliable and undocumented sort patch * Wed Nov 07 2007 Frederic Crozat <fcrozat@mandriva.com> 5.46-1mdv2008.1 + Revision: 106705 - upstream module changed name -Release 5.46 -rename package, since perl module changed name * Tue Jul 31 2007 David Walluck <walluck@mandriva.org> 5.44-4mdv2008.0 + Revision: 56781 - rebuild to fix %%mkrel