|
|
4548232 |
# SOOT support is optional
|
|
|
c192db3 |
%bcond_with perl_Dumbbench_enables_SOOT
|
|
|
36c4b9b |
|
|
|
36c4b9b |
Name: perl-Dumbbench
|
|
|
c192db3 |
Version: 0.111
|
|
|
7f439cc |
Release: 11%{?dist}
|
|
|
36c4b9b |
Summary: More reliable bench-marking with the least amount of thinking
|
|
|
f7435b3 |
# The LICENSE file quoting Artistic 2.0 cannot cover lib files that refer
|
|
|
f7435b3 |
# to perl 5.
|
|
|
f7435b3 |
License: (GPL+ or Artistic) and (Artistic 2.0)
|
|
|
e3ac621 |
URL: https://metacpan.org/release/Dumbbench
|
|
|
e3ac621 |
Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Dumbbench-%{version}.tar.gz
|
|
|
36c4b9b |
BuildArch: noarch
|
|
|
f7435b3 |
BuildRequires: make
|
|
|
915de0a |
BuildRequires: perl-interpreter
|
|
|
63580ee |
BuildRequires: perl-generators
|
|
|
c192db3 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
f7435b3 |
BuildRequires: perl(File::Spec)
|
|
|
f7435b3 |
BuildRequires: perl(File::Spec::Functions)
|
|
|
f7435b3 |
BuildRequires: perl(strict)
|
|
|
f7435b3 |
BuildRequires: perl(warnings)
|
|
|
36c4b9b |
# Run-time:
|
|
|
f7435b3 |
# bash for /usr/bin/sh executed by sudo, not used at tests
|
|
|
c192db3 |
# bin/dumbbench requires Capture::Tiny only if SOOT is available
|
|
|
c192db3 |
%if %{with perl_Dumbbench_enables_SOOT}
|
|
|
c192db3 |
BuildRequires: perl(Capture::Tiny)
|
|
|
c192db3 |
%endif
|
|
|
36c4b9b |
BuildRequires: perl(Carp)
|
|
|
36c4b9b |
BuildRequires: perl(Class::XSAccessor) >= 1.05
|
|
|
36c4b9b |
BuildRequires: perl(constant)
|
|
|
f7435b3 |
# Devel::CheckOS not used at tests
|
|
|
36c4b9b |
BuildRequires: perl(Exporter)
|
|
|
f7435b3 |
# Getopt::Long not used at tests
|
|
|
36c4b9b |
BuildRequires: perl(List::Util)
|
|
|
36c4b9b |
BuildRequires: perl(Number::WithError) >= 1.00
|
|
|
36c4b9b |
BuildRequires: perl(Params::Util)
|
|
|
36c4b9b |
BuildRequires: perl(parent)
|
|
|
36c4b9b |
# SOOT is optional
|
|
|
f7435b3 |
# sudo not used at tests
|
|
|
36c4b9b |
BuildRequires: perl(Statistics::CaseResampling) >= 0.06
|
|
|
36c4b9b |
BuildRequires: perl(Time::HiRes)
|
|
|
36c4b9b |
# Tests:
|
|
|
c192db3 |
# Code from ./simulator is neither executed nor installed
|
|
|
d7a71c2 |
BuildRequires: perl(Capture::Tiny)
|
|
|
36c4b9b |
BuildRequires: perl(Test::More)
|
|
|
f7435b3 |
# bash for /usr/bin/sh executed by sudo, not used at tests
|
|
|
f7435b3 |
Requires: bash
|
|
|
36c4b9b |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
f7435b3 |
# bin/dumbbench requires Capture::Tiny only if SOOT is available
|
|
|
c192db3 |
%if %{with perl_Dumbbench_enables_SOOT}
|
|
|
f7435b3 |
Requires: perl(Capture::Tiny)
|
|
|
f7435b3 |
%endif
|
|
|
36c4b9b |
Requires: perl(Class::XSAccessor) >= 1.05
|
|
|
36c4b9b |
Requires: perl(Number::WithError) >= 1.00
|
|
|
36c4b9b |
Requires: perl(Statistics::CaseResampling) >= 0.06
|
|
|
f7435b3 |
Requires: sudo
|
|
|
36c4b9b |
|
|
|
36c4b9b |
# Remove under-specified dependencies
|
|
|
36c4b9b |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Class::XSAccessor|Number::WithError|Statistics::CaseResampling)\\)$
|
|
|
36c4b9b |
|
|
|
36c4b9b |
%description
|
|
|
36c4b9b |
Dumbbench is a fancier benchmark module for Perl. It times the runs of code,
|
|
|
36c4b9b |
does some statistical analysis to discard outliers, and prints the results.
|
|
|
36c4b9b |
|
|
|
c192db3 |
%if %{with perl_Dumbbench_enables_SOOT}
|
|
|
36c4b9b |
%package BoxPlot
|
|
|
36c4b9b |
Summary: Dumbbench visualization using ROOT
|
|
|
a45f397 |
# This package run-requires perl-SOOT which isn't available on ARM, bug #1139141
|
|
|
a45f397 |
ExclusiveArch: %{ix86} x86_64 noarch
|
|
|
4548232 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
36c4b9b |
|
|
|
36c4b9b |
%description BoxPlot
|
|
|
36c4b9b |
Dumbbench::BoxPlot module provides a way how to plot a Dumbbench timing using
|
|
|
36c4b9b |
ROOT toolkit.
|
|
|
36c4b9b |
%endif
|
|
|
36c4b9b |
|
|
|
36c4b9b |
%prep
|
|
|
36c4b9b |
%setup -q -n Dumbbench-%{version}
|
|
|
36c4b9b |
|
|
|
36c4b9b |
%build
|
|
|
c192db3 |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
36c4b9b |
make %{?_smp_mflags}
|
|
|
36c4b9b |
|
|
|
36c4b9b |
%install
|
|
|
36c4b9b |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
36c4b9b |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
36c4b9b |
|
|
|
36c4b9b |
%check
|
|
|
36c4b9b |
make test
|
|
|
36c4b9b |
|
|
|
36c4b9b |
%files
|
|
|
f7435b3 |
%license LICENSE
|
|
|
f7435b3 |
%doc Changes README.pod
|
|
|
36c4b9b |
%{_bindir}/*
|
|
|
36c4b9b |
%{perl_vendorlib}/*
|
|
|
36c4b9b |
%exclude %{perl_vendorlib}/Dumbbench/BoxPlot.pm
|
|
|
36c4b9b |
%{_mandir}/man3/*
|
|
|
36c4b9b |
|
|
|
c192db3 |
%if %{with perl_Dumbbench_enables_SOOT}
|
|
|
36c4b9b |
%files BoxPlot
|
|
|
36c4b9b |
%doc r
|
|
|
36c4b9b |
%{perl_vendorlib}/Dumbbench/BoxPlot.pm
|
|
|
36c4b9b |
%endif
|
|
|
36c4b9b |
|
|
|
36c4b9b |
%changelog
|
|
|
7f439cc |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.111-11
|
|
|
7f439cc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
7f439cc |
|
|
|
8d6e476 |
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.111-10
|
|
|
8d6e476 |
- Perl 5.32 rebuild
|
|
|
8d6e476 |
|
|
|
340f272 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.111-9
|
|
|
340f272 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
340f272 |
|
|
|
4be6510 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.111-8
|
|
|
4be6510 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
4be6510 |
|
|
|
fa51cee |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.111-7
|
|
|
fa51cee |
- Perl 5.30 rebuild
|
|
|
fa51cee |
|
|
|
c9cbcc1 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.111-6
|
|
|
c9cbcc1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
c9cbcc1 |
|
|
|
6cff5a5 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.111-5
|
|
|
6cff5a5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
6cff5a5 |
|
|
|
f3aafa3 |
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.111-4
|
|
|
f3aafa3 |
- Perl 5.28 rebuild
|
|
|
f3aafa3 |
|
|
|
5921e30 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.111-3
|
|
|
5921e30 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
5921e30 |
|
|
|
acfb2c0 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.111-2
|
|
|
acfb2c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
acfb2c0 |
|
|
|
c192db3 |
* Mon Jun 19 2017 Petr Pisar <ppisar@redhat.com> - 0.111-1
|
|
|
c192db3 |
- 0.111 bump
|
|
|
c192db3 |
|
|
|
5e74da7 |
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-6
|
|
|
5e74da7 |
- Perl 5.26 rebuild
|
|
|
5e74da7 |
|
|
|
b7a3419 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-5
|
|
|
b7a3419 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
b7a3419 |
|
|
|
59757f8 |
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-4
|
|
|
59757f8 |
- Perl 5.24 rebuild
|
|
|
59757f8 |
|
|
|
63580ee |
* Mon May 09 2016 Petr Pisar <ppisar@redhat.com> - 0.10-3
|
|
|
63580ee |
- Disable SOOT support (bug #1326236)
|
|
|
63580ee |
|
|
|
1933169 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-2
|
|
|
1933169 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
1933169 |
|
|
|
f7435b3 |
* Mon Jan 04 2016 Petr Pisar <ppisar@redhat.com> - 0.10-1
|
|
|
f7435b3 |
- 0.10 bump
|
|
|
f7435b3 |
- License changed to (GPL+ or Artistic) and (Artistic 2.0)
|
|
|
f7435b3 |
|
|
|
82d91bb |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-6
|
|
|
82d91bb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
82d91bb |
|
|
|
95a8180 |
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-5
|
|
|
95a8180 |
- Perl 5.22 rebuild
|
|
|
95a8180 |
|
|
|
7d7c819 |
* Tue Sep 09 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-4
|
|
|
7d7c819 |
- Perl 5.20 mass
|
|
|
7d7c819 |
|
|
|
a45f397 |
* Mon Sep 08 2014 Petr Pisar <ppisar@redhat.com> - 0.09-3
|
|
|
a45f397 |
- Disable perl-Dumbbench-BoxPlot subpackage on ARM (bug #1139141)
|
|
|
a45f397 |
|
|
|
177d042 |
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-2
|
|
|
177d042 |
- Perl 5.20 rebuild
|
|
|
177d042 |
|
|
|
36c4b9b |
* Tue May 14 2013 Petr Pisar <ppisar@redhat.com> 0.09-1
|
|
|
36c4b9b |
- Specfile autogenerated by cpanspec 1.78.
|
|
|
4548232 |
- Enable SOOT (Perl binding for ROOT) support
|