From a93b33c3bbc4fda97ae0083c20d88595ef81695a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 23 Feb 2018 22:23:06 +0900 Subject: [PATCH] import (#1539323) --- .gitignore | 1 + README.md | 3 -- ghc-unliftio-core.spec | 72 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 74 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 ghc-unliftio-core.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2e40ca4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/unliftio-core-0.1.1.0.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 8e82da7..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ghc-unliftio-core - -The ghc-unliftio-core package \ No newline at end of file diff --git a/ghc-unliftio-core.spec b/ghc-unliftio-core.spec new file mode 100644 index 0000000..13b653c --- /dev/null +++ b/ghc-unliftio-core.spec @@ -0,0 +1,72 @@ +# generated by cabal-rpm-0.12 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name unliftio-core +%global pkgver %{pkg_name}-%{version} + +Name: ghc-%{pkg_name} +Version: 0.1.1.0 +Release: 1%{?dist} +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/%{pkgver}/%{pkgver}.tar.gz + +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-transformers-devel +# 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}-doc = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +%endif +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%prep +%setup -q -n %{pkgver} + + +%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 + + +%changelog +* Sat Jan 27 2018 Fedora Haskell SIG - 0.1.1.0-1 +- spec file generated by cabal-rpm-0.12 diff --git a/sources b/sources new file mode 100644 index 0000000..11940f6 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (unliftio-core-0.1.1.0.tar.gz) = e8be49b96f3daaff670dfa4b2a4e77bd290a5629b3df974155a7ea9631015969c9f4e9f74d4217eb1b77a47565aacf537e7f46f5f9a481c548a41f85876b1141