Compare commits
54 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
4e645e70d1 | ||
|
ba4962cc0d | ||
|
5d45e2d6ce | ||
|
b405c7fc75 | ||
|
3596447d0e | ||
|
02762861f0 | ||
|
67166b0478 | ||
|
81ed9ceccd | ||
|
0008b5eb2a | ||
|
a439c38234 | ||
|
fcb30df8c5 | ||
|
9623bb0dc9 | ||
|
a6616b8083 | ||
|
82c7d727f4 | ||
|
467aa8791e | ||
|
17af6c8a00 | ||
|
481625e0d1 | ||
|
fd94712745 | ||
|
04f413f2a7 | ||
|
13bb89dbe9 | ||
|
a75aa8ea25 | ||
|
924b48f764 | ||
|
eaa4d6ca90 | ||
|
737f571da6 | ||
|
dc461129df | ||
|
c099e9270f | ||
|
7aa023ce19 | ||
|
5aacc936c2 | ||
|
878e4e66fb | ||
|
74207de8d4 | ||
|
4d16218212 | ||
|
ebcd5647d9 | ||
|
1a8733af70 | ||
|
12db5f68b6 | ||
|
0b2a778405 | ||
|
70c9caf2c6 | ||
|
43adb8f7db | ||
|
7a89c444dc | ||
|
69ad2e2406 | ||
|
a1940a69cb | ||
|
e3cfd0254a | ||
|
a2ea310a05 | ||
|
172bad39ee | ||
|
ad882f75cb | ||
|
a539ba603b | ||
|
b2c5d8e71e | ||
|
06667af7f7 | ||
|
13f1287b3c | ||
|
dfc03d6c18 | ||
|
5028541b0a | ||
|
9eea412410 | ||
|
4d252bad9e | ||
|
dba7107de9 | ||
|
9b18a87dca |
40
.gitignore
vendored
40
.gitignore
vendored
@ -3,3 +3,43 @@
|
|||||||
/hledger-0.23.2.tar.gz
|
/hledger-0.23.2.tar.gz
|
||||||
/hledger-0.24.tar.gz
|
/hledger-0.24.tar.gz
|
||||||
/hledger-0.27.1.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
321
hledger-1.12.1.cabal
Normal 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
|
@ -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
|
|
310
hledger.spec
310
hledger.spec
@ -1,64 +1,132 @@
|
|||||||
# generated by cabal-rpm-0.10.0
|
# generated by cabal-rpm-2.1.0 --subpackage
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||||
|
|
||||||
%global pkg_name hledger
|
%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
|
%bcond_with tests
|
||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: 0.27.1
|
Version: 1.27.1
|
||||||
Release: 1%{?dist}
|
# can only be reset when all subpkgs bumped
|
||||||
Summary: The main command-line interface for the hledger accounting tool
|
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}
|
Url: https://hackage.haskell.org/package/%{name}
|
||||||
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
# Begin cabal-rpm sources:
|
||||||
Patch0: hledger-mtl-compat.patch
|
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:
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: chrpath
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-HUnit-devel
|
BuildRequires: ghc-rpm-macros-extra
|
||||||
BuildRequires: ghc-base-compat-devel
|
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-cmdargs-devel
|
||||||
BuildRequires: ghc-containers-devel
|
BuildRequires: ghc-containers-devel
|
||||||
BuildRequires: ghc-csv-devel
|
BuildRequires: ghc-data-default-devel
|
||||||
BuildRequires: ghc-directory-devel
|
BuildRequires: ghc-directory-devel
|
||||||
|
BuildRequires: ghc-extra-devel
|
||||||
BuildRequires: ghc-filepath-devel
|
BuildRequires: ghc-filepath-devel
|
||||||
|
BuildRequires: ghc-githash-devel
|
||||||
|
BuildRequires: ghc-hashable-devel
|
||||||
BuildRequires: ghc-haskeline-devel
|
BuildRequires: ghc-haskeline-devel
|
||||||
BuildRequires: ghc-hledger-lib-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-mtl-devel
|
||||||
BuildRequires: ghc-old-time-devel
|
|
||||||
BuildRequires: ghc-parsec-devel
|
|
||||||
BuildRequires: ghc-pretty-show-devel
|
|
||||||
BuildRequires: ghc-process-devel
|
BuildRequires: ghc-process-devel
|
||||||
BuildRequires: ghc-regex-tdfa-devel
|
BuildRequires: ghc-regex-tdfa-devel
|
||||||
BuildRequires: ghc-safe-devel
|
BuildRequires: ghc-safe-devel
|
||||||
BuildRequires: ghc-shakespeare-devel
|
BuildRequires: ghc-shakespeare-devel
|
||||||
BuildRequires: ghc-split-devel
|
BuildRequires: ghc-split-devel
|
||||||
BuildRequires: ghc-tabular-devel
|
BuildRequires: ghc-tabular-devel
|
||||||
|
BuildRequires: ghc-tasty-devel
|
||||||
|
BuildRequires: ghc-temporary-devel
|
||||||
BuildRequires: ghc-terminfo-devel
|
BuildRequires: ghc-terminfo-devel
|
||||||
BuildRequires: ghc-text-devel
|
BuildRequires: ghc-text-devel
|
||||||
BuildRequires: ghc-time-devel
|
BuildRequires: ghc-time-devel
|
||||||
|
BuildRequires: ghc-timeit-devel
|
||||||
|
BuildRequires: ghc-transformers-devel
|
||||||
BuildRequires: ghc-unordered-containers-devel
|
BuildRequires: ghc-unordered-containers-devel
|
||||||
BuildRequires: ghc-utf8-string-devel
|
BuildRequires: ghc-utf8-string-devel
|
||||||
|
#BuildRequires: ghc-utility-ht-devel
|
||||||
BuildRequires: ghc-wizards-devel
|
BuildRequires: ghc-wizards-devel
|
||||||
%if %{with tests}
|
%if %{with ghc_prof}
|
||||||
BuildRequires: ghc-test-framework-devel
|
BuildRequires: ghc-Decimal-prof
|
||||||
BuildRequires: ghc-test-framework-hunit-devel
|
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
|
%endif
|
||||||
# End cabal-rpm deps
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is hledger’s command-line interface. Its basic function is to read a plain
|
The command-line interface for the hledger accounting system. Its basic
|
||||||
text file describing financial transactions and produce useful reports.
|
function is to read a plain text file describing financial transactions and
|
||||||
hledger is a cross-platform program for tracking money, time, or any other
|
produce useful reports.
|
||||||
commodity, using double-entry accounting and a simple, editable file format.
|
|
||||||
It is inspired by and largely compatible with ledger(1). hledger provides
|
hledger is a robust, cross-platform set of tools for tracking money, time, or
|
||||||
command-line, curses and web interfaces, and aims to be a reliable, practical
|
any other commodity, using double-entry accounting and a simple, editable file
|
||||||
tool for daily use.
|
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}
|
%package -n ghc-%{name}
|
||||||
@ -71,56 +139,214 @@ This package provides the Haskell %{name} shared library.
|
|||||||
%package -n ghc-%{name}-devel
|
%package -n ghc-%{name}-devel
|
||||||
Summary: Haskell %{name} library development files
|
Summary: Haskell %{name} library development files
|
||||||
Provides: ghc-%{name}-static = %{version}-%{release}
|
Provides: ghc-%{name}-static = %{version}-%{release}
|
||||||
|
Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release}
|
||||||
|
%if %{defined ghc_version}
|
||||||
Requires: ghc-compiler = %{ghc_version}
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
Requires(post): ghc-compiler = %{ghc_version}
|
%endif
|
||||||
Requires(postun): ghc-compiler = %{ghc_version}
|
|
||||||
Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
|
Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n ghc-%{name}-devel
|
%description -n ghc-%{name}-devel
|
||||||
This package provides the Haskell %{name} library development files.
|
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
|
%prep
|
||||||
%setup -q
|
# Begin cabal-rpm setup:
|
||||||
%patch0 -p1 -b .orig
|
%setup -q -a1 -a2
|
||||||
|
# End cabal-rpm setup
|
||||||
|
cabal-tweak-drop-dep mtl-compat
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Begin cabal-rpm build:
|
||||||
|
%ghc_libs_build %{subpkgs}
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
# End cabal-rpm build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
# Begin cabal-rpm install
|
||||||
|
%ghc_libs_install %{subpkgs}
|
||||||
%ghc_lib_install
|
%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
|
%check
|
||||||
|
%if %{with tests}
|
||||||
%cabal_test
|
%cabal_test
|
||||||
|
%endif
|
||||||
|
|
||||||
%post -n ghc-%{name}-devel
|
|
||||||
%ghc_pkg_recache
|
|
||||||
|
|
||||||
|
|
||||||
%postun -n ghc-%{name}-devel
|
|
||||||
%ghc_pkg_recache
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
# Begin cabal-rpm files:
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
%doc CHANGES.md README.md
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
# End cabal-rpm files
|
||||||
|
%{_mandir}/man1/%{name}.1*
|
||||||
|
|
||||||
|
|
||||||
%files -n ghc-%{name} -f ghc-%{name}.files
|
%files -n ghc-%{name} -f ghc-%{name}.files
|
||||||
|
# Begin cabal-rpm files:
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
# End cabal-rpm files
|
||||||
|
|
||||||
|
|
||||||
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.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
|
%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
|
* Mon Sep 5 2016 Jens Petersen <petersen@redhat.com> - 0.27.1-1
|
||||||
- update to 0.27.1
|
- update to 0.27.1
|
||||||
- build without mtl-compat
|
- build without mtl-compat
|
||||||
|
5
sources
5
sources
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user