## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## 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/ %global pkg_name hledger-ui %global pkgver %{pkg_name}-%{version} %{?haskell_setup} Name: %{pkg_name} Version: 1.32.3 Release: %autorelease Summary: Terminal interface for the hledger accounting system License: GPL-3.0-or-later Url: https://hackage.haskell.org/package/%{name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # End cabal-rpm sources # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-ansi-terminal-devel BuildRequires: ghc-async-devel BuildRequires: ghc-base-devel BuildRequires: ghc-brick-devel BuildRequires: ghc-cmdargs-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-data-default-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-doclayout-devel BuildRequires: ghc-extra-devel BuildRequires: ghc-filepath-devel BuildRequires: ghc-fsnotify-devel BuildRequires: ghc-hledger-devel BuildRequires: ghc-hledger-lib-devel BuildRequires: ghc-megaparsec-devel BuildRequires: ghc-microlens-devel BuildRequires: ghc-microlens-platform-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-process-devel BuildRequires: ghc-safe-devel BuildRequires: ghc-split-devel BuildRequires: ghc-text-devel BuildRequires: ghc-text-zipper-devel BuildRequires: ghc-time-devel BuildRequires: ghc-transformers-devel BuildRequires: ghc-unix-devel BuildRequires: ghc-vector-devel BuildRequires: ghc-vty-devel BuildRequires: ghc-vty-crossplatform-devel %if %{with ghc_prof} BuildRequires: ghc-ansi-terminal-prof BuildRequires: ghc-async-prof BuildRequires: ghc-base-prof BuildRequires: ghc-brick-prof BuildRequires: ghc-cmdargs-prof BuildRequires: ghc-containers-prof BuildRequires: ghc-data-default-prof BuildRequires: ghc-directory-prof BuildRequires: ghc-doclayout-prof BuildRequires: ghc-extra-prof BuildRequires: ghc-filepath-prof BuildRequires: ghc-fsnotify-prof BuildRequires: ghc-hledger-prof BuildRequires: ghc-hledger-lib-prof BuildRequires: ghc-megaparsec-prof BuildRequires: ghc-microlens-prof BuildRequires: ghc-microlens-platform-prof BuildRequires: ghc-mtl-prof BuildRequires: ghc-process-prof BuildRequires: ghc-safe-prof BuildRequires: ghc-split-prof BuildRequires: ghc-text-prof BuildRequires: ghc-text-zipper-prof BuildRequires: ghc-time-prof BuildRequires: ghc-transformers-prof BuildRequires: ghc-unix-prof BuildRequires: ghc-vector-prof BuildRequires: ghc-vty-prof BuildRequires: ghc-vty-crossplatform-prof %endif # End cabal-rpm deps %description A simple terminal user interface for the hledger accounting system. It can be a more convenient way to browse your accounts than the CLI. This package currently does not support Microsoft Windows, except in WSL. hledger is a robust, cross-platform set of tools for tracking money, time, or any other commodity, using double-entry accounting and a simple, editable file format, with command-line, terminal and web interfaces. It is a Haskell rewrite of Ledger, and one of the leading implementations of Plain Text Accounting. Read more at: . %package -n ghc-%{name} Summary: Haskell %{name} library %description -n ghc-%{name} This package provides the Haskell %{name} shared library. %package -n ghc-%{name}-devel Summary: Haskell %{name} library development files Provides: ghc-%{name}-static = %{version}-%{release} Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} %endif Requires: ghc-%{name}%{?_isa} = %{version}-%{release} %description -n ghc-%{name}-devel This package provides the Haskell %{name} library development files. %if %{with haddock} %package -n ghc-%{name}-doc Summary: Haskell %{name} library documentation BuildArch: noarch Requires: ghc-filesystem %description -n ghc-%{name}-doc This package provides the Haskell %{name} library documentation. %endif %if %{with ghc_prof} %package -n ghc-%{name}-prof Summary: Haskell %{name} profiling library Requires: ghc-%{name}-devel%{?_isa} = %{version}-%{release} Supplements: (ghc-%{name}-devel and ghc-prof) %description -n ghc-%{name}-prof This package provides the Haskell %{name} profiling library. %endif %prep # Begin cabal-rpm setup: %setup -q # End cabal-rpm setup %build # Begin cabal-rpm build: %ghc_lib_build # End cabal-rpm build %install # Begin cabal-rpm install %ghc_lib_install # End cabal-rpm install %files # Begin cabal-rpm files: %license LICENSE %doc CHANGES.md README.md %{_bindir}/%{name} # End cabal-rpm files %files -n ghc-%{name} -f ghc-%{name}.files # Begin cabal-rpm files: %license LICENSE # End cabal-rpm files %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files %doc CHANGES.md README.md %if %{with haddock} %files -n ghc-%{name}-doc -f ghc-%{name}-doc.files %license LICENSE %endif %if %{with ghc_prof} %files -n ghc-%{name}-prof -f ghc-%{name}-prof.files %endif %changelog ## START: Generated by rpmautospec * Thu Aug 01 2024 Jens Petersen - 1.32.3-1 - https://hackage.haskell.org/package/hledger-ui-1.32.3/changelog * Thu Jul 18 2024 Fedora Release Engineering - 1.30-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jul 16 2024 Jens Petersen - 1.30-4 - refresh to cabal-rpm-2.2.1 * Wed Jan 24 2024 Fedora Release Engineering - 1.30-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 1.30-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jul 23 2023 Jens Petersen - 1.30-1 - https://hackage.haskell.org/package/hledger-ui-1.30/changelog * Thu Jul 20 2023 Fedora Release Engineering - 1.27.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jan 22 2023 Jens Petersen - 1.27.1-1 - https://hackage.haskell.org/package/hledger-ui-1.27.1/changelog - refresh to cabal-rpm-2.1.0 with SPDX migration * Thu Jul 21 2022 Fedora Release Engineering - 1.21-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Jens Petersen - 1.21-4 - rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.21-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Jan 08 2022 Miro HronĨok - 1.21-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 * Thu Aug 5 2021 Jens Petersen - 1.21-1 - update to 1.21 * Thu Aug 5 2021 Jens Petersen - 1.20.4-1 - update to 1.20.4 * Thu Aug 5 2021 Jens Petersen - 1.20.3-1 - update to 1.20.3 * Thu Jul 22 2021 Fedora Release Engineering - 1.18.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.18.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 1.18.1-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.18.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jul 16 2020 Jens Petersen - 1.18.1-1 - update to 1.18.1 * Fri Jun 19 2020 Jens Petersen - 1.18-1 - update to 1.18 * Wed Jun 10 2020 Jens Petersen - 1.16.2-1 - update to 1.16.2 * Tue Mar 3 2020 Fedora Haskell SIG - 1.14.2-1 - spec file generated by cabal-rpm-2.0.4 ## END: Generated by rpmautospec