# generated by cabal-rpm-0.13 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name hledger-web %global pkgver %{pkg_name}-%{version} Name: %{pkg_name} Version: 1.10 Release: 1%{?dist} Summary: Web interface for the hledger accounting tool 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/%{pkgver}/%{name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-HUnit-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-data-default-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-filepath-devel BuildRequires: ghc-hjsmin-devel BuildRequires: ghc-hledger-devel BuildRequires: ghc-hledger-lib-devel BuildRequires: ghc-http-client-devel BuildRequires: ghc-http-conduit-devel BuildRequires: ghc-json-devel BuildRequires: ghc-megaparsec-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-semigroups-devel BuildRequires: ghc-shakespeare-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-text-devel BuildRequires: ghc-time-devel BuildRequires: ghc-transformers-devel BuildRequires: ghc-wai-devel BuildRequires: ghc-wai-extra-devel BuildRequires: ghc-wai-handler-launch-devel BuildRequires: ghc-warp-devel BuildRequires: ghc-yaml-devel BuildRequires: ghc-yesod-core-devel BuildRequires: ghc-yesod-devel BuildRequires: ghc-yesod-form-devel BuildRequires: ghc-yesod-static-devel # End cabal-rpm deps %description This is hledger's web interface. It provides a more user-friendly and collaborative UI than the command-line or curses-style interfaces. 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. %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}-doc = %{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. %prep # Begin cabal-rpm setup: %setup -q cp -bp %{SOURCE1} %{name}.cabal # End cabal-rpm setup %build # Begin cabal-rpm build: %ghc_lib_build # End cabal-rpm build %install # Begin cabal-rpm install %ghc_lib_install # End cabal-rpm install %post -n ghc-%{name}-devel %ghc_pkg_recache %postun -n ghc-%{name}-devel %ghc_pkg_recache %files # Begin cabal-rpm files: %license LICENSE %doc CHANGES README %{_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 README %changelog * Thu May 2 2019 Fedora Haskell SIG - 1.10-1 - spec file generated by cabal-rpm-0.13