Пакет ghc8.6.4-clock: Specfile

%define ghc_version 8.6.4
%define hsc_name ghc
%define hsc_version %ghc_version
%define hsc_namever %hsc_name%hsc_version
%define h_pkg_name clock
%define f_pkg_name clock
%define pkg_libdir %_libdir/%hsc_name-%hsc_version/%h_pkg_name-%version

Name: %hsc_namever-%f_pkg_name
Version: 0.8
Release: alt1
License: BSD3
Packager: Evgeny Sinelnikov <sin@altlinux.org>
Group: Development/Haskell
Url: https://github.com/corsis/clock
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Summary: High-resolution clock functions: monotonic, realtime, cputime.

BuildPreReq: haskell(abi) = %ghc_version


%description
A package for convenient access to high-resolution clock and timer
functions of different operating systems via a unified API.

%prep
%setup
%patch -p1

%build
%hs_configure2
%hs_build

%install
%hs_install
%hs_gen_filelist

%files -f %name-files.all

%changelog
* Wed Sep 18 2019 Evgeny Sinelnikov <sin@altlinux.org> 0.8-alt1
- Spec created by cabal2rpm 0.20_11