Jens Petersen 7 years ago
parent 3a751723bc
commit bf48dd96cf

1
.gitignore vendored

@ -0,0 +1 @@
/comonad-5.0.2.tar.gz

@ -1,3 +0,0 @@
# ghc-comonad
The ghc-comonad package

@ -0,0 +1,87 @@
# generated by cabal-rpm-0.11.2
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name comonad
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 5.0.2
Release: 1%{?dist}
Summary: Categorical dual of monads
License: BSD
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-cabal-doctest-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-contravariant-devel
BuildRequires: ghc-distributive-devel
BuildRequires: ghc-semigroups-devel
BuildRequires: ghc-tagged-devel
BuildRequires: ghc-transformers-compat-devel
BuildRequires: ghc-transformers-devel
%if %{with tests}
BuildRequires: ghc-doctest-devel
%endif
# End cabal-rpm deps
%description
This package provides comonads, the categorical dual of monads.
%package devel
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
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
%check
%cabal_test
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%license LICENSE
%files devel -f %{name}-devel.files
%doc CHANGELOG.markdown README.markdown examples
%changelog
* Fri Aug 25 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 5.0.2-1
- spec file generated by cabal-rpm-0.11.2
* Sun Jun 28 2015 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 4.2.7-1
- spec file generated by cabal-rpm-0.9.6

@ -0,0 +1 @@
SHA512 (comonad-5.0.2.tar.gz) = 78969422bcd78792a612398ef04639d6296e5db5181dc54dcc6efd4f50ed9caada67b75263268dc70030a0861ac8624242f77e3313fffae042451e05f49d1499
Loading…
Cancel
Save