osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-pandoc revision:9, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pandoc?expand=0&rev=2
This commit is contained in:
Peter Simons 2023-03-30 08:26:28 +00:00 committed by Git OBS Bridge
parent b421d92956
commit 6285b0ce47

View File

@ -17,7 +17,7 @@
%global pkg_name pandoc
%global has_internal_sub_libraries 1
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 3.0.1
@ -28,79 +28,152 @@ 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-Glob-devel
BuildRequires: ghc-Glob-prof
BuildRequires: ghc-JuicyPixels-devel
BuildRequires: ghc-JuicyPixels-prof
BuildRequires: ghc-SHA-devel
BuildRequires: ghc-SHA-prof
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-aeson-pretty-devel
BuildRequires: ghc-aeson-pretty-prof
BuildRequires: ghc-aeson-prof
BuildRequires: ghc-array-devel
BuildRequires: ghc-array-prof
BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-attoparsec-prof
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-base64-devel
BuildRequires: ghc-base64-prof
BuildRequires: ghc-binary-devel
BuildRequires: ghc-binary-prof
BuildRequires: ghc-blaze-html-devel
BuildRequires: ghc-blaze-html-prof
BuildRequires: ghc-blaze-markup-devel
BuildRequires: ghc-blaze-markup-prof
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-case-insensitive-devel
BuildRequires: ghc-case-insensitive-prof
BuildRequires: ghc-citeproc-devel
BuildRequires: ghc-citeproc-prof
BuildRequires: ghc-commonmark-devel
BuildRequires: ghc-commonmark-extensions-devel
BuildRequires: ghc-commonmark-extensions-prof
BuildRequires: ghc-commonmark-pandoc-devel
BuildRequires: ghc-commonmark-pandoc-prof
BuildRequires: ghc-commonmark-prof
BuildRequires: ghc-connection-devel
BuildRequires: ghc-connection-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-doctemplates-devel
BuildRequires: ghc-doctemplates-prof
BuildRequires: ghc-emojis-devel
BuildRequires: ghc-emojis-prof
BuildRequires: ghc-exceptions-devel
BuildRequires: ghc-exceptions-prof
BuildRequires: ghc-file-embed-devel
BuildRequires: ghc-file-embed-prof
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-gridtables-devel
BuildRequires: ghc-gridtables-prof
BuildRequires: ghc-haddock-library-devel
BuildRequires: ghc-haddock-library-prof
BuildRequires: ghc-http-client-devel
BuildRequires: ghc-http-client-prof
BuildRequires: ghc-http-client-tls-devel
BuildRequires: ghc-http-client-tls-prof
BuildRequires: ghc-http-types-devel
BuildRequires: ghc-http-types-prof
BuildRequires: ghc-ipynb-devel
BuildRequires: ghc-ipynb-prof
BuildRequires: ghc-jira-wiki-markup-devel
BuildRequires: ghc-jira-wiki-markup-prof
BuildRequires: ghc-mime-types-devel
BuildRequires: ghc-mime-types-prof
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-network-devel
BuildRequires: ghc-network-prof
BuildRequires: ghc-network-uri-devel
BuildRequires: ghc-network-uri-prof
BuildRequires: ghc-pandoc-types-devel
BuildRequires: ghc-pandoc-types-prof
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-parsec-prof
BuildRequires: ghc-pretty-devel
BuildRequires: ghc-pretty-prof
BuildRequires: ghc-pretty-show-devel
BuildRequires: ghc-pretty-show-prof
BuildRequires: ghc-process-devel
BuildRequires: ghc-process-prof
BuildRequires: ghc-random-devel
BuildRequires: ghc-random-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-safe-devel
BuildRequires: ghc-safe-prof
BuildRequires: ghc-scientific-devel
BuildRequires: ghc-scientific-prof
BuildRequires: ghc-skylighting-core-devel
BuildRequires: ghc-skylighting-core-prof
BuildRequires: ghc-skylighting-devel
BuildRequires: ghc-skylighting-prof
BuildRequires: ghc-split-devel
BuildRequires: ghc-split-prof
BuildRequires: ghc-syb-devel
BuildRequires: ghc-syb-prof
BuildRequires: ghc-tagsoup-devel
BuildRequires: ghc-tagsoup-prof
BuildRequires: ghc-temporary-devel
BuildRequires: ghc-temporary-prof
BuildRequires: ghc-texmath-devel
BuildRequires: ghc-texmath-prof
BuildRequires: ghc-text-conversions-devel
BuildRequires: ghc-text-conversions-prof
BuildRequires: ghc-text-devel
BuildRequires: ghc-text-prof
BuildRequires: ghc-time-devel
BuildRequires: ghc-time-prof
BuildRequires: ghc-unicode-collation-devel
BuildRequires: ghc-unicode-collation-prof
BuildRequires: ghc-unicode-transforms-devel
BuildRequires: ghc-unicode-transforms-prof
BuildRequires: ghc-unix-devel
BuildRequires: ghc-unix-prof
BuildRequires: ghc-xml-conduit-devel
BuildRequires: ghc-xml-conduit-prof
BuildRequires: ghc-xml-devel
BuildRequires: ghc-xml-prof
BuildRequires: ghc-xml-types-devel
BuildRequires: ghc-xml-types-prof
BuildRequires: ghc-yaml-devel
BuildRequires: ghc-yaml-prof
BuildRequires: ghc-zip-archive-devel
BuildRequires: ghc-zip-archive-prof
BuildRequires: ghc-zlib-devel
BuildRequires: ghc-zlib-prof
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-Diff-devel
BuildRequires: ghc-Diff-prof
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-golden-devel
BuildRequires: ghc-tasty-golden-prof
BuildRequires: ghc-tasty-hunit-devel
BuildRequires: ghc-tasty-hunit-prof
BuildRequires: ghc-tasty-prof
BuildRequires: ghc-tasty-quickcheck-devel
BuildRequires: ghc-tasty-quickcheck-prof
%endif
%description
@ -135,11 +208,27 @@ 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_without_haddock
%ghc_lib_build
%install
%ghc_lib_install
@ -326,4 +415,9 @@ This package provides the Haskell %{pkg_name} library development files.
%files devel -f %{name}-devel.files
%doc AUTHORS.md README.md changelog.md
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
%license COPYING.md
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
%changelog