## START: Set by rpmautospec ## (rpmautospec version 0.6.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # generated by cabal-rpm-2.2.1 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ Name: bench Version: 1.0.13 Release: %autorelease Summary: Command-line benchmark tool License: BSD-3-Clause Url: https://hackage.haskell.org/package/%{name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz # End cabal-rpm sources # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-devel 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 BuildRequires: help2man # 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 # Begin cabal-rpm setup: %setup -q # End cabal-rpm setup %build # Begin cabal-rpm build: %ghc_bin_build # End cabal-rpm build %install # Begin cabal-rpm install %ghc_bin_install set noclobber mkdir -p %{buildroot}%{bash_completions_dir} %{buildroot}%{_bindir}/%{name} --bash-completion-script %{name} | sed s/filenames/default/ > %{buildroot}%{bash_completions_dir}/%{name} mkdir -p %{buildroot}%{_mandir}/man1/ help2man --no-info %{buildroot}%{_bindir}/%{name} > %{buildroot}%{_mandir}/man1/%{name}.1 # End cabal-rpm install %files # Begin cabal-rpm files: %license LICENSE %doc README.md %{_bindir}/%{name} %{bash_completions_dir}/%{name} %{_mandir}/man1/%{name}.1* # End cabal-rpm files %changelog ## START: Generated by rpmautospec * Sun Jul 21 2024 Jens Petersen - 1.0.13-1 - https://hackage.haskell.org/package/bench-1.0.13/changelog * Wed Jul 17 2024 Fedora Release Engineering - 1.0.12-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jul 14 2024 Jens Petersen - 1.0.12-35 - refresh to cabal-rpm-2.2.1 * Tue Jan 23 2024 Fedora Release Engineering - 1.0.12-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.0.12-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 29 2023 Jens Petersen - 1.0.12-32 - bump release * Wed Jul 19 2023 Fedora Release Engineering - 1.0.12-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Feb 16 2023 Jens Petersen - 1.0.12-18 - refresh to cabal-rpm-2.1.0 with SPDX migration * Wed Jul 20 2022 Fedora Release Engineering - 1.0.12-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Jens Petersen - 1.0.12-16 - rebuild * Wed Jan 19 2022 Fedora Release Engineering - 1.0.12-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Jan 08 2022 Miro HronĨok - 1.0.12-14 - Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 * Fri Aug 06 2021 Jens Petersen - 1.0.12-13 - rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.0.12-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.0.12-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Aug 9 2020 Jens Petersen - 1.0.12-10 - add bash completion * Mon Jul 27 2020 Fedora Release Engineering - 1.0.12-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 17 2020 Jens Petersen - 1.0.12-8 - refresh to cabal-rpm-2.0.6 * Thu Feb 20 2020 Jens Petersen - 1.0.12-7 - refresh to cabal-rpm-2.0.2 * Tue Jan 28 2020 Fedora Release Engineering - 1.0.12-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Aug 01 2019 Jens Petersen - 1.0.12-5 - rebuild * Wed Jul 24 2019 Fedora Release Engineering - 1.0.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 17 2019 Jens Petersen - 1.0.12-3 - refresh to cabal-rpm-0.13 * Thu Jan 31 2019 Fedora Release Engineering - 1.0.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Aug 29 2018 Elliott Sales de Andrade - 1.0.12-1 - update to 1.0.12 * Sat Jul 28 2018 Jens Petersen - 1.0.9-3 - rebuild * Thu Jul 12 2018 Fedora Release Engineering - 1.0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 05 2018 Elliott Sales de Andrade - 1.0.9-1 - update to 1.0.9 * Wed Feb 07 2018 Fedora Release Engineering - 1.0.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Feb 02 2018 Elliott Sales de Andrade - 1.0.8-1 - Update to latest version. * Fri Jan 26 2018 Jens Petersen - 1.0.7-3 - rebuild * Tue Dec 19 2017 Elliott Sales de Andrade - 1.0.7-2 - Rebuild against new ghc-turtle. * Fri Dec 15 2017 Elliott Sales de Andrade - 1.0.7-1 - Update to latest version. * Sat Nov 18 2017 Fedora Haskell SIG - 1.0.6-1 - spec file generated by cabal-rpm-0.11.2 ## END: Generated by rpmautospec