mirror of
https://abf.rosa.ru/djam/ghc-prim.git
synced 2025-02-23 17:42:51 +00:00
36 lines
No EOL
835 B
RPMSpec
36 lines
No EOL
835 B
RPMSpec
%define debug_package %{nil}
|
|
%define module %{name}
|
|
|
|
Summary: Primitive types and operations supplied by GHC
|
|
Name: ghc-prim
|
|
Version: 0.5.0.0
|
|
Release: 1
|
|
License: BSD
|
|
Group: Development/Haskell
|
|
Url: http://hackage.haskell.org/package/%{module}
|
|
Source0: http://hackage.haskell.org/packages/archive/%{module}/%{version}/%{module}-%{version}.tar.gz
|
|
BuildRequires: ghc-devel >= 8.0.1
|
|
BuildRequires: haskell-macros
|
|
Requires(post,preun): ghc >= 8.0.1
|
|
|
|
%description
|
|
This package contains the primitive types and operations supplied by GHC.
|
|
|
|
%files
|
|
%{_docdir}/%{module}-%{version}
|
|
%{_libdir}/%{module}-%{version}
|
|
%{_cabal_rpm_deps_dir}
|
|
%{_cabal_haddoc_files}
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%_cabal_build
|
|
|
|
%install
|
|
%_cabal_install
|
|
%_cabal_rpm_gen_deps
|
|
%_cabal_scriptlets |