Sophie

Sophie

distrib > Mandriva > 2007.0 > x86_64 > media > main-release-src > by-pkgid > 65f819fd8c3df2d04c0b26b1ed3c9bbd > files > 4

perl-DateManip-5.44-3mdk.src.rpm

%define module	DateManip
%define version	5.44
%define release	%mkrel 3

Summary:	%{module} module for Perl
Name:		perl-%{module}
Version:	%{version}
Release:	%{release}
License:	GPL or Artistic
Group:		Development/Perl
Source0:	ftp://ftp.perl.org/pub/CPAN/modules/by-module/Date/%{module}-%{version}.tar.bz2
Patch0:		%{module}-COT.patch.bz2
Patch1:		%{module}-SORT.patch.bz2
Url:		http://search.cpan.org/dist/%{module}/
%if %{mdkversion} < 1010
BuildRequires:	perl-devel
%else
BuildRequires:	perl
%endif
BuildRoot:	%{_tmppath}/%{name}-buildroot/
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.


%prep
%setup -q -n %{module}-%{version}
%patch0 -p1 -b .cot
%patch1 -p0 -b .sort

%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
* Fri May 05 2006 Scott Karns <scottk@mandriva.org> 5.44-3mdk
- Update %description
- Added %{mdkversion} conditional around BuildRequires: perl-devel
- Updated to comply with Mandriva perl packaging policies

* Tue Dec 13 2005 Buchan Milne <bgmilne@mandriva.org> 5.44-2mdk
- Rebuild
- use mkrel

* Fri Jun 03 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 5.44-1mdk
- 5.44
- Rediff patch 1

* Tue Aug 26 2003 François Pons <fpons@mandrakesoft.com> 5.42a-1mdk
- added patch to avoid ramdomized keys of hash.
- 5.42a.

* Wed Aug 13 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 5.40-7mdk
- rebuild for new perl
- drop $RPM_OPT_FLAGS, noarch..
- use %%makeinstall_std macro

* Tue May 27 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.40-6mdk
- rebuild for new auto{prov,req}

* Wed Apr 23 2003 François Pons <fpons@mandrakesoft.com> 5.40-5mdk
- fix bug 3814.

* Tue Jul  9 2002 Pixel <pixel@mandrakesoft.com> 5.40-4mdk
- rebuild for perl 5.8.0

* Mon Feb 25 2002 François Pons <fpons@mandrakesoft.com> 5.40-3mdk
- removed requires on IO::File so that perl-base only is needed.

* Tue Oct 16 2001 Stefan van der Eijk <stefan@eijk.nu> 5.40-2mdk
- BuildRequires: perl-devel

* Fri Aug 31 2001 François Pons <fpons@mandrakesoft.com> 5.40-1mdk
- 5.40.
- udpated license.
- removed filelist, now use globing and macros.

* Sun Jun 17 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 5.39-4mdk
- Rebuild against the latest perl.
- Remove the hardcoded Vendor and Distribution.

* Tue Mar 13 2001 Jeff Garzik <jgarzik@mandrakesoft.com> 5.39-3mdk
- BuildArch: noarch
- add docs
- rename spec file
- clean spec a bit
- run automated tests

* Sat Sep 16 2000 Stefan van der Eijk <s.vandereijk@chello.nl> 5.39-2mdk
- Call spec-helper before creating filelist

* Wed Aug 09 2000 Jean-Michel Dault <jmdault@mandrakesoft.com> 5.39-1mdk
- Macroize package