Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-release-src > by-pkgid > 5adc910c5db3174eeb224706a66283db > files > 1

haskell-testpack-1.0.2-1mdv2010.1.src.rpm

%define module testpack

Name: haskell-%{module}
Version: 1.0.2
Release: %mkrel 1
Summary: Test Utililty Pack for HUnit and QuickCheck
Group: Development/Other
License: LGPL
Url: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{module}
Source: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{module}/%{module}-%{version}.tar.gz
BuildRoot: %_tmppath/%name-%version-%release-root
BuildRequires: haskell-macros
BuildRequires: ghc

%description
Haskell Test Utility Pack for HUnit and QuickCheck testpack provides
utilities for both HUnit and QuickCheck. These include tools for running
QuickCheck properties as HUnit test cases, allowing you to combine both
approaches in a single program. It also includes tools for more helpful
displays of running progress in both HUnit and QuickCheck, additional
generators for other types for QuickCheck, and shortcuts for quickly
defining new test cases.

%prep
%setup -q -n %{module}-%{version}

%build
%_cabal_build

%_cabal_genscripts

%check
%_cabal_check

%install
%_cabal_install

rm -fr %{buildroot}/%_datadir/*/doc/

%_cabal_rpm_gen_deps

%_cabal_scriptlets

%files
%defattr(-,root,root)
%{_docdir}/%{module}-%{version}/*
%_libdir/*
%_cabal_rpm_files

%clean
rm -fr %buildroot


%changelog
* Sat Dec 05 2009 Funda Wang <fwang@mandriva.org> 1.0.2-1mdv2010.1
+ Revision: 473969
- import haskell-testpack