# https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name smallcheck %global common_summary A testing library to verify properties of test cases %global common_description SmallCheck is a testing library that allows to verify properties for\ all test cases up to some depth. The test cases are generated automatically. Name: ghc-%{pkg_name} Version: 0.6.1 Release: 4%{?dist} Summary: %{common_summary} 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 BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: # End cabal-rpm deps BuildRequires: ghc-dlist-devel %description %{common_description} %prep %setup -q -n %{pkg_name}-%{version} chmod -x examples/run-examples.sh %build %ghc_lib_build %install %ghc_lib_install %ghc_devel_package %ghc_devel_description %ghc_devel_post_postun %ghc_files LICENSE %doc examples README.md %changelog * Wed Feb 13 2013 Fedora Release Engineering - 0.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Nov 17 2012 Jens Petersen - 0.6.1-3 - update with cabal-rpm * Thu Jul 19 2012 Fedora Release Engineering - 0.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 08 2012 Shakthi Kannan - 0.6.1-1 - Updated common summary and description. - Added BR ghc-dlist-devel. - Spec file template generated by cabal2spec-0.25.5.