From a5583f0100533c76767da67f36d073e035effa64 Mon Sep 17 00:00:00 2001 From: Alexey Lyubimov Date: Fri, 25 Aug 2023 15:22:17 +0300 Subject: [PATCH] import ghc-unliftio-core-0.2.0.1-2.el9 --- .ghc-unliftio-core.metadata | 1 + .gitignore | 1 + SOURCES/unliftio-core-0.2.0.1.cabal | 36 +++++++ SPECS/ghc-unliftio-core.spec | 157 ++++++++++++++++++++++++++++ 4 files changed, 195 insertions(+) create mode 100644 .ghc-unliftio-core.metadata create mode 100644 .gitignore create mode 100644 SOURCES/unliftio-core-0.2.0.1.cabal create mode 100644 SPECS/ghc-unliftio-core.spec diff --git a/.ghc-unliftio-core.metadata b/.ghc-unliftio-core.metadata new file mode 100644 index 0000000..9725393 --- /dev/null +++ b/.ghc-unliftio-core.metadata @@ -0,0 +1 @@ +3b100788c9f61e50ff748f170effc28d68aa1ab7 SOURCES/unliftio-core-0.2.0.1.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b3fbbbe --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/unliftio-core-0.2.0.1.tar.gz diff --git a/SOURCES/unliftio-core-0.2.0.1.cabal b/SOURCES/unliftio-core-0.2.0.1.cabal new file mode 100644 index 0000000..64c9e7f --- /dev/null +++ b/SOURCES/unliftio-core-0.2.0.1.cabal @@ -0,0 +1,36 @@ +cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.33.0. +-- +-- see: https://github.com/sol/hpack +-- +-- hash: 9cae5ca1af8760786d8e586fd9b1ed7e329f13f4ec8a3d0aee62818b25038c1f + +name: unliftio-core +version: 0.2.0.1 +x-revision: 2 +synopsis: The MonadUnliftIO typeclass for unlifting monads to IO +description: Please see the documentation and README at +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.5 && < 10 + , transformers >=0.2 && <0.7 + default-language: Haskell2010 diff --git a/SPECS/ghc-unliftio-core.spec b/SPECS/ghc-unliftio-core.spec new file mode 100644 index 0000000..7be31fe --- /dev/null +++ b/SPECS/ghc-unliftio-core.spec @@ -0,0 +1,157 @@ +# generated by cabal-rpm-2.0.9 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name unliftio-core +%global pkgver %{pkg_name}-%{version} + +Name: ghc-%{pkg_name} +Version: 0.2.0.1 +Release: 2%{?dist} +Summary: The MonadUnliftIO typeclass for unlifting monads to IO + +License: MIT +Url: https://hackage.haskell.org/package/%{pkg_name} +# Begin cabal-rpm sources: +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal +# End cabal-rpm sources + +# Begin cabal-rpm deps: +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-base-prof +BuildRequires: ghc-transformers-prof +# End cabal-rpm deps + +%description +Provides the core MonadUnliftIO typeclass, instances for base and transformers, +and basic utility functions. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +%endif +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch +Requires: ghc-filesystem + +%description doc +This package provides the Haskell %{pkg_name} library documentation. +%endif + + +%if %{with ghc_prof} +%package prof +Summary: Haskell %{pkg_name} profiling library +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + +%prep +# Begin cabal-rpm setup: +%setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_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 + + +%files -f %{name}.files +# Begin cabal-rpm files: +%license LICENSE +# End cabal-rpm files + + +%files devel -f %{name}-devel.files +%doc ChangeLog.md README.md + + +%if %{with haddock} +%files doc -f %{name}-doc.files +%license LICENSE +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + +%changelog +* Fri Aug 25 2023 Alexey Lyubimov - 0.2.0.1-2 +- Rebuilt for MSVSphere 9.2 + +* Thu Jan 20 2022 Fedora Release Engineering - 0.2.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Aug 5 2021 Jens Petersen - 0.2.0.1-1 +- update to 0.2.0.1 + +* Thu Jul 22 2021 Fedora Release Engineering - 0.1.2.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 0.1.2.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Aug 01 2020 Fedora Release Engineering - 0.1.2.0-7 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 0.1.2.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 17 2020 Jens Petersen - 0.1.2.0-5 +- refresh to cabal-rpm-2.0.6 + +* Tue Jan 28 2020 Fedora Release Engineering - 0.1.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Aug 02 2019 Jens Petersen - 0.1.2.0-3 +- add doc and prof subpackages (cabal-rpm-1.0.0) + +* Thu Jul 25 2019 Fedora Release Engineering - 0.1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Feb 21 2019 Jens Petersen - 0.1.2.0-1 +- update to 0.1.2.0 + +* Sun Feb 17 2019 Jens Petersen - 0.1.1.0-6 +- refresh to cabal-rpm-0.13 + +* Thu Jan 31 2019 Fedora Release Engineering - 0.1.1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.1.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 23 2018 Jens Petersen - 0.1.1.0-3 +- bump over resourcet + +* Sat Jan 27 2018 Fedora Haskell SIG - 0.1.1.0-1 +- spec file generated by cabal-rpm-0.12