|
|
|
@ -2,15 +2,17 @@
|
|
|
|
|
|
|
|
|
|
%global pkg_name network
|
|
|
|
|
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
# part of haskell-platform
|
|
|
|
|
Version: 2.4.1.2
|
|
|
|
|
Release: 31%{?dist}
|
|
|
|
|
Summary: Network library
|
|
|
|
|
Version: 2.4.2.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Low-level networking interface
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
|
Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
@ -18,6 +20,12 @@ BuildRequires: ghc-rpm-macros
|
|
|
|
|
BuildRequires: ghc-bytestring-devel
|
|
|
|
|
BuildRequires: ghc-parsec-devel
|
|
|
|
|
BuildRequires: ghc-unix-devel
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
BuildRequires: ghc-HUnit-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-hunit-devel
|
|
|
|
|
BuildRequires: ghc-test-framework-quickcheck2-devel
|
|
|
|
|
%endif
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -48,6 +56,12 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
%cabal test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
@ -65,6 +79,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jun 04 2014 Jens Petersen <petersen@redhat.com> - 2.4.2.2-1
|
|
|
|
|
- update to 2.4.2.2 with cabalrpm-0.8.11
|
|
|
|
|
|
|
|
|
|
* Mon Mar 17 2014 Jens Petersen <petersen@redhat.com> - 2.4.1.2-31
|
|
|
|
|
- bump release over haskell-platform
|
|
|
|
|
|
|
|
|
|