hledger/hledger.spec

330 lines
10 KiB
RPMSpec
Raw Normal View History

2020-06-19 08:58:00 +00:00
# generated by cabal-rpm-2.0.6 --subpackage
2020-06-04 11:29:22 +00:00
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
2012-07-10 04:14:08 +00:00
%global pkg_name hledger
2017-02-21 15:02:06 +00:00
%global pkgver %{pkg_name}-%{version}
2020-06-10 04:07:20 +00:00
%global utilityht utility-ht-0.0.15
2020-02-14 16:38:42 +00:00
%global lucid lucid-2.9.12
%global subpkgs %{utilityht} %{lucid}
2012-07-10 04:14:08 +00:00
2020-06-19 08:58:00 +00:00
# testsuite missing deps: timeit
2012-07-10 04:14:08 +00:00
Name: %{pkg_name}
2020-07-16 13:38:50 +00:00
Version: 1.18.1
# can only be reset when all subpkgs bumped
Release: 22%{?dist}
2020-06-19 16:41:14 +00:00
Summary: Command-line interface for the hledger accounting system
2012-07-10 04:14:08 +00:00
2018-07-22 14:42:06 +00:00
License: GPLv3+
2015-02-06 08:22:13 +00:00
Url: https://hackage.haskell.org/package/%{name}
# Begin cabal-rpm sources:
2017-02-21 15:02:06 +00:00
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
2020-02-14 16:38:42 +00:00
Source1: https://hackage.haskell.org/package/%{utilityht}/%{utilityht}.tar.gz
Source2: https://hackage.haskell.org/package/%{lucid}/%{lucid}.tar.gz
2020-07-16 13:38:50 +00:00
Source3: https://hackage.haskell.org/package/%{pkgver}/%{name}.cabal#/%{pkgver}.cabal
# End cabal-rpm sources
# Begin cabal-rpm deps:
2012-07-10 04:14:08 +00:00
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros-extra
BuildRequires: ghc-Decimal-prof
BuildRequires: ghc-Diff-prof
2020-06-19 16:41:14 +00:00
BuildRequires: ghc-aeson-prof
BuildRequires: ghc-ansi-terminal-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-base-compat-batteries-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-cmdargs-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-data-default-prof
BuildRequires: ghc-directory-prof
2020-06-10 04:07:20 +00:00
BuildRequires: ghc-extra-prof
BuildRequires: ghc-filepath-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-mtl-prof
BuildRequires: ghc-old-time-prof
BuildRequires: ghc-parsec-prof
BuildRequires: ghc-pretty-show-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
2020-06-10 04:07:20 +00:00
BuildRequires: ghc-tasty-prof
BuildRequires: ghc-temporary-prof
BuildRequires: ghc-terminfo-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-time-prof
2020-06-10 04:07:20 +00:00
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
2020-02-07 09:30:37 +00:00
# for missing dep 'lucid':
BuildRequires: ghc-blaze-builder-prof
BuildRequires: ghc-mmorph-prof
2020-02-07 09:30:37 +00:00
# End cabal-rpm deps
2012-07-10 04:14:08 +00:00
%description
2020-06-19 16:41:14 +00:00
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.
2017-02-21 15:02:06 +00:00
2020-06-19 16:41:14 +00:00
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
Provides: ghc-%{name}-static = %{version}-%{release}
Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release}
2018-01-24 13:12:28 +00:00
%if %{defined ghc_version}
Requires: ghc-compiler = %{ghc_version}
2018-01-24 13:12:28 +00:00
%endif
Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
%description -n ghc-%{name}-devel
This package provides the Haskell %{name} library development files.
2012-07-10 04:14:08 +00:00
%if %{with haddock}
%package -n ghc-%{name}-doc
Summary: Haskell %{name} library documentation
2020-02-07 09:30:37 +00:00
BuildArch: noarch
%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}
2020-02-07 09:30:37 +00:00
Supplements: (ghc-%{name}-devel and ghc-prof)
%description -n ghc-%{name}-prof
This package provides the Haskell %{name} profiling library.
%endif
2017-02-21 15:02:06 +00:00
%global main_version %{version}
%if %{defined ghclibdir}
2018-01-24 13:53:01 +00:00
%ghc_lib_subpackage %{utilityht}
2019-02-21 07:11:24 +00:00
%ghc_lib_subpackage %{lucid}
2017-02-21 15:02:06 +00:00
%endif
%global version %{main_version}
2012-07-10 04:14:08 +00:00
%prep
2019-02-21 07:11:24 +00:00
# Begin cabal-rpm setup:
2020-02-14 16:38:42 +00:00
%setup -q -a1 -a2
2020-07-16 13:38:50 +00:00
cp -bp %{SOURCE3} %{name}.cabal
# End cabal-rpm setup
cabal-tweak-drop-dep mtl-compat
2012-07-10 04:14:08 +00:00
%build
# Begin cabal-rpm build:
2017-02-21 15:02:06 +00:00
%ghc_libs_build %{subpkgs}
2012-07-10 04:14:08 +00:00
%ghc_lib_build
# End cabal-rpm build
2012-07-10 04:14:08 +00:00
%install
2019-02-21 07:11:24 +00:00
# Begin cabal-rpm install
2017-02-21 15:02:06 +00:00
%ghc_libs_install %{subpkgs}
2012-07-10 04:14:08 +00:00
%ghc_lib_install
2019-02-21 07:11:24 +00:00
%ghc_fix_rpath %{pkgver}
# End cabal-rpm install
2012-07-10 04:14:08 +00:00
2018-07-22 14:42:06 +00:00
install -Dp -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
2015-03-02 03:00:14 +00:00
2012-07-10 04:14:08 +00:00
%files
# Begin cabal-rpm files:
%license LICENSE
2020-02-14 16:38:42 +00:00
%doc CHANGES.md README.md
2015-02-06 08:22:13 +00:00
%{_bindir}/%{name}
# End cabal-rpm files
2018-07-22 14:42:06 +00:00
%{_mandir}/man1/%{name}.1*
2012-07-10 04:14:08 +00:00
%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
2020-02-14 16:38:42 +00:00
%doc CHANGES.md README.md
2012-07-10 04:14:08 +00:00
%if %{with haddock}
%files -n ghc-%{name}-doc -f ghc-%{name}-doc.files
2020-02-07 09:30:37 +00:00
%license LICENSE
%endif
%if %{with ghc_prof}
%files -n ghc-%{name}-prof -f ghc-%{name}-prof.files
%endif
2012-07-10 04:14:08 +00:00
%changelog
* 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
2020-07-16 13:38:50 +00:00
* Thu Jul 16 2020 Jens Petersen <petersen@redhat.com> - 1.18.1-20
- update to 1.18.1
2020-06-19 16:41:14 +00:00
* Fri Jun 19 2020 Jens Petersen <petersen@redhat.com> - 1.18-19
- update to 1.18
2020-06-10 04:07:20 +00:00
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 1.16.2-18
- https://hackage.haskell.org/package/hledger-1.16.2/changelog
2020-02-25 03:36:21 +00:00
* Tue Feb 25 2020 Jens Petersen <petersen@redhat.com> - 1.14.2-17
2020-02-14 16:38:42 +00:00
- 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
2019-07-25 17:12:29 +00:00
* 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
2019-03-31 14:07:34 +00:00
* Sun Mar 31 2019 Jens Petersen <petersen@redhat.com> - 1.10-13
- haskell-src-meta and th-* packaged
2019-02-21 07:11:24 +00:00
* Thu Feb 21 2019 Jens Petersen <petersen@redhat.com> - 1.10-12
- update to 1.10
- subpackage lucid dep
2019-02-21 07:11:24 +00:00
* 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
2018-07-22 14:42:06 +00:00
* 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
2018-01-24 13:53:01 +00:00
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 1.4-6
- update to 1.4
2017-08-30 17:10:24 +00:00
* 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
2017-05-29 03:16:02 +00:00
* 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
2017-02-21 15:02:06 +00:00
* 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
2016-09-05 07:30:45 +00:00
* Mon Sep 5 2016 Jens Petersen <petersen@redhat.com> - 0.27.1-1
- update to 0.27.1
- build without mtl-compat
* Tue May 24 2016 Ben Boeckel <mathstuf@gmail.com> - 0.24-5
- Rebuild for ghc-cmdargs, ghc-regexpr, ghc-split
- doc -> license macro
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2015-08-08 19:06:32 +00:00
* Sat Aug 08 2015 Ben Boeckel <mathstuf@gmail.com> - 0.24-3
- rebuild for ghc-safe and ghc-wizards
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-03-02 03:00:14 +00:00
* Sun Mar 01 2015 Ben Boeckel <mathstuf@gmail.com> - 0.24-1
- update to 0.24
- cblrpm refresh
2015-02-28 07:18:41 +00:00
* Fri Feb 6 2015 Jens Petersen <petersen@redhat.com> - 0.23.2-1
- update to 0.23.2
2015-02-28 07:18:41 +00:00
- cblrpm refresh
- patch out pretty-show for now
2015-02-28 07:18:41 +00:00
- try re-enabling armv7
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2013-08-30 05:14:30 +00:00
* Fri Aug 30 2013 Jens Petersen <petersen@redhat.com> - 0.19.3-3
- exclude armv7hl since TemplateHaskell failing to compile (#992478)
2013-08-30 05:14:30 +00:00
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Jun 12 2013 Jens Petersen <petersen@redhat.com> - 0.19.3-1
- update to 0.19.3
- update to new simplified Haskell Packaging Guidelines
2013-03-19 06:07:47 +00:00
* Tue Mar 19 2013 Jens Petersen <petersen@redhat.com> - 0.17-5
- allow haskeline-0.7
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Nov 9 2012 Jens Petersen <petersen@redhat.com> - 0.17-3
- re-enable dynamic executable
- allow building with cmdargs-0.10 and split-0.2
- update with cabal-rpm
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-07-10 04:14:08 +00:00
* Wed Feb 29 2012 Ben Boeckel <mathstuf@gmail.com> - 0.17-1
- Initial package