diff options
author | CoprDistGit <infra@openeuler.org> | 2023-10-30 02:19:23 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-10-30 02:19:23 +0000 |
commit | e160bb966ac6e19c94b9b398dc2a0e3228af2fb5 (patch) | |
tree | ec9958573cfa126eef9f22620d2356c9c6017dc2 | |
parent | a2e89f16377bb191a82ee0be46487ea4f209e8be (diff) |
automatic import of ghc-unliftio-coreopeneuler23.09
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | ghc-unliftio-core.spec | 77 | ||||
-rw-r--r-- | sources | 1 | ||||
-rwxr-xr-x | unliftio-core.cabal | 34 |
4 files changed, 113 insertions, 0 deletions
@@ -0,0 +1 @@ +/unliftio-core-0.2.1.0.tar.gz diff --git a/ghc-unliftio-core.spec b/ghc-unliftio-core.spec new file mode 100644 index 0000000..cb49cb1 --- /dev/null +++ b/ghc-unliftio-core.spec @@ -0,0 +1,77 @@ +%global pkg_name unliftio-core +%global pkgver %{pkg_name}-%{version} +Name: ghc-%{pkg_name} +Version: 0.2.1.0 +Release: 1 +Summary: The MonadUnliftIO typeclass for unlifting monads to IO +License: MIT +URL: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-transformers-devel +BuildRequires: ghc-transformers-prof +ExcludeArch: %{ix86} + +%description +Please see the documentation and README at +<https://www.stackage.org/package/unliftio-core>. + +%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}-help +Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch + +%description -n ghc-%{pkg_name}-help +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} +cp -p %{SOURCE1} %{pkg_name}.cabal + +%build +%ghc_lib_build + +%install +%ghc_lib_install + +%post devel +%ghc_pkg_recache + +%postun devel +%ghc_pkg_recache + +%files -f %{name}.files +%license LICENSE + +%files devel -f %{name}-devel.files +%doc ChangeLog.md README.md + +%files -n ghc-%{pkg_name}-help -f ghc-%{pkg_name}-help.files +%license LICENSE + +%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files + +%changelog +* Thu Sep 28 2023 Lin Runze <lrzlin@163.com> 0.2.1.0-1 +- Initial packaging (Version 0.2.1.0) @@ -0,0 +1 @@ +bc55f3c5ad65fc62807ec2d6247a5e34 unliftio-core-0.2.1.0.tar.gz diff --git a/unliftio-core.cabal b/unliftio-core.cabal new file mode 100755 index 0000000..0fd05aa --- /dev/null +++ b/unliftio-core.cabal @@ -0,0 +1,34 @@ +cabal-version: 1.12
+
+-- This file has been generated from package.yaml by hpack version 0.35.1.
+--
+-- see: https://github.com/sol/hpack
+
+name: unliftio-core
+version: 0.2.1.0
+x-revision: 2
+synopsis: The MonadUnliftIO typeclass for unlifting monads to IO
+description: Please see the documentation and README at <https://www.stackage.org/package/unliftio-core>
+category: Control
+homepage: https://github.com/fpco/unliftio/tree/master/unliftio-core#readme
+author: Michael Snoyman, Francesco Mazzoli
+maintainer: michael@snoyman.com
+copyright: 2017-2020 FP Complete
+license: MIT
+license-file: LICENSE
+build-type: Simple
+extra-source-files:
+ README.md
+ ChangeLog.md
+
+library
+ exposed-modules:
+ Control.Monad.IO.Unlift
+ other-modules:
+ Paths_unliftio_core
+ hs-source-dirs:
+ src
+ build-depends:
+ base >=4.9 && <4.19
+ , transformers >=0.2 && <0.7
+ default-language: Haskell2010
|