1
0

osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-hledger-lib revision:5, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hledger-lib?expand=0&rev=39
This commit is contained in:
Peter Simons 2023-03-30 08:26:24 +00:00 committed by Git OBS Bridge
parent f3174fc735
commit 13598b9881

View File

@ -17,6 +17,7 @@
%global pkg_name hledger-lib %global pkg_name hledger-lib
%global pkgver %{pkg_name}-%{version}
%bcond_with tests %bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 1.28 Version: 1.28
@ -27,49 +28,92 @@ URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-Decimal-devel BuildRequires: ghc-Decimal-devel
BuildRequires: ghc-Decimal-prof
BuildRequires: ghc-Glob-devel BuildRequires: ghc-Glob-devel
BuildRequires: ghc-Glob-prof
BuildRequires: ghc-aeson-devel BuildRequires: ghc-aeson-devel
BuildRequires: ghc-aeson-pretty-devel BuildRequires: ghc-aeson-pretty-devel
BuildRequires: ghc-aeson-pretty-prof
BuildRequires: ghc-aeson-prof
BuildRequires: ghc-ansi-terminal-devel BuildRequires: ghc-ansi-terminal-devel
BuildRequires: ghc-ansi-terminal-prof
BuildRequires: ghc-array-devel BuildRequires: ghc-array-devel
BuildRequires: ghc-array-prof
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-blaze-markup-devel BuildRequires: ghc-blaze-markup-devel
BuildRequires: ghc-blaze-markup-prof
BuildRequires: ghc-bytestring-devel BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-call-stack-devel BuildRequires: ghc-call-stack-devel
BuildRequires: ghc-call-stack-prof
BuildRequires: ghc-cassava-devel BuildRequires: ghc-cassava-devel
BuildRequires: ghc-cassava-megaparsec-devel BuildRequires: ghc-cassava-megaparsec-devel
BuildRequires: ghc-cassava-megaparsec-prof
BuildRequires: ghc-cassava-prof
BuildRequires: ghc-cmdargs-devel BuildRequires: ghc-cmdargs-devel
BuildRequires: ghc-cmdargs-prof
BuildRequires: ghc-containers-devel BuildRequires: ghc-containers-devel
BuildRequires: ghc-containers-prof
BuildRequires: ghc-data-default-devel BuildRequires: ghc-data-default-devel
BuildRequires: ghc-data-default-prof
BuildRequires: ghc-deepseq-devel BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-directory-devel BuildRequires: ghc-directory-devel
BuildRequires: ghc-directory-prof
BuildRequires: ghc-doclayout-devel BuildRequires: ghc-doclayout-devel
BuildRequires: ghc-doclayout-prof
BuildRequires: ghc-extra-devel BuildRequires: ghc-extra-devel
BuildRequires: ghc-extra-prof
BuildRequires: ghc-file-embed-devel BuildRequires: ghc-file-embed-devel
BuildRequires: ghc-file-embed-prof
BuildRequires: ghc-filepath-devel BuildRequires: ghc-filepath-devel
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-hashtables-devel BuildRequires: ghc-hashtables-devel
BuildRequires: ghc-hashtables-prof
BuildRequires: ghc-megaparsec-devel BuildRequires: ghc-megaparsec-devel
BuildRequires: ghc-megaparsec-prof
BuildRequires: ghc-microlens-devel BuildRequires: ghc-microlens-devel
BuildRequires: ghc-microlens-prof
BuildRequires: ghc-microlens-th-devel BuildRequires: ghc-microlens-th-devel
BuildRequires: ghc-microlens-th-prof
BuildRequires: ghc-mtl-devel BuildRequires: ghc-mtl-devel
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-parser-combinators-devel BuildRequires: ghc-parser-combinators-devel
BuildRequires: ghc-parser-combinators-prof
BuildRequires: ghc-pretty-simple-devel BuildRequires: ghc-pretty-simple-devel
BuildRequires: ghc-pretty-simple-prof
BuildRequires: ghc-regex-tdfa-devel BuildRequires: ghc-regex-tdfa-devel
BuildRequires: ghc-regex-tdfa-prof
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: ghc-safe-devel BuildRequires: ghc-safe-devel
BuildRequires: ghc-safe-prof
BuildRequires: ghc-tabular-devel BuildRequires: ghc-tabular-devel
BuildRequires: ghc-tabular-prof
BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-hunit-devel BuildRequires: ghc-tasty-hunit-devel
BuildRequires: ghc-tasty-hunit-prof
BuildRequires: ghc-tasty-prof
BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-template-haskell-devel
BuildRequires: ghc-template-haskell-prof
BuildRequires: ghc-text-devel BuildRequires: ghc-text-devel
BuildRequires: ghc-text-prof
BuildRequires: ghc-time-devel BuildRequires: ghc-time-devel
BuildRequires: ghc-time-prof
BuildRequires: ghc-timeit-devel BuildRequires: ghc-timeit-devel
BuildRequires: ghc-timeit-prof
BuildRequires: ghc-transformers-devel BuildRequires: ghc-transformers-devel
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-uglymemo-devel BuildRequires: ghc-uglymemo-devel
BuildRequires: ghc-uglymemo-prof
BuildRequires: ghc-unordered-containers-devel BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-unordered-containers-prof
BuildRequires: ghc-utf8-string-devel BuildRequires: ghc-utf8-string-devel
BuildRequires: ghc-utf8-string-prof
ExcludeArch: %{ix86} ExcludeArch: %{ix86}
%if %{with tests} %if %{with tests}
BuildRequires: ghc-doctest-devel BuildRequires: ghc-doctest-devel
BuildRequires: ghc-doctest-prof
%endif %endif
%description %description
@ -93,6 +137,22 @@ Requires(postun): ghc-compiler = %{ghc_version}
%description devel %description devel
This package provides the Haskell %{pkg_name} library development files. 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 %prep
%autosetup -n %{pkg_name}-%{version} %autosetup -n %{pkg_name}-%{version}
@ -117,4 +177,9 @@ This package provides the Haskell %{pkg_name} library development files.
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%doc CHANGES.md README.md %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 %changelog