Compare commits

..

54 Commits
f25 ... rawhide

Author SHA1 Message Date
Jens Petersen
4e645e70d1 update to 1.27.1
refresh to cabal-rpm-2.1.0 with SPDX migration
2023-01-25 00:11:59 +08:00
Fedora Release Engineering
ba4962cc0d Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 13:41:02 +00:00
Jens Petersen
5d45e2d6ce bump release 2022-06-18 01:34:30 +08:00
Fedora Release Engineering
b405c7fc75 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 12:22:51 +00:00
Miro Hrončok
3596447d0e Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 2022-01-08 11:12:00 +01:00
Jens Petersen
02762861f0 update to 1.21 2021-08-08 17:29:11 +08:00
Jens Petersen
67166b0478 refresh to cabal-rpm-2.0.9 2021-08-08 17:26:44 +08:00
Jens Petersen
81ed9ceccd update to 1.20.4; lucid-2.9.12.1; utility-ht-0.0.16 2021-08-08 17:25:52 +08:00
Jens Petersen
0008b5eb2a update to 1.20.3 2021-08-05 13:02:54 +08:00
Fedora Release Engineering
a439c38234 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 07:39:53 +00:00
Fedora Release Engineering
fcb30df8c5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 13:30:40 +00:00
Fedora Release Engineering
9623bb0dc9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 00:55:07 +00:00
Jens Petersen
a6616b8083 update to 1.18.1 2020-07-16 21:38:50 +08:00
Jens Petersen
82c7d727f4 update to 1.18 2020-06-20 00:41:14 +08:00
Jens Petersen
467aa8791e refresh to cabal-rpm-2.0.6 2020-06-19 16:58:00 +08:00
Jens Petersen
17af6c8a00 update to 1.16.2 2020-06-10 16:56:47 +08:00
Jens Petersen
481625e0d1 refresh to cabal-rpm-2.0.5 2020-06-04 19:29:22 +08:00
Jens Petersen
fd94712745 correctly bump release for subpkg lib 2020-02-25 11:38:40 +08:00
Jens Petersen
04f413f2a7 update to 1.14.2
drop 'here'
2020-02-15 00:38:42 +08:00
Jens Petersen
13bb89dbe9 refresh to cabal-rpm-2.0.2 2020-02-07 17:30:37 +08:00
Fedora Release Engineering
a75aa8ea25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 04:20:01 +00:00
Jens Petersen
924b48f764 BR prof for lib and static for executable 2019-08-06 12:51:30 +08:00
Jens Petersen
eaa4d6ca90 update to 1.12.1 2019-07-25 17:12:29 +00:00
Jens Petersen
737f571da6 refresh to cabal-rpm-1.0.0: lib doc/prof subpkgs and bin static BRs 2019-07-25 09:07:22 +00:00
Fedora Release Engineering
dc461129df - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 08:29:52 +00:00
Jens Petersen
c099e9270f haskell-src-meta and th-* packaged 2019-03-31 22:07:34 +08:00
Jens Petersen
7aa023ce19 lucid needs mmorph 2019-03-03 13:59:14 +08:00
Jens Petersen
5aacc936c2 update th-lift source 2019-03-03 13:50:37 +08:00
Jens Petersen
878e4e66fb base-compat-batteries needs to be in hledger-lib 2019-03-03 10:28:19 +08:00
Jens Petersen
74207de8d4 subpackage base-compat-batteries 2019-03-03 10:20:10 +08:00
Jens Petersen
4d16218212 update to 1.10 2019-02-24 18:01:25 +08:00
Fedora Release Engineering
ebcd5647d9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 02:19:48 +00:00
Jens Petersen
1a8733af70 refresh with cabal-rpm-0.13 section delimiters 2018-10-24 00:20:36 +09:00
Jens Petersen
12db5f68b6 update to 1.5; add manpage 2018-07-23 16:34:07 +09:00
Jens Petersen
0b2a778405 add comment about release field with subpkgs 2018-07-22 18:02:59 +09:00
Jens Petersen
70c9caf2c6 newline after %setup for easier patching 2018-07-22 00:50:47 +09:00
Fedora Release Engineering
43adb8f7db - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 05:01:31 +00:00
Fedora Release Engineering
7a89c444dc - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 16:22:27 +00:00
Jens Petersen
69ad2e2406 drop ldconfig scriptlets 2018-02-04 01:03:54 +09:00
Jens Petersen
a1940a69cb allow megaparsec-6.3 2018-01-31 10:42:12 +08:00
Jens Petersen
e3cfd0254a add subpkgs sources 2018-01-30 11:46:09 +01:00
Jens Petersen
a2ea310a05 update to 1.4 2018-01-26 00:59:29 +01:00
Jens Petersen
172bad39ee refresh to cabal-rpm-0.12.1 2018-01-24 14:12:28 +01:00
Jens Petersen
ad882f75cb ghc-file-embed is now a fedora package 2017-08-30 13:18:44 -04:00
Fedora Release Engineering
a539ba603b - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 23:29:28 +00:00
Fedora Release Engineering
b2c5d8e71e - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 12:45:20 +00:00
Jens Petersen
06667af7f7 bump release 2017-05-29 12:16:55 +09:00
Jens Petersen
13f1287b3c add missing BRs: syb and h-s-e 2017-05-27 21:45:27 +09:00
Jens Petersen
dfc03d6c18 update to 1.2
add here lib and its deps
2017-05-26 18:36:10 +09:00
Jens Petersen
5028541b0a subpackaging needs ghc-rpm-macros-extra 2017-02-25 21:29:29 +09:00
Jens Petersen
9eea412410 add tarballs 2017-02-25 21:16:01 +09:00
Jens Petersen
4d252bad9e update to 1.0.1; subpackage file-embed 2017-02-25 13:16:58 +09:00
Fedora Release Engineering
dba7107de9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 12:40:58 +00:00
Jens Petersen
9b18a87dca use cabal-tweak-drop-dep for mtl-compat 2017-01-28 22:16:26 +01:00
5 changed files with 633 additions and 69 deletions

40
.gitignore vendored
View File

@ -3,3 +3,43 @@
/hledger-0.23.2.tar.gz
/hledger-0.24.tar.gz
/hledger-0.27.1.tar.gz
/file-embed-0.0.10.tar.gz
/hledger-1.0.1.tar.gz
/th-orphans-0.13.3.tar.gz
/th-reify-many-0.1.6.tar.gz
/th-lift-0.7.7.tar.gz
/th-lift-instances-0.1.11.tar.gz
/th-expand-syns-0.4.3.0.tar.gz
/haskell-src-meta-0.7.0.1.tar.gz
/hledger-1.2.tar.gz
/here-1.2.9.tar.gz
/hledger-1.4.tar.gz
/haskell-src-meta-0.8.0.1.tar.gz
/here-1.2.12.tar.gz
/th-expand-syns-0.4.4.0.tar.gz
/th-orphans-0.13.4.tar.gz
/th-reify-many-0.1.8.tar.gz
/utility-ht-0.0.14.tar.gz
/hledger-1.5.tar.gz
/th-orphans-0.13.6.tar.gz
/th-lift-0.7.10.tar.gz
/haskell-src-meta-0.8.0.3.tar.gz
/here-1.2.13.tar.gz
/hledger-1.10.tar.gz
/lucid-2.9.11.tar.gz
/th-lift-0.7.11.tar.gz
/hledger-1.12.1.tar.gz
/hledger-1.14.2.tar.gz
/lucid-2.9.12.tar.gz
/hledger-1.16.2.tar.gz
/utility-ht-0.0.15.tar.gz
/hledger-1.18.tar.gz
/hledger-1.18.1.tar.gz
/hledger-1.20.3.tar.gz
/hledger-1.20.4.tar.gz
/utility-ht-0.0.16.tar.gz
/lucid-2.9.12.1.tar.gz
/hledger-1.21.tar.gz
/hledger-1.27.1.tar.gz
/lucid-2.11.1.tar.gz
/breakpoint-0.1.2.0.tar.gz

321
hledger-1.12.1.cabal Normal file
View File

@ -0,0 +1,321 @@
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.31.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 269994bfba5ad36962478f05df1bf958a94778ec5b36db499d768b64aa3e411a
name: hledger
version: 1.12.1
x-revision: 1
synopsis: Command-line interface for the hledger accounting tool
description: This is hledger's command-line interface.
Its basic function is to read a plain text file describing
financial transactions and produce useful reports.
.
hledger is a cross-platform program for tracking money, time, or
any other commodity, using double-entry accounting and a simple,
editable file format. It is inspired by and largely compatible
with ledger(1). hledger provides command-line, curses and web
interfaces, and aims to be a reliable, practical tool for daily
use.
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
tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.3
build-type: Simple
extra-source-files:
CHANGES
README.md
test/test.hs
bench/10000x1000x10.journal
hledger.1
hledger.txt
hledger.info
embeddedfiles/hledger.1
embeddedfiles/hledger.txt
embeddedfiles/hledger.info
embeddedfiles/hledger-api.1
embeddedfiles/hledger-api.txt
embeddedfiles/hledger-api.info
embeddedfiles/hledger-ui.1
embeddedfiles/hledger-ui.txt
embeddedfiles/hledger-ui.info
embeddedfiles/hledger-web.1
embeddedfiles/hledger-web.txt
embeddedfiles/hledger-web.info
embeddedfiles/hledger_journal.5
embeddedfiles/hledger_journal.txt
embeddedfiles/hledger_journal.info
embeddedfiles/hledger_csv.5
embeddedfiles/hledger_csv.txt
embeddedfiles/hledger_csv.info
embeddedfiles/hledger_timeclock.5
embeddedfiles/hledger_timeclock.txt
embeddedfiles/hledger_timeclock.info
embeddedfiles/hledger_timedot.5
embeddedfiles/hledger_timedot.txt
embeddedfiles/hledger_timedot.info
source-repository head
type: git
location: https://github.com/simonmichael/hledger
flag terminfo
description: On POSIX systems, build with the terminfo lib for detecting terminal width.
manual: False
default: True
flag threaded
description: Build with support for multithreaded execution
manual: False
default: True
library
exposed-modules:
Hledger.Cli
Hledger.Cli.Main
Hledger.Cli.CliOptions
Hledger.Cli.DocFiles
Hledger.Cli.Utils
Hledger.Cli.Version
Hledger.Cli.Commands
Hledger.Cli.Commands.Accounts
Hledger.Cli.Commands.Activity
Hledger.Cli.Commands.Add
Hledger.Cli.Commands.Balance
Hledger.Cli.Commands.Balancesheet
Hledger.Cli.Commands.Balancesheetequity
Hledger.Cli.Commands.Cashflow
Hledger.Cli.Commands.Checkdates
Hledger.Cli.Commands.Checkdupes
Hledger.Cli.Commands.Close
Hledger.Cli.Commands.Help
Hledger.Cli.Commands.Files
Hledger.Cli.Commands.Import
Hledger.Cli.Commands.Incomestatement
Hledger.Cli.Commands.Prices
Hledger.Cli.Commands.Print
Hledger.Cli.Commands.Printunique
Hledger.Cli.Commands.Register
Hledger.Cli.Commands.Registermatch
Hledger.Cli.Commands.Rewrite
Hledger.Cli.Commands.Roi
Hledger.Cli.Commands.Stats
Hledger.Cli.Commands.Tags
Hledger.Cli.CompoundBalanceCommand
other-modules:
Paths_hledger
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans -optP-Wno-nonportable-include-path
cpp-options: -DVERSION="1.12.1"
build-depends:
Decimal
, Diff
, ansi-terminal >=0.6.2.3
, base >=4.8 && <4.13
, base-compat-batteries >=0.10.1 && <0.11
, bytestring
, cmdargs >=0.10
, containers
, data-default >=0.5
, directory
, easytest <0.3
, file-embed >=0.0.10
, filepath
, hashable >=1.2.4
, haskeline >=0.6
, here
, hledger-lib >=1.12 && <1.13
, lucid
, math-functions >=0.2.0.0
, megaparsec >=7.0.0 && <8
, mtl
, mtl-compat
, old-time
, parsec >=3
, pretty-show >=1.6.4
, process
, regex-tdfa
, safe >=0.2
, shakespeare >=2.0.2.2
, split >=0.1
, tabular >=0.2
, temporary
, text >=0.11
, time >=1.5
, transformers
, unordered-containers
, utf8-string >=0.3.5
, utility-ht >=0.0.13
, wizards >=1.0
if (!(os(windows))) && (flag(terminfo))
build-depends:
terminfo
default-language: Haskell2010
executable hledger
main-is: hledger-cli.hs
other-modules:
Paths_hledger
hs-source-dirs:
app
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans -optP-Wno-nonportable-include-path
cpp-options: -DVERSION="1.12.1"
build-depends:
Decimal
, ansi-terminal >=0.6.2.3
, base >=4.8 && <4.13
, base-compat-batteries >=0.10.1 && <0.11
, bytestring
, cmdargs >=0.10
, containers
, data-default >=0.5
, directory
, easytest <0.3
, file-embed >=0.0.10
, filepath
, haskeline >=0.6
, here
, hledger
, hledger-lib >=1.12 && <1.13
, math-functions >=0.2.0.0
, megaparsec >=7.0.0 && <8
, mtl
, mtl-compat
, old-time
, parsec >=3
, pretty-show >=1.6.4
, process
, regex-tdfa
, safe >=0.2
, shakespeare >=2.0.2.2
, split >=0.1
, tabular >=0.2
, temporary
, text >=0.11
, time >=1.5
, transformers
, unordered-containers
, utf8-string >=0.3.5
, utility-ht >=0.0.13
, wizards >=1.0
if (!(os(windows))) && (flag(terminfo))
build-depends:
terminfo
if flag(threaded)
ghc-options: -threaded
default-language: Haskell2010
test-suite test
type: exitcode-stdio-1.0
main-is: test.hs
other-modules:
Paths_hledger
hs-source-dirs:
test
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans -optP-Wno-nonportable-include-path
cpp-options: -DVERSION="1.12.1"
build-depends:
Decimal
, ansi-terminal >=0.6.2.3
, base >=4.8 && <4.13
, base-compat-batteries >=0.10.1 && <0.11
, bytestring
, cmdargs >=0.10
, containers
, data-default >=0.5
, directory
, easytest <0.3
, file-embed >=0.0.10
, filepath
, haskeline >=0.6
, here
, hledger
, hledger-lib >=1.12 && <1.13
, math-functions >=0.2.0.0
, megaparsec >=7.0.0 && <8
, mtl
, mtl-compat
, old-time
, parsec >=3
, pretty-show >=1.6.4
, process
, regex-tdfa
, safe >=0.2
, shakespeare >=2.0.2.2
, split >=0.1
, tabular >=0.2
, temporary
, test-framework
, test-framework-hunit
, text >=0.11
, time >=1.5
, transformers
, unordered-containers
, utf8-string >=0.3.5
, utility-ht >=0.0.13
, wizards >=1.0
if (!(os(windows))) && (flag(terminfo))
build-depends:
terminfo
default-language: Haskell2010
benchmark bench
type: exitcode-stdio-1.0
main-is: bench.hs
other-modules:
Paths_hledger
hs-source-dirs:
bench
ghc-options: -Wall -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans -optP-Wno-nonportable-include-path
build-depends:
Decimal
, ansi-terminal >=0.6.2.3
, base >=4.8 && <4.13
, base-compat-batteries >=0.10.1 && <0.11
, bytestring
, cmdargs >=0.10
, containers
, criterion
, data-default >=0.5
, directory
, easytest <0.3
, file-embed >=0.0.10
, filepath
, haskeline >=0.6
, here
, hledger
, hledger-lib >=1.12 && <1.13
, html
, math-functions >=0.2.0.0
, megaparsec >=7.0.0 && <8
, mtl
, mtl-compat
, old-time
, parsec >=3
, pretty-show >=1.6.4
, process
, regex-tdfa
, safe >=0.2
, shakespeare >=2.0.2.2
, split >=0.1
, tabular >=0.2
, temporary
, text >=0.11
, time >=1.5
, timeit
, transformers
, unordered-containers
, utf8-string >=0.3.5
, utility-ht >=0.0.13
, wizards >=1.0
if (!(os(windows))) && (flag(terminfo))
build-depends:
terminfo
default-language: Haskell2010

View File

@ -1,26 +0,0 @@
--- hledger-0.27.1/hledger.cabal~ 2016-05-28 02:34:17.000000000 +0900
+++ hledger-0.27.1/hledger.cabal 2016-09-05 16:35:19.499499817 +0900
@@ -69,7 +69,6 @@
, haskeline >= 0.6 && <= 0.8
, HUnit
, mtl
- , mtl-compat
, old-time
, parsec >= 3
, process
@@ -143,7 +142,6 @@
, haskeline >= 0.6 && <= 0.8
, HUnit
, mtl
- , mtl-compat
, old-time
, parsec >= 3
, process
@@ -196,7 +194,6 @@
, haskeline >= 0.6 && <= 0.8
, HUnit
, mtl
- , mtl-compat
, old-time
, parsec >= 3
, process

View File

@ -1,64 +1,132 @@
# generated by cabal-rpm-0.10.0
# https://fedoraproject.org/wiki/Packaging:Haskell
# generated by cabal-rpm-2.1.0 --subpackage
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name hledger
%global pkgver %{pkg_name}-%{version}
%global utilityht utility-ht-0.0.16
%global lucid lucid-2.11.1
%global subpkgs %{utilityht} %{lucid}
# utility-ht requires doctest-exitcode-stdio & doctest-lib
%bcond_with tests
Name: %{pkg_name}
Version: 0.27.1
Release: 1%{?dist}
Summary: The main command-line interface for the hledger accounting tool
Version: 1.27.1
# can only be reset when all subpkgs bumped
Release: 7%{?dist}
Summary: Command-line interface for the hledger accounting system
License: GPLv3
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
Patch0: hledger-mtl-compat.patch
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{utilityht}/%{utilityht}.tar.gz
Source2: https://hackage.haskell.org/package/%{lucid}/%{lucid}.tar.gz
# End cabal-rpm sources
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: chrpath
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-base-compat-devel
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros-extra
BuildRequires: ghc-Decimal-devel
BuildRequires: ghc-Diff-devel
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-ansi-terminal-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-breakpoint-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-cmdargs-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-csv-devel
BuildRequires: ghc-data-default-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-extra-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-githash-devel
BuildRequires: ghc-hashable-devel
BuildRequires: ghc-haskeline-devel
BuildRequires: ghc-hledger-lib-devel
#BuildRequires: ghc-mtl-compat-devel
#BuildRequires: ghc-lucid-devel
BuildRequires: ghc-math-functions-devel
BuildRequires: ghc-megaparsec-devel
BuildRequires: ghc-microlens-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-old-time-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-pretty-show-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-regex-tdfa-devel
BuildRequires: ghc-safe-devel
BuildRequires: ghc-shakespeare-devel
BuildRequires: ghc-split-devel
BuildRequires: ghc-tabular-devel
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-temporary-devel
BuildRequires: ghc-terminfo-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-timeit-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-utf8-string-devel
#BuildRequires: ghc-utility-ht-devel
BuildRequires: ghc-wizards-devel
%if %{with tests}
BuildRequires: ghc-test-framework-devel
BuildRequires: ghc-test-framework-hunit-devel
%if %{with ghc_prof}
BuildRequires: ghc-Decimal-prof
BuildRequires: ghc-Diff-prof
BuildRequires: ghc-aeson-prof
BuildRequires: ghc-ansi-terminal-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-breakpoint-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-cmdargs-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-data-default-prof
BuildRequires: ghc-directory-prof
BuildRequires: ghc-extra-prof
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-githash-prof
BuildRequires: ghc-hashable-prof
BuildRequires: ghc-haskeline-prof
BuildRequires: ghc-hledger-lib-prof
#BuildRequires: ghc-lucid-prof
BuildRequires: ghc-math-functions-prof
BuildRequires: ghc-megaparsec-prof
BuildRequires: ghc-microlens-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-process-prof
BuildRequires: ghc-regex-tdfa-prof
BuildRequires: ghc-safe-prof
BuildRequires: ghc-shakespeare-prof
BuildRequires: ghc-split-prof
BuildRequires: ghc-tabular-prof
BuildRequires: ghc-tasty-prof
BuildRequires: ghc-temporary-prof
BuildRequires: ghc-terminfo-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-time-prof
BuildRequires: ghc-timeit-prof
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-unordered-containers-prof
BuildRequires: ghc-utf8-string-prof
#BuildRequires: ghc-utility-ht-prof
BuildRequires: ghc-wizards-prof
%endif
# for missing dep 'lucid':
BuildRequires: ghc-blaze-builder-devel
BuildRequires: ghc-mmorph-devel
%if %{with ghc_prof}
BuildRequires: ghc-blaze-builder-prof
BuildRequires: ghc-mmorph-prof
%endif
# End cabal-rpm deps
%description
This is hledgers command-line interface. Its basic function is to read a plain
text file describing financial transactions and produce useful reports.
hledger is a cross-platform program for tracking money, time, or any other
commodity, using double-entry accounting and a simple, editable file format.
It is inspired by and largely compatible with ledger(1). hledger provides
command-line, curses and web interfaces, and aims to be a reliable, practical
tool for daily use.
The command-line interface for the hledger accounting system. Its basic
function is to read a plain text file describing financial transactions and
produce useful reports.
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}
@ -71,56 +139,214 @@ 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}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): 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
%global main_version %{version}
%if %{defined ghclibdir}
%ghc_lib_subpackage -l BSD-3-Clause %{utilityht}
%ghc_lib_subpackage -l BSD-3-Clause %{lucid}
%endif
%global version %{main_version}
%prep
%setup -q
%patch0 -p1 -b .orig
# Begin cabal-rpm setup:
%setup -q -a1 -a2
# End cabal-rpm setup
cabal-tweak-drop-dep mtl-compat
%build
# Begin cabal-rpm build:
%ghc_libs_build %{subpkgs}
%ghc_lib_build
# End cabal-rpm build
%install
# Begin cabal-rpm install
%ghc_libs_install %{subpkgs}
%ghc_lib_install
# End cabal-rpm install
%ghc_fix_dynamic_rpath %{pkg_name}
install -Dp -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
%check
%if %{with tests}
%cabal_test
%post -n ghc-%{name}-devel
%ghc_pkg_recache
%postun -n ghc-%{name}-devel
%ghc_pkg_recache
%endif
%files
# Begin cabal-rpm files:
%license LICENSE
%doc CHANGES.md README.md
%{_bindir}/%{name}
# End cabal-rpm files
%{_mandir}/man1/%{name}.1*
%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 README.md
%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
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 1.27.1-7
- https://hackage.haskell.org/package/hledger-1.27.1/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 1.21-5
- rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Jan 08 2022 Miro Hrončok <mhroncok@redhat.com> - 1.21-3
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
* Sun Aug 8 2021 Jens Petersen <petersen@redhat.com> - 1.21-2
- update to 1.21
* Sun Aug 8 2021 Jens Petersen <petersen@redhat.com> - 1.20.4-1
- update to 1.20.4
- lucid-2.9.12.1
- utility-ht-0.0.16
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 1.20.3-23
- update to 1.20.3
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.1-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.1-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.1-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jul 16 2020 Jens Petersen <petersen@redhat.com> - 1.18.1-20
- update to 1.18.1
* Fri Jun 19 2020 Jens Petersen <petersen@redhat.com> - 1.18-19
- update to 1.18
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 1.16.2-18
- https://hackage.haskell.org/package/hledger-1.16.2/changelog
* Tue Feb 25 2020 Jens Petersen <petersen@redhat.com> - 1.14.2-17
- https://hackage.haskell.org/package/hledger-1.14.2/changelog
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.1-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 1.12.1-15
- update to 1.12.1
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Mar 31 2019 Jens Petersen <petersen@redhat.com> - 1.10-13
- haskell-src-meta and th-* packaged
* Thu Feb 21 2019 Jens Petersen <petersen@redhat.com> - 1.10-12
- update to 1.10
- subpackage lucid dep
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Oct 24 2018 Jens Petersen <petersen@redhat.com> - 1.5-10
- rebuild for static executable
* Sun Jul 22 2018 Jens Petersen <petersen@redhat.com> - 1.5-9
- update to 1.5
- add main manpage
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 1.4-6
- update to 1.4
* Wed Aug 30 2017 Jens Petersen <petersen@redhat.com> - 1.2-5
- no longer need to subpackage file-embed
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon May 29 2017 Jens Petersen <petersen@redhat.com> - 1.2-2
- bump release
* Fri May 26 2017 Jens Petersen <petersen@redhat.com> - 1.2-1
- update to 1.2
- add here lib and its deps
* Tue Feb 21 2017 Jens Petersen <petersen@redhat.com> - 1.0.1-1
- update to 1.0.1
- subpackage file-embed
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.27.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Mon Sep 5 2016 Jens Petersen <petersen@redhat.com> - 0.27.1-1
- update to 0.27.1
- build without mtl-compat

View File

@ -1 +1,4 @@
1134221dcfb33f5431d0084f074fcf93 hledger-0.27.1.tar.gz
SHA512 (hledger-1.27.1.tar.gz) = 59d1b6d2209a029603725156200dca6dd73296e544b70fe1c4f2bcb053befb91f78b161db98f414425c774c56a73ecc13ee4f06db5b4c8100d52e0484f5125da
SHA512 (utility-ht-0.0.16.tar.gz) = dc43586c4cd3816b8d9c1f2d952e82a2b633d86df1bdcb19bcaaf96977d3b9b4399cbf6e7c12a1f7f2a8cd0d461a5964af8e2748a016406b1364a9a327d67a79
SHA512 (lucid-2.11.1.tar.gz) = 9dd26a84b5ec00830a749f239298b3fd90f0682fc40b0287519cb7d987b80fa12322fc0be3e5d3720d84771cc488cd70eb77c7a4150e700128c9430893ff2179
SHA512 (breakpoint-0.1.2.0.tar.gz) = ae22382e70cf7b425db468e3e2065ee770657b71c10a89311c2b39549bace68678e25616860bb807c2fbe7a76b8d4bbb527d73f28b3fd4bc92e837d817e0df2e