Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
ghc-hledger-lib
ghc-hledger-lib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ghc-hledger-lib.spec of Package ghc-hledger-lib
# # spec file for package ghc-hledger-lib # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global pkg_name hledger-lib %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} Version: 1.40 Release: 0 Summary: A library providing the core functionality of hledger License: GPL-3.0-or-later URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Decimal-devel BuildRequires: ghc-Decimal-prof BuildRequires: ghc-Glob-devel BuildRequires: ghc-Glob-prof BuildRequires: ghc-aeson-devel BuildRequires: ghc-aeson-pretty-devel BuildRequires: ghc-aeson-pretty-prof BuildRequires: ghc-aeson-prof BuildRequires: ghc-ansi-terminal-devel BuildRequires: ghc-ansi-terminal-prof BuildRequires: ghc-array-devel BuildRequires: ghc-array-prof BuildRequires: ghc-base-compat-devel BuildRequires: ghc-base-compat-prof BuildRequires: ghc-base-devel BuildRequires: ghc-base-prof BuildRequires: ghc-blaze-markup-devel BuildRequires: ghc-blaze-markup-prof BuildRequires: ghc-bytestring-devel BuildRequires: ghc-bytestring-prof BuildRequires: ghc-call-stack-devel BuildRequires: ghc-call-stack-prof BuildRequires: ghc-cassava-devel BuildRequires: ghc-cassava-megaparsec-devel BuildRequires: ghc-cassava-megaparsec-prof BuildRequires: ghc-cassava-prof BuildRequires: ghc-cmdargs-devel BuildRequires: ghc-cmdargs-prof BuildRequires: ghc-colour-devel BuildRequires: ghc-colour-prof BuildRequires: ghc-containers-devel BuildRequires: ghc-containers-prof BuildRequires: ghc-data-default-devel BuildRequires: ghc-data-default-prof BuildRequires: ghc-deepseq-devel BuildRequires: ghc-deepseq-prof BuildRequires: ghc-directory-devel BuildRequires: ghc-directory-prof BuildRequires: ghc-doclayout-devel BuildRequires: ghc-doclayout-prof BuildRequires: ghc-extra-devel BuildRequires: ghc-extra-prof BuildRequires: ghc-file-embed-devel BuildRequires: ghc-file-embed-prof BuildRequires: ghc-filepath-devel BuildRequires: ghc-filepath-prof BuildRequires: ghc-hashtables-devel BuildRequires: ghc-hashtables-prof BuildRequires: ghc-lucid-devel BuildRequires: ghc-lucid-prof BuildRequires: ghc-megaparsec-devel BuildRequires: ghc-megaparsec-prof BuildRequires: ghc-microlens-devel BuildRequires: ghc-microlens-prof BuildRequires: ghc-microlens-th-devel BuildRequires: ghc-microlens-th-prof BuildRequires: ghc-mtl-devel BuildRequires: ghc-mtl-prof BuildRequires: ghc-pager-devel BuildRequires: ghc-pager-prof BuildRequires: ghc-parser-combinators-devel BuildRequires: ghc-parser-combinators-prof BuildRequires: ghc-pretty-simple-devel BuildRequires: ghc-pretty-simple-prof BuildRequires: ghc-regex-tdfa-devel BuildRequires: ghc-regex-tdfa-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-safe-devel BuildRequires: ghc-safe-prof BuildRequires: ghc-tabular-devel BuildRequires: ghc-tabular-prof BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-hunit-devel BuildRequires: ghc-tasty-hunit-prof BuildRequires: ghc-tasty-prof BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-template-haskell-prof BuildRequires: ghc-terminal-size-devel BuildRequires: ghc-terminal-size-prof BuildRequires: ghc-text-ansi-devel BuildRequires: ghc-text-ansi-prof BuildRequires: ghc-text-devel BuildRequires: ghc-text-prof BuildRequires: ghc-time-devel BuildRequires: ghc-time-prof BuildRequires: ghc-timeit-devel BuildRequires: ghc-timeit-prof BuildRequires: ghc-transformers-devel BuildRequires: ghc-transformers-prof BuildRequires: ghc-uglymemo-devel BuildRequires: ghc-uglymemo-prof BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-unordered-containers-prof BuildRequires: ghc-utf8-string-devel BuildRequires: ghc-utf8-string-prof ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-doctest-devel BuildRequires: ghc-doctest-prof %endif %description This library contains hledger's core functionality. It is used by most hledger* packages so that they support the same command line options, file formats, reports, etc. 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. See also: - https://hledger.org - hledger's home page - https://hledger.org/dev.html - starting point for hledger's developer docs - https://hackage.haskell.org/package/hledger-lib/docs/Hledger.html - starting point for hledger's haddock docs. %package devel Summary: Haskell %{pkg_name} library development files Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} %description devel This package provides the Haskell %{pkg_name} library development files. %package -n ghc-%{pkg_name}-doc Summary: Haskell %{pkg_name} library documentation Requires: ghc-filesystem BuildArch: noarch %description -n ghc-%{pkg_name}-doc This package provides the Haskell %{pkg_name} library documentation. %package -n ghc-%{pkg_name}-prof Summary: Haskell %{pkg_name} profiling library Requires: ghc-%{pkg_name}-devel = %{version}-%{release} Supplements: (ghc-%{pkg_name}-devel and ghc-prof) %description -n ghc-%{pkg_name}-prof This package provides the Haskell %{pkg_name} profiling library. %prep %autosetup -n %{pkg_name}-%{version} %build %ghc_lib_build %install %ghc_lib_install %check %cabal_test %post devel %ghc_pkg_recache %postun devel %ghc_pkg_recache %files -f %{name}.files %license LICENSE %files devel -f %{name}-devel.files %doc CHANGES.md README.md %files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files %license LICENSE %files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor