Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 142ac2696e3de4e38597d6d1e78c08e6 > files > 2

perl-Time-HiRes-1.972.500-3.mga3.src.rpm

%define upstream_name    Time-HiRes
%define upstream_version 1.9725

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 3
Epoch:      1

Summary:    High resolution time, sleep, and alarm
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/Time/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More) >= 0.820.0
BuildRequires: perl(strict)
BuildRequires: perl-devel
%description
The 'Time::HiRes' module implements a Perl interface to the 'usleep',
'nanosleep', 'ualarm', 'gettimeofday', and 'setitimer'/'getitimer' system
calls, in other words, high resolution time and timers. See the the
/EXAMPLES manpage section below and the test scripts for usage; see your
system documentation for the description of the underlying 'nanosleep' or
'usleep', 'ualarm', 'gettimeofday', and 'setitimer'/'getitimer' calls.

If your system lacks 'gettimeofday()' or an emulation of it you don't get
'gettimeofday()' or the one-argument form of 'tv_interval()'. If your
system lacks all of 'nanosleep()', 'usleep()', 'select()', and 'poll', you
don't get 'Time::HiRes::usleep()', 'Time::HiRes::nanosleep()', or
'Time::HiRes::sleep()'. If your system lacks both 'ualarm()' and
'setitimer()' you don't get 'Time::HiRes::ualarm()' or
'Time::HiRes::alarm()'.

If you try to import an unimplemented function in the 'use' statement it
will fail at compile time.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

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

%check
make test

%install
%makeinstall_std

%files
%doc Changes META.json META.yml MYMETA.yml README TODO
%{_mandir}/man3/*
%perl_vendorlib/*

%changelog

* Sun Jan 13 2013 umeabot <umeabot> 1:1.972.500-3.mga3
+ Revision: 374354
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Wed May 30 2012 jquelin <jquelin> 1:1.972.500-2.mga3
+ Revision: 251256
- rebuild for perl 5.16

* Tue Mar 06 2012 jquelin <jquelin> 1:1.972.500-1.mga2
+ Revision: 219818
- update to 1.9725

* Fri Nov 04 2011 jquelin <jquelin> 1:1.972.400-2.mga2
+ Revision: 162844
- take priority over module bundled with perl 5.14.2

* Wed Jun 22 2011 jquelin <jquelin> 1:1.972.400-1.mga2
+ Revision: 112083
- update to 1.9724

* Sat Jun 11 2011 sander85 <sander85> 1:1.972.100-6.mga2
+ Revision: 103767
- perl 5.14

* Fri Feb 18 2011 jquelin <jquelin> 1:1.972.100-5.mga1
+ Revision: 53665
- rebuild

* Sat Jan 22 2011 jquelin <jquelin> 1:1.972.100-4.mga1
+ Revision: 31365
- mageia rebuild
- imported package perl-Time-HiRes