%define upstream_name Time-Format %define upstream_version 1.12 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Perl module for date and time formatting License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Time/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Module::Build) >= 0.400.0 BuildRequires: perl(Test::Simple) >= 0.400.0 BuildRequires: perl(Time::Local) >= 1.70.0 BuildArch: noarch %description Time::Format provides a very easy way to format dates and times. The formatting functions are tied to hash variables, so they can be used inside strings as well as in ordinary expressions. The formatting codes used are meant to be easy to remember, use, and read. They follow a simple, consistent pattern. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %install %makeinstall_std %files %doc Changes META.json META.yml MYMETA.yml README SIGNATURE %{perl_vendorlib}/Time %{_mandir}/man3/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.120.0-2.mga3 + Revision: 374353 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Oct 01 2012 jquelin <jquelin> 1.120.0-1.mga3 + Revision: 301304 - update to 1.12 - mageia rebuild * Thu Jan 13 2011 jquelin <jquelin> 1.110.0-1.mga1 + Revision: 15544 - imported package perl-Time-Format