# generated by cabal-rpm-2.0.9 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name hledger-web %global pkgver %{pkg_name}-%{version} %global yesodtest yesod-test-1.6.12 %global subpkgs %{yesodtest} # testsuite missing deps: yesod-test Name: %{pkg_name} Version: 1.21 # can only be reset when all subpkgs bumped Release: 6%{?dist} Summary: Web-based user interface for the hledger accounting system License: GPLv3+ Url: https://hackage.haskell.org/package/%{name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source1: https://hackage.haskell.org/package/%{yesodtest}/%{yesodtest}.tar.gz Source2: https://hackage.haskell.org/package/%{pkgver}/%{name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: BuildRequires: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros-extra BuildRequires: ghc-Decimal-prof BuildRequires: ghc-aeson-prof BuildRequires: ghc-base-prof BuildRequires: ghc-blaze-html-prof BuildRequires: ghc-blaze-markup-prof BuildRequires: ghc-bytestring-prof BuildRequires: ghc-case-insensitive-prof BuildRequires: ghc-clientsession-prof BuildRequires: ghc-cmdargs-prof BuildRequires: ghc-conduit-prof BuildRequires: ghc-conduit-extra-prof BuildRequires: ghc-containers-prof BuildRequires: ghc-data-default-prof BuildRequires: ghc-directory-prof BuildRequires: ghc-extra-prof BuildRequires: ghc-filepath-prof BuildRequires: ghc-hjsmin-prof BuildRequires: ghc-hledger-prof BuildRequires: ghc-hledger-lib-prof BuildRequires: ghc-hspec-prof BuildRequires: ghc-http-client-prof BuildRequires: ghc-http-conduit-prof BuildRequires: ghc-http-types-prof BuildRequires: ghc-megaparsec-prof BuildRequires: ghc-mtl-prof BuildRequires: ghc-network-prof BuildRequires: ghc-shakespeare-prof BuildRequires: ghc-template-haskell-prof BuildRequires: ghc-text-prof BuildRequires: ghc-time-prof BuildRequires: ghc-transformers-prof BuildRequires: ghc-unix-compat-prof BuildRequires: ghc-unordered-containers-prof BuildRequires: ghc-utf8-string-prof BuildRequires: ghc-wai-prof BuildRequires: ghc-wai-cors-prof BuildRequires: ghc-wai-extra-prof BuildRequires: ghc-wai-handler-launch-prof BuildRequires: ghc-warp-prof BuildRequires: ghc-yaml-prof BuildRequires: ghc-yesod-prof BuildRequires: ghc-yesod-core-prof BuildRequires: ghc-yesod-form-prof BuildRequires: ghc-yesod-static-prof #BuildRequires: ghc-yesod-test-prof # for missing dep 'yesod-test': BuildRequires: ghc-HUnit-prof BuildRequires: ghc-attoparsec-prof BuildRequires: ghc-blaze-builder-prof BuildRequires: ghc-cookie-prof BuildRequires: ghc-hspec-core-prof BuildRequires: ghc-html-conduit-prof BuildRequires: ghc-memory-prof BuildRequires: ghc-pretty-show-prof BuildRequires: ghc-xml-conduit-prof BuildRequires: ghc-xml-types-prof # End cabal-rpm deps %description A simple web-based user interface for the hledger accounting system, providing a more modern UI than the command-line or terminal interfaces. It can be used as a local single-user UI, or as a multi-user UI for viewing/adding/editing on the web. hledger is a robust, cross-platform set of tools for tracking money, time, or any other commodity, using double-entry accounting and a simple, editable file format, with command-line, terminal and web interfaces. It is a Haskell rewrite of Ledger, and one of the leading implementations of Plain Text Accounting. Read more at: . %package -n ghc-%{name} Summary: Haskell %{name} library %description -n ghc-%{name} This package provides the Haskell %{name} shared library. %package -n ghc-%{name}-devel Summary: Haskell %{name} library development files Provides: ghc-%{name}-static = %{version}-%{release} Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} %endif Requires: ghc-%{name}%{?_isa} = %{version}-%{release} %description -n ghc-%{name}-devel This package provides the Haskell %{name} library development files. %if %{with haddock} %package -n ghc-%{name}-doc Summary: Haskell %{name} library documentation BuildArch: noarch Requires: ghc-filesystem %description -n ghc-%{name}-doc This package provides the Haskell %{name} library documentation. %endif %if %{with ghc_prof} %package -n ghc-%{name}-prof Summary: Haskell %{name} profiling library Requires: ghc-%{name}-devel%{?_isa} = %{version}-%{release} Supplements: (ghc-%{name}-devel and ghc-prof) %description -n ghc-%{name}-prof This package provides the Haskell %{name} profiling library. %endif %global main_version %{version} %if %{defined ghclibdir} %ghc_lib_subpackage %{yesodtest} %endif %global version %{main_version} %prep # Begin cabal-rpm setup: %setup -q -a1 dos2unix -k -n %{SOURCE2} %{name}.cabal # End cabal-rpm setup %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 %ghc_fix_rpath %{pkgver} # End cabal-rpm install %files # Begin cabal-rpm files: %license LICENSE %doc CHANGES.md README.md %{_bindir}/%{name} # End cabal-rpm files %files -n ghc-%{name} -f ghc-%{name}.files # Begin cabal-rpm files: %license LICENSE # End cabal-rpm files %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files %doc CHANGES.md README.md %if %{with haddock} %files -n ghc-%{name}-doc -f ghc-%{name}-doc.files %license LICENSE %endif %if %{with ghc_prof} %files -n ghc-%{name}-prof -f ghc-%{name}-prof.files %endif %changelog * Thu Jul 21 2022 Fedora Release Engineering - 1.21-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Jens Petersen - 1.21-5 - rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.21-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Jan 08 2022 Miro HronĨok - 1.21-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 * Thu Aug 5 2021 Jens Petersen - 1.21-2 - update to 1.21 * Thu Aug 5 2021 Jens Petersen - 1.20.3-1 - update to 1.20.3 - subpackage yesod-test * Thu Jul 22 2021 Fedora Release Engineering - 1.18.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.18.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.18.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jul 16 2020 Jens Petersen - 1.18.1-1 - update to 1.18.1 * Fri Jun 19 2020 Jens Petersen - 1.18-1 - update to 1.18 * Wed Jun 10 2020 Jens Petersen - 1.16.2-1 - update to 1.16.2 * Fri Feb 14 2020 Jens Petersen - 1.14.1-1 - update to 1.14.1 * Wed Jan 29 2020 Fedora Release Engineering - 1.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Jens Petersen - 1.12-1 - update to 1.12 * Thu Jul 25 2019 Fedora Release Engineering - 1.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 2 2019 Fedora Haskell SIG - 1.10-1 - spec file generated by cabal-rpm-0.13