osc copypac from project:devel:languages:haskell:ghc-9.8.x package:hledger-ui revision:16, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/hledger-ui?expand=0&rev=62
This commit is contained in:
Peter Simons 2024-07-19 12:40:34 +00:00 committed by Git OBS Bridge
commit 9e63a950ad
7 changed files with 732 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

14
_constraints Normal file
View File

@ -0,0 +1,14 @@
<constraints>
<overwrite>
<conditions>
<arch>ppc64</arch>
<arch>ppc64le</arch>
</conditions>
<hardware>
<disk>
<size unit="G">6</size>
</disk>
</hardware>
</overwrite>
</constraints>

3
hledger-ui-1.34.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:714679cda0777c01b336efe3b691db62688ccc69721779db971aa2540d5d0071
size 81018

137
hledger-ui.cabal Normal file
View File

@ -0,0 +1,137 @@
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
name: hledger-ui
version: 1.34
x-revision: 1
synopsis: Terminal interface for the hledger accounting system
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:
<https://hledger.org>
category: Finance, Console
stability: stable
homepage: http://hledger.org
bug-reports: http://bugs.hledger.org
author: Simon Michael <simon@joyful.com>
maintainer: Simon Michael <simon@joyful.com>
license: GPL-3
license-file: LICENSE
build-type: Simple
tested-with:
GHC==8.10.7, GHC==9.0.2, GHC==9.2.8, GHC==9.4.5, GHC==9.6.2
extra-source-files:
CHANGES.md
README.md
hledger-ui.1
hledger-ui.txt
hledger-ui.info
source-repository head
type: git
location: https://github.com/simonmichael/hledger
flag ghcdebug
description: Build with support for attaching a ghc-debug client
manual: True
default: False
flag threaded
description: Build with support for multithreaded execution
manual: False
default: True
library
exposed-modules:
Hledger.UI
Hledger.UI.Main
Hledger.UI.Theme
Hledger.UI.UIOptions
other-modules:
Hledger.UI.AccountsScreen
Hledger.UI.BalancesheetScreen
Hledger.UI.CashScreen
Hledger.UI.Editor
Hledger.UI.ErrorScreen
Hledger.UI.IncomestatementScreen
Hledger.UI.MenuScreen
Hledger.UI.RegisterScreen
Hledger.UI.TransactionScreen
Hledger.UI.UIScreens
Hledger.UI.UIState
Hledger.UI.UITypes
Hledger.UI.UIUtils
Paths_hledger_ui
hs-source-dirs:
./
ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind
cpp-options: -DVERSION="1.34" -DVERSION="1.34"
build-depends:
ansi-terminal >=0.9
, async
, base >=4.14 && <4.20
, brick >=2.1.1 && <2.5
, cmdargs >=0.8
, containers >=0.5.9
, data-default
, directory
, doclayout >=0.3 && <0.5
, extra >=1.6.3
, filepath
, fsnotify ==0.4.*
, githash >=0.1.6.2
, hledger ==1.34.*
, hledger-lib ==1.34.*
, megaparsec >=7.0.0 && <9.7
, microlens >=0.4
, microlens-platform >=0.2.3.1
, mtl >=2.2.1
, process >=1.2
, safe >=0.3.20
, split >=0.1
, text >=1.2.4.1
, text-zipper >=0.4
, time >=1.5
, transformers
, vector
, vty >=6.1 && <6.3
, vty-crossplatform >=0.4.0.0 && <0.5.0.0
default-language: Haskell2010
if (flag(ghcdebug))
cpp-options: -DGHCDEBUG
build-depends:
ghc-debug-stub >=0.6.0.0 && <0.7
if os(windows)
build-depends:
vty-windows >=0.2.0.1 && <0.3.0.0
else
build-depends:
unix
executable hledger-ui
main-is: hledger-ui.hs
other-modules:
Paths_hledger_ui
hs-source-dirs:
app
ghc-options: -Wall -Wno-incomplete-uni-patterns -Wno-missing-signatures -Wno-orphans -Wno-type-defaults -Wno-unused-do-bind
cpp-options: -DVERSION="1.34"
build-depends:
base >=4.14 && <4.20
, hledger-ui
default-language: Haskell2010
if (flag(ghcdebug))
cpp-options: -DGHCDEBUG
build-depends:
ghc-debug-stub >=0.6.0.0 && <0.7
if flag(threaded)
ghc-options: -threaded -with-rtsopts=-T

384
hledger-ui.changes Normal file
View File

@ -0,0 +1,384 @@
-------------------------------------------------------------------
Fri Jul 12 11:55:56 UTC 2024 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.34 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sun Jun 2 00:46:14 UTC 2024 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.34.
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
http://hackage.haskell.org/package/hledger-ui-1.34/src/CHANGES.md
-------------------------------------------------------------------
Sat May 18 02:04:43 UTC 2024 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.33.1 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu May 2 11:03:20 UTC 2024 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.33.1.
Upstream's change log file format is strange (too much unmodified
text at at the top). The automatic updater cannot extract the
relevant additions. You can find the file at:
http://hackage.haskell.org/package/hledger-ui-1.33.1/src/CHANGES.md
-------------------------------------------------------------------
Thu Apr 18 23:38:07 UTC 2024 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.33.
Upstream's change log file format is strange (too much unmodified
text at at the top). The automatic updater cannot extract the
relevant additions. You can find the file at:
http://hackage.haskell.org/package/hledger-ui-1.33/src/CHANGES.md
- Drop obsolete "fix-build-with-ghc-9.8.x.patch".
-------------------------------------------------------------------
Wed Feb 28 16:04:39 UTC 2024 - Peter Simons <psimons@suse.com>
- Apply "fix-build-with-ghc-9.8.x.patch" to fix the build with
base library version 4.19.x.
-------------------------------------------------------------------
Sun Jan 28 12:19:56 UTC 2024 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.32.3.
Upstream's change log file format is strange (too much unmodified
text at at the top). The automatic updater cannot extract the
relevant additions. You can find the file at:
http://hackage.haskell.org/package/hledger-ui-1.32.3/src/CHANGES.md
-------------------------------------------------------------------
Mon Jan 1 01:44:00 UTC 2024 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.32.2.
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
http://hackage.haskell.org/package/hledger-ui-1.32.2/src/CHANGES.md
-------------------------------------------------------------------
Thu Dec 7 21:25:14 UTC 2023 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.32.1.
Upstream's change log file format is strange (too much unmodified
text at at the top). The automatic updater cannot extract the
relevant additions. You can find the file at:
http://hackage.haskell.org/package/hledger-ui-1.32.1/src/CHANGES.md
-------------------------------------------------------------------
Sat Dec 2 05:12:24 UTC 2023 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.32.
- The V key now preserves the valuation mode specified at the
command line, if any. (#2084)
- The hledger-ui package no longer wastefully builds its modules
twice.
-------------------------------------------------------------------
Sun Sep 3 08:16:30 UTC 2023 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.31.
- A "Cash accounts" screen has been added, showing accounts of
the `Cash` type.
- The top-level menu screen is now the default screen. Power
users can use the `--cash`/`--bs`/`--is`/`--all` flags to start
up in another screen.
- "All accounts" screen has been moved to the bottom of the list.
- Screens' help footers have been improved.
- A pager is used to show --help output when needed, as in
`hledger`.
- In the help dialog, mention that LEFT shows other screens.
- In the manual, mention shift-up/down config needed for
Terminal.app.
-------------------------------------------------------------------
Thu Mar 30 17:09:18 UTC 2023 - Peter Simons <psimons@suse.com>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
-------------------------------------------------------------------
Thu Dec 1 17:16:32 UTC 2022 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.28.
Upstream's change log file format is strange (too much unmodified
text at at the top). The automatic updater cannot extract the
relevant additions. You can find the file at:
http://hackage.haskell.org/package/hledger-ui-1.28/src/CHANGES.md
-------------------------------------------------------------------
Sun Sep 18 19:41:58 UTC 2022 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.27.1.
Upstream has not updated the file "CHANGES.md" since the last
release.
-------------------------------------------------------------------
Fri Sep 2 01:32:54 UTC 2022 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.27.
Upstream's change log file format is strange (too much unmodified
text at at the top). The automatic updater cannot extract the
relevant additions. You can find the file at:
http://hackage.haskell.org/package/hledger-ui-1.27/src/CHANGES.md
-------------------------------------------------------------------
Sun Aug 14 16:16:36 UTC 2022 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.26.1 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Mon Jul 11 09:36:25 UTC 2022 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.26.1.
Upstream's change log file format is strange (too much unmodified
text at at the top). The automatic updater cannot extract the
relevant additions. You can find the file at:
http://hackage.haskell.org/package/hledger-ui-1.26.1/src/CHANGES.md
-------------------------------------------------------------------
Fri Jun 10 05:49:36 UTC 2022 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.26 revision 1.
Upstream's change log file format is strange (too much unmodified
text at at the top). The automatic updater cannot extract the
relevant additions. You can find the file at:
http://hackage.haskell.org/package/hledger-ui-1.26/src/CHANGES.md
-------------------------------------------------------------------
Sat Mar 5 06:11:23 UTC 2022 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.25.
Upstream's change log file format is strange (too much unmodified
text at at the top). The automatic updater cannot extract the
relevant additions. You can find the file at:
http://hackage.haskell.org/package/hledger-ui-1.25/src/CHANGES.md
-------------------------------------------------------------------
Fri Dec 10 22:55:52 UTC 2021 - Peter Simons <psimons@suse.com>
- Update hledger-ui to version 1.24.99.
Upstream's change log file format is strange (too much unmodified
text at at the top). The automatic updater cannot extract the
relevant additions. You can find the file at:
http://hackage.haskell.org/package/hledger-ui-1.24.99/src/CHANGES.md
-------------------------------------------------------------------
Thu Oct 7 07:57:11 UTC 2021 - psimons@suse.com
- Update hledger-ui to version 1.23 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Wed Sep 22 08:52:12 UTC 2021 - psimons@suse.com
- Update hledger-ui to version 1.23.
Upstream's change log file format is strange (too much unmodified
text at at the top). The automatic updater cannot extract the
relevant additions. You can find the file at:
http://hackage.haskell.org/package/hledger-ui-1.23/src/CHANGES.md
-------------------------------------------------------------------
Tue Sep 7 18:42:23 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>
- relax constranits on base-compat
-------------------------------------------------------------------
Sun Aug 8 22:07:03 UTC 2021 - psimons@suse.com
- Update hledger-ui to version 1.22.2.
Upstream's change log file format is strange (too much unmodified
text at at the top). The automatic updater cannot extract the
relevant additions. You can find the file at:
http://hackage.haskell.org/package/hledger-ui-1.22.2/src/CHANGES.md
-------------------------------------------------------------------
Wed Aug 4 08:17:15 UTC 2021 - psimons@suse.com
- Update hledger-ui to version 1.22.1.
Upstream's change log file format is strange (too much unmodified
text at at the top). The automatic updater cannot extract the
relevant additions. You can find the file at:
http://hackage.haskell.org/package/hledger-ui-1.22.1/src/CHANGES.md
-------------------------------------------------------------------
Mon Jul 19 07:05:21 UTC 2021 - psimons@suse.com
- Update hledger-ui to version 1.22 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Sat Jul 10 13:41:54 UTC 2021 - psimons@suse.com
- Update hledger-ui to version 1.22.
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
http://hackage.haskell.org/package/hledger-ui-1.22/src/CHANGES.md
-------------------------------------------------------------------
Thu Mar 11 08:22:41 UTC 2021 - psimons@suse.com
- Update hledger-ui to version 1.21.
# 1.21 2021-03-10
- Register screen: also show transactions below the depth limit, as in
1.19, keeping the register balance in agreement with the balance
shown on the accounts screen. This regressed in 1.20. (#1468)
- Transaction screen: all decimal places are now shown. On the
accounts screen and register screen we round amounts according to
commodity display styles, but when you drill down to a transaction
you probably want to see the unrounded amounts. (Like print, #cf
931.)
- New flags `--man` and `--info` open the man page or info manual.
(See hledger changelog)
-------------------------------------------------------------------
Sun Jan 31 13:49:24 UTC 2021 - psimons@suse.com
- Update hledger-ui to version 1.20.4.
# 1.20.4 2021-01-29
- ui: register: show all txns in/under an account at the depth limit (#1468).
In 1.20-1.20.3, the register screen had stopped showing transactions
in accounts below a depth limit. Now it properly shows all subaccount transactions,
even when there is a depth limit, ensuring that the register's final total
matches the balance shown on the account screen.
-------------------------------------------------------------------
Fri Jan 15 08:54:40 UTC 2021 - psimons@suse.com
- Update hledger-ui to version 1.20.3.
# 1.20.3 2021-01-14
- Use hledger 1.20.3.
-------------------------------------------------------------------
Tue Dec 29 21:17:28 UTC 2020 - psimons@suse.com
- Update hledger-ui to version 1.20.2.
# 1.20.2 2020-12-28
- Fix loss of capitalisation in part of the manual.
- Fix the info manual's node structure.
- Use hledger 1.20.2.
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
-------------------------------------------------------------------
Wed Dec 16 17:26:00 UTC 2020 - psimons@suse.com
- Update hledger-ui to version 1.20.1.
# 1.20.1 2020-12-15
- Fix the F key (toggle future/forecast transactions), which in 1.20
would only work twice. (#1411)
- Fix loss of forecasted transactions when the journal was reloaded
while they were hidden. (#1204)
-------------------------------------------------------------------
Sun Dec 6 13:36:35 UTC 2020 - psimons@suse.com
- Update hledger-ui to version 1.20.
# 1.20 2020-12-05
- When entering a query with `/`, malformed queries/regular expressions
no longer cause the program to exit. (Stephen Morgan)
- Eliding of multicommodity amounts now makes better use of available space. (Stephen Morgan)
- `E` now parses the `HLEDGER_UI_EDITOR` or `EDITOR` environment variable
correctly on Windows (ignoring the file extension), so if you have that set
it should be better at opening your editor at the correct line.
- `E` now supports positioning when `HLEDGER_UI_EDITOR` or `EDITOR`
is VS Code ("`code`") (#1359)
- hledger-ui now has a (human-powered) test suite.
-------------------------------------------------------------------
Tue Sep 8 02:00:43 UTC 2020 - psimons@suse.com
- Update hledger-ui to version 1.19.1.
# 1.19.1 2020-09-07
- Allow megaparsec 9
-------------------------------------------------------------------
Thu Sep 3 02:00:59 UTC 2020 - psimons@suse.com
- Update hledger-ui to version 1.19.
# 1.19 2020-09-01
- The --color/--colour=WHEN command line option, support for the
NO_COLOR environment variable, and smarter autodetection of colour
terminals have been added (#1296)
- -t and -l command line flags have been added as short forms of
--tree and --flat (#1286)
- Flat (AKA list) mode is now the default
- t now toggles tree mode, while T sets the "today" period (#1286)
- register: multicommodity amounts containing more than two
commodities are now elided
- register: a transaction dated outside the report period now is not
shown even if it has postings dated inside the report period.
- ESC now restores exactly the app's state at startup, which includes
clearing any report period limit (#1286)
- DEL/BS no longer changes the tree/list mode
- q now exits help before exiting the app (#1286)
- The help dialog's layout is improved
-------------------------------------------------------------------
Wed Aug 19 07:44:33 UTC 2020 - Michel Normand <normand@linux.vnet.ibm.com>
- Add _constraints with 6GB min disk space for ppc64/ppc64le
-------------------------------------------------------------------
Tue Aug 18 10:46:52 UTC 2020 - Peter Simons <psimons@suse.com>
- Replace %setup -q with the more modern %autosetup macro.
-------------------------------------------------------------------
Mon Jun 22 02:00:23 UTC 2020 - psimons@suse.com
- Update hledger-ui to version 1.18.1.
# 1.18.1 2020-06-21
- Fix regression in 'F' (#1255) (Dmitry Astapov)
-------------------------------------------------------------------
Tue Jun 9 09:26:37 UTC 2020 - psimons@suse.com
- Add hledger-ui at version 1.18.

170
hledger-ui.spec Normal file
View File

@ -0,0 +1,170 @@
#
# spec file for package hledger-ui
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global pkg_name hledger-ui
%global pkgver %{pkg_name}-%{version}
Name: %{pkg_name}
Version: 1.34
Release: 0
Summary: Terminal interface for the hledger accounting system
License: GPL-3.0-or-later
URL: https://hackage.haskell.org/package/%{name}
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal
BuildRequires: chrpath
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-ansi-terminal-devel
BuildRequires: ghc-ansi-terminal-prof
BuildRequires: ghc-async-devel
BuildRequires: ghc-async-prof
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-brick-devel
BuildRequires: ghc-brick-prof
BuildRequires: ghc-cmdargs-devel
BuildRequires: ghc-cmdargs-prof
BuildRequires: ghc-containers-devel
BuildRequires: ghc-containers-prof
BuildRequires: ghc-data-default-devel
BuildRequires: ghc-data-default-prof
BuildRequires: ghc-directory-devel
BuildRequires: ghc-directory-prof
BuildRequires: ghc-doclayout-devel
BuildRequires: ghc-doclayout-prof
BuildRequires: ghc-extra-devel
BuildRequires: ghc-extra-prof
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-fsnotify-devel
BuildRequires: ghc-fsnotify-prof
BuildRequires: ghc-githash-devel
BuildRequires: ghc-githash-prof
BuildRequires: ghc-hledger-devel
BuildRequires: ghc-hledger-lib-devel
BuildRequires: ghc-hledger-lib-prof
BuildRequires: ghc-hledger-prof
BuildRequires: ghc-megaparsec-devel
BuildRequires: ghc-megaparsec-prof
BuildRequires: ghc-microlens-devel
BuildRequires: ghc-microlens-platform-devel
BuildRequires: ghc-microlens-platform-prof
BuildRequires: ghc-microlens-prof
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-process-devel
BuildRequires: ghc-process-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-safe-devel
BuildRequires: ghc-safe-prof
BuildRequires: ghc-split-devel
BuildRequires: ghc-split-prof
BuildRequires: ghc-text-devel
BuildRequires: ghc-text-prof
BuildRequires: ghc-text-zipper-devel
BuildRequires: ghc-text-zipper-prof
BuildRequires: ghc-time-devel
BuildRequires: ghc-time-prof
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-unix-devel
BuildRequires: ghc-unix-prof
BuildRequires: ghc-vector-devel
BuildRequires: ghc-vector-prof
BuildRequires: ghc-vty-crossplatform-devel
BuildRequires: ghc-vty-crossplatform-prof
BuildRequires: ghc-vty-devel
BuildRequires: ghc-vty-prof
ExcludeArch: %{ix86}
%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: <https://hledger.org>.
%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
Requires: ghc-%{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
%description -n ghc-%{name}-devel
This package provides the Haskell %{name} library development files.
%package -n ghc-%{pkg_name}-doc
Summary: Haskell %{pkg_name} library documentation
Requires: ghc-filesystem
BuildArch: noarch
%description -n ghc-%{pkg_name}-doc
This package provides the Haskell %{pkg_name} library documentation.
%package -n ghc-%{pkg_name}-prof
Summary: Haskell %{pkg_name} profiling library
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
%description -n ghc-%{pkg_name}-prof
This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup
cp -p %{SOURCE1} %{name}.cabal
%build
%ghc_lib_build
%install
%ghc_lib_install
%ghc_fix_rpath %{pkg_name}-%{version}
%post -n ghc-%{name}-devel
%ghc_pkg_recache
%postun -n ghc-%{name}-devel
%ghc_pkg_recache
%files
%license LICENSE
%doc CHANGES.md README.md
%{_bindir}/%{name}
%files -n ghc-%{name} -f ghc-%{name}.files
%license LICENSE
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
%doc CHANGES.md README.md
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
%license LICENSE
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
%changelog