# generated by cabal-rpm-2.2.1 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name hledger-web %global pkgver %{pkg_name}-%{version} %{?haskell_setup} %global yesodtest yesod-test-1.6.16 %global subpkgs %{yesodtest} %bcond_without tests Name: %{pkg_name} Version: 1.32.3 # can only be reset when subpkg bumped Release: 1%{?dist} Summary: Web user interface for the hledger accounting system License: GPL-3.0-or-later 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-devel BuildRequires: ghc-aeson-devel BuildRequires: ghc-base-devel BuildRequires: ghc-base64-devel BuildRequires: ghc-blaze-html-devel BuildRequires: ghc-blaze-markup-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-case-insensitive-devel BuildRequires: ghc-clientsession-devel BuildRequires: ghc-cmdargs-devel BuildRequires: ghc-conduit-devel BuildRequires: ghc-conduit-extra-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-data-default-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-extra-devel BuildRequires: ghc-filepath-devel BuildRequires: ghc-hjsmin-devel BuildRequires: ghc-hledger-devel BuildRequires: ghc-hledger-lib-devel BuildRequires: ghc-hspec-devel BuildRequires: ghc-http-client-devel BuildRequires: ghc-http-conduit-devel BuildRequires: ghc-http-types-devel BuildRequires: ghc-megaparsec-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-network-devel BuildRequires: ghc-safe-devel BuildRequires: ghc-shakespeare-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-text-devel BuildRequires: ghc-time-devel BuildRequires: ghc-transformers-devel BuildRequires: ghc-unix-compat-devel BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-utf8-string-devel BuildRequires: ghc-wai-devel BuildRequires: ghc-wai-cors-devel BuildRequires: ghc-wai-extra-devel BuildRequires: ghc-wai-handler-launch-devel BuildRequires: ghc-warp-devel BuildRequires: ghc-yaml-devel BuildRequires: ghc-yesod-devel BuildRequires: ghc-yesod-core-devel BuildRequires: ghc-yesod-form-devel BuildRequires: ghc-yesod-static-devel #BuildRequires: ghc-yesod-test-devel %if %{with ghc_prof} BuildRequires: ghc-Decimal-prof BuildRequires: ghc-aeson-prof BuildRequires: ghc-base-prof BuildRequires: ghc-base64-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-safe-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 %endif # for missing dep 'yesod-test': BuildRequires: ghc-HUnit-devel BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-blaze-builder-devel BuildRequires: ghc-cookie-devel BuildRequires: ghc-hspec-core-devel BuildRequires: ghc-html-conduit-devel BuildRequires: ghc-memory-devel BuildRequires: ghc-pretty-show-devel BuildRequires: ghc-xml-conduit-devel BuildRequires: ghc-xml-types-devel %if %{with ghc_prof} 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 %endif # End cabal-rpm deps %description A simple web 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 -l MIT %{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 # End cabal-rpm install %check %if %{with tests} PATH=%{buildroot}%{_bindir}:$PATH %cabal_test %endif %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 * Sun Jul 28 2024 Jens Petersen - 1.32.3-1 - https://hackage.haskell.org/package/hledger-web-1.32.3/changelog - yesod-test-1.6.16 * Thu Jul 18 2024 Fedora Release Engineering - 1.30-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jan 24 2024 Fedora Release Engineering - 1.30-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 1.30-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jul 23 2023 Jens Petersen - 1.30-3 - https://hackage.haskell.org/package/hledger-web-1.30/changelog * Thu Jul 20 2023 Fedora Release Engineering - 1.27.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jan 22 2023 Jens Petersen - 1.27.1-7 - https://hackage.haskell.org/package/hledger-web-1.27.1/changelog - refresh to cabal-rpm-2.1.0 with SPDX migration * 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