|
|
ac2ded9 |
# generated by cabal-rpm-2.0.6
|
|
|
9cc31df |
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
|
|
6549ea7 |
|
|
|
6549ea7 |
Name: bench
|
|
|
3ed0221 |
Version: 1.0.12
|
|
|
1cad49b |
Release: 10%{?dist}
|
|
|
6549ea7 |
Summary: Command-line benchmark tool
|
|
|
6549ea7 |
|
|
|
6549ea7 |
License: BSD
|
|
|
6549ea7 |
Url: https://hackage.haskell.org/package/%{name}
|
|
|
baae93e |
# Begin cabal-rpm sources:
|
|
|
6549ea7 |
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
|
|
831017b |
Source1: https://hackage.haskell.org/package/%{name}-%{version}/%{name}.cabal#/%{name}-%{version}.cabal
|
|
|
baae93e |
# End cabal-rpm sources
|
|
|
6549ea7 |
|
|
|
baae93e |
# Begin cabal-rpm deps:
|
|
|
6549ea7 |
BuildRequires: ghc-Cabal-devel
|
|
|
6549ea7 |
BuildRequires: ghc-rpm-macros
|
|
|
51ed8cf |
BuildRequires: ghc-base-static
|
|
|
51ed8cf |
BuildRequires: ghc-criterion-static
|
|
|
51ed8cf |
BuildRequires: ghc-optparse-applicative-static
|
|
|
51ed8cf |
BuildRequires: ghc-process-static
|
|
|
51ed8cf |
BuildRequires: ghc-silently-static
|
|
|
51ed8cf |
BuildRequires: ghc-text-static
|
|
|
51ed8cf |
BuildRequires: ghc-turtle-static
|
|
|
6549ea7 |
# End cabal-rpm deps
|
|
|
6549ea7 |
|
|
|
6549ea7 |
%description
|
|
|
6549ea7 |
Think of this as a more powerful alternative to the 'time' command.
|
|
|
6549ea7 |
Use this command-line tool to benchmark a command using Haskell's 'criterion'
|
|
|
6549ea7 |
library.
|
|
|
6549ea7 |
|
|
|
6549ea7 |
|
|
|
6549ea7 |
%prep
|
|
|
baae93e |
# Begin cabal-rpm setup:
|
|
|
6549ea7 |
%setup -q
|
|
|
831017b |
cp -bp %{SOURCE1} %{name}.cabal
|
|
|
baae93e |
# End cabal-rpm setup
|
|
|
6549ea7 |
|
|
|
6549ea7 |
|
|
|
6549ea7 |
%build
|
|
|
baae93e |
# Begin cabal-rpm build:
|
|
|
6549ea7 |
%ghc_bin_build
|
|
|
baae93e |
# End cabal-rpm build
|
|
|
6549ea7 |
|
|
|
6549ea7 |
|
|
|
6549ea7 |
%install
|
|
|
baae93e |
# Begin cabal-rpm install
|
|
|
6549ea7 |
%ghc_bin_install
|
|
|
baae93e |
# End cabal-rpm install
|
|
|
6549ea7 |
|
|
|
1cad49b |
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
|
|
|
1cad49b |
dist/build/%{name}/%{name} --bash-completion-script %{name} > %{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
|
|
1cad49b |
|
|
|
6549ea7 |
|
|
|
6549ea7 |
%files
|
|
|
baae93e |
# Begin cabal-rpm files:
|
|
|
6549ea7 |
%license LICENSE
|
|
|
6549ea7 |
%doc README.md
|
|
|
6549ea7 |
%{_bindir}/%{name}
|
|
|
baae93e |
# End cabal-rpm files
|
|
|
1cad49b |
%{_datadir}/bash-completion/completions/%{name}
|
|
|
6549ea7 |
|
|
|
6549ea7 |
|
|
|
6549ea7 |
%changelog
|
|
|
1cad49b |
* Sun Aug 9 2020 Jens Petersen <petersen@redhat.com> - 1.0.12-10
|
|
|
1cad49b |
- add bash completion
|
|
|
1cad49b |
|
|
|
02b050b |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-9
|
|
|
02b050b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
02b050b |
|
|
|
c5e019e |
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 1.0.12-8
|
|
|
c5e019e |
- refresh to cabal-rpm-2.0.6
|
|
|
c5e019e |
|
|
|
a2df190 |
* Thu Feb 20 2020 Jens Petersen <petersen@redhat.com> - 1.0.12-7
|
|
|
a2df190 |
- refresh to cabal-rpm-2.0.2
|
|
|
a2df190 |
|
|
|
137b2ef |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-6
|
|
|
137b2ef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
137b2ef |
|
|
|
fc3ddfa |
* Thu Aug 01 2019 Jens Petersen <petersen@redhat.com> - 1.0.12-5
|
|
|
fc3ddfa |
- rebuild
|
|
|
fc3ddfa |
|
|
|
aa37e78 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-4
|
|
|
aa37e78 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
aa37e78 |
|
|
|
baae93e |
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 1.0.12-3
|
|
|
baae93e |
- refresh to cabal-rpm-0.13
|
|
|
baae93e |
|
|
|
7c4e507 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-2
|
|
|
7c4e507 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
7c4e507 |
|
|
|
3ed0221 |
* Wed Aug 29 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.12-1
|
|
|
3ed0221 |
- update to 1.0.12
|
|
|
3ed0221 |
|
|
|
70efbb5 |
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 1.0.9-3
|
|
|
70efbb5 |
- rebuild
|
|
|
70efbb5 |
|
|
|
46b17e0 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-2
|
|
|
46b17e0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
46b17e0 |
|
|
|
c75e565 |
* Tue Jun 05 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.9-1
|
|
|
c75e565 |
- update to 1.0.9
|
|
|
c75e565 |
|
|
|
b800af8 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-2
|
|
|
b800af8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
b800af8 |
|
|
|
d3a3912 |
* Fri Feb 02 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.8-1
|
|
|
d3a3912 |
- Update to latest version.
|
|
|
d3a3912 |
|
|
|
d01de28 |
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 1.0.7-3
|
|
|
d01de28 |
- rebuild
|
|
|
d01de28 |
|
|
|
3fd270b |
* Tue Dec 19 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.7-2
|
|
|
3fd270b |
- Rebuild against new ghc-turtle.
|
|
|
3fd270b |
|
|
|
6549ea7 |
* Fri Dec 15 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.0.7-1
|
|
|
6549ea7 |
- Update to latest version.
|
|
|
6549ea7 |
|
|
|
6549ea7 |
* Sat Nov 18 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.0.6-1
|
|
|
6549ea7 |
- spec file generated by cabal-rpm-0.11.2
|