Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > f8cdba5d4262491f656b562e1d5ec879 > files > 2

perl-DateTime-Format-Strptime-1.0800-1mdv2009.0.src.rpm

%define module  DateTime-Format-Strptime

Name:           perl-%{module}
Version:        1.0800
Release:        %mkrel 1
Summary:        Parse and format strp and strf time patterns
License:        GPL or Artistic
Group:          Development/Perl
URL:            http://search.cpan.org/dist/%{module}
Source:         http://www.cpan.org/modules/by-module/DateTime/%{module}-%{version}.tgz
BuildRequires:  perl(DateTime)
Buildarch:      noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
This module implements most of strptime(3), the POSIX function that is the
reverse of strftime(3), for DateTime. While strftime takes a DateTime and a
pattern and returns a string, strptime takes a string and a pattern and returns
the DateTime object associated.

%prep
%setup -q -n %{module}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%install
rm -rf %{buildroot}
%makeinstall_std

%check
%__make test

%clean 
rm -rf %{buildroot}

%files 
%defattr(-,root,root)
%doc Changes README
%{perl_vendorlib}/DateTime
%{_mandir}/*/*


%changelog
* Mon Sep 29 2008 Oden Eriksson <oeriksson@mandriva.com> 1.0800-1mdv2009.0
+ Revision: 289465
- 1.0800

  + Thierry Vignaud <tvignaud@mandriva.com>
    - rebuild
    - kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Sun Nov 04 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.0702-1mdv2008.1
+ Revision: 105822
- import perl-DateTime-Format-Strptime


* Sun Nov 04 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.0702-1mdv2008.1
- first mdv release