diff --git a/.gitignore b/.gitignore index e69de29..4b9b758 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/smallcheck-0.6.1.tar.gz diff --git a/ghc-smallcheck.spec b/ghc-smallcheck.spec new file mode 100644 index 0000000..99ad0e5 --- /dev/null +++ b/ghc-smallcheck.spec @@ -0,0 +1,56 @@ +# cabal2spec-0.25 +# 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 to verify\ + properties for all test cases up to some depth. The test cases are\ + generated automatically by SmallCheck. + +Name: ghc-%{pkg_name} +Version: 0.6.1 +Release: 1%{?dist} +Summary: %{common_summary} + +Group: System Environment/Libraries +License: BSD +# BEGIN cabal2spec +URL: http://hackage.haskell.org/package/%{pkg_name} +Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +ExclusiveArch: %{ghc_arches} +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +# END cabal2spec + +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 + +# devel subpackage +%ghc_devel_package + +%ghc_devel_description + +%ghc_devel_post_postun + +%ghc_files LICENSE examples Test + +%changelog +* 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. diff --git a/sources b/sources index e69de29..4aa3cfb 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +133eaace073cfd563763434b34740409 smallcheck-0.6.1.tar.gz