File ghc-base-prelude.spec of Package ghc-base-prelude

# spec file for package ghc-base-prelude
# Copyright (c) 2020 SUSE LLC
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%global pkg_name base-prelude
Name:           ghc-%{pkg_name}
Version:        1.4
Release:        0
Summary:        The most complete prelude formed solely from the "base" package
License:        MIT
URL:  {pkg_name}
BuildRequires:  ghc-Cabal-devel
BuildRequires:  ghc-rpm-macros

A library which aims to reexport all the non-conflicting and most general
definitions from the "base" package. This includes APIs for applicatives,
arrows, monoids, foldables, traversables, exceptions, generics, ST, MVars and

This package will never have any dependencies other than "base".

/Versioning policy/

The versioning policy of this package deviates from PVP in the sense that its
exports in part are transitively determined by the version of "base".
Therefore it's recommended for the users of "base-prelude" to specify the
bounds of "base" as well.

%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.

%setup -q -n %{pkg_name}-%{version}



%post devel

%postun devel

%files -f %{name}.files
%license LICENSE

%files devel -f %{name}-devel.files