Name: perl-Time-HiRes Version: 1.9719 Release: 1%{?dist} Summary: High resolution alarm, sleep, gettimeofday, interval timers #in README: #All rights reserved. This program is free software; you can #redistribute it and/or modify it under the same terms as Perl itself. License: (GPL+ or Artistic) and (GPLv2+ or Artistic) Group: Development/Libraries URL: http://search.cpan.org/dist/Time-HiRes/ Source0: http://www.cpan.org/authors/id/J/JH/JHI/Time-HiRes-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %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 "EXAMPLES" 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. %prep %setup -q -n Time-HiRes-%{version} %build %{__perl} Makefile.PL installdirs=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README TODO %{perl_vendorarch}/auto/* %{perl_vendorarch}/Time* %{_mandir}/man3/* %changelog * Tue May 12 2009 Michal Ingeli 1.9719-1 - Specfile autogenerated by cpanspec 1.77.