Initial import (#1515504).

This commit is contained in:
Elliott Sales de Andrade 2017-11-20 21:52:57 -05:00
parent 7bd70bc6f8
commit 5fa50dd16a
4 changed files with 84 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/tasty-quickcheck-0.9.1.tar.gz

View File

@ -1,3 +0,0 @@
# ghc-tasty-quickcheck
The ghc-tasty-quickcheck package

82
ghc-tasty-quickcheck.spec Normal file
View File

@ -0,0 +1,82 @@
# generated by cabal-rpm-0.11.2
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name tasty-quickcheck
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.9.1
Release: 1%{?dist}
Summary: QuickCheck support for the Tasty test framework
License: MIT
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-random-devel
BuildRequires: ghc-tagged-devel
BuildRequires: ghc-tasty-devel
%if %{with tests}
BuildRequires: ghc-pcre-light-devel
BuildRequires: ghc-tasty-hunit-devel
%endif
# End cabal-rpm deps
%description
QuickCheck support for the Tasty test framework.
%package devel
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development
files.
%prep
%setup -q -n %{pkgver}
%build
%ghc_lib_build
%install
%ghc_lib_install
%check
%cabal_test
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%license LICENSE
%files devel -f %{name}-devel.files
%doc CHANGELOG.md
%changelog
* Wed Nov 15 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.9.1-1
- spec file generated by cabal-rpm-0.11.2

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (tasty-quickcheck-0.9.1.tar.gz) = 41977101c311708ce89dabbc7502b327f7a3e6b926a1469773bfee09309cb0187ec1fee01117a09995eb1ee84aab30b928475bdeb98d42c0fb25efe61fdd1211