Initial import (#1526675).

This commit is contained in:
Elliott Sales de Andrade 2017-12-18 15:16:13 -05:00
parent af0b399173
commit 6549ea7548
4 changed files with 55 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/bench-1.0.7.tar.gz

View File

@ -1,3 +0,0 @@
# bench
The bench package

53
bench.spec Normal file
View File

@ -0,0 +1,53 @@
# generated by cabal-rpm-0.11.2
# https://fedoraproject.org/wiki/Packaging:Haskell
Name: bench
Version: 1.0.7
Release: 1%{?dist}
Summary: Command-line benchmark tool
License: BSD
Url: https://hackage.haskell.org/package/%{name}
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-criterion-devel
BuildRequires: ghc-optparse-applicative-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-silently-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-turtle-devel
# End cabal-rpm deps
%description
Think of this as a more powerful alternative to the 'time' command.
Use this command-line tool to benchmark a command using Haskell's 'criterion'
library.
%prep
%setup -q
%build
%ghc_bin_build
%install
%ghc_bin_install
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%changelog
* Fri Dec 15 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.7-1
- Update to latest version.
* Sat Nov 18 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.0.6-1
- spec file generated by cabal-rpm-0.11.2

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (bench-1.0.7.tar.gz) = 814d5628ba5e028adc4e39d961dcd1d2159eb174a0ecd62ccf3a4744ee8eca9df4bbbb8fe9e8a53d75bb25c3894ffa738082e083445653973616bcc64791e184