commit 62986b3e2c4bfe28ce13a97a807264b6ddc4eee0 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Mon Apr 29 16:24:46 2013 +0200 Increase release number to superseed perl.spec's sub-package .gitignore | 1 + perl-Time-HiRes.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 62 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..4257d03 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Time-HiRes-1.9725.tar.gz diff --git a/perl-Time-HiRes.spec b/perl-Time-HiRes.spec new file mode 100644 index 0000000..e1f8f3a --- /dev/null +++ b/perl-Time-HiRes.spec @@ -0,0 +1,60 @@ +Name: perl-Time-HiRes +Version: 1.9725 +Release: 272%{?dist} +Summary: High resolution alarm, sleep, gettimeofday, interval timers +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Time-HiRes/ +Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Time-HiRes-%{version}.tar.gz +BuildRequires: perl +BuildRequires: perl(Config) +BuildRequires: perl(ExtUtils::Constant) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(strict) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(DynaLoader) +BuildRequires: perl(Exporter) +# Tests: +BuildRequires: perl(Test::More) >= 0.82 +# Optional tests: +BuildRequires: perl(POSIX) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) + +%{?perl_default_filter} + +%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. + +%prep +%setup -q -n Time-HiRes-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README TODO +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Time* +%{_mandir}/man3/* + +%changelog +* Mon Apr 29 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 1.9725-272 +- Increase release number to superseed perl.spec's sub-package + +* Fri Apr 26 2013 Petr Pisar <ppisar@xxxxxxxxxx> 1.9725-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..4d8f390 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +cb1108c076d26f3d2fed0bb91313135a Time-HiRes-1.9725.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel