c64d63b
# generated by cabal-rpm-2.0.2
5fa50dd
# https://fedoraproject.org/wiki/Packaging:Haskell
5fa50dd
5fa50dd
%global pkg_name tasty-quickcheck
5fa50dd
%global pkgver %{pkg_name}-%{version}
5fa50dd
5fa50dd
%bcond_with tests
5fa50dd
5fa50dd
Name:           ghc-%{pkg_name}
d836647
Version:        0.10.1.1
d836647
Release:        1%{?dist}
5fa50dd
Summary:        QuickCheck support for the Tasty test framework
5fa50dd
5fa50dd
License:        MIT
5fa50dd
Url:            https://hackage.haskell.org/package/%{pkg_name}
1396015
# Begin cabal-rpm sources:
5fa50dd
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
1396015
# End cabal-rpm sources
5fa50dd
1396015
# Begin cabal-rpm deps:
5fa50dd
BuildRequires:  ghc-Cabal-devel
5fa50dd
BuildRequires:  ghc-rpm-macros
500e8fe
BuildRequires:  ghc-QuickCheck-prof
500e8fe
BuildRequires:  ghc-base-prof
500e8fe
BuildRequires:  ghc-optparse-applicative-prof
500e8fe
BuildRequires:  ghc-random-prof
500e8fe
BuildRequires:  ghc-tagged-prof
500e8fe
BuildRequires:  ghc-tasty-prof
5fa50dd
%if %{with tests}
5fa50dd
BuildRequires:  ghc-pcre-light-devel
5fa50dd
BuildRequires:  ghc-tasty-hunit-devel
5fa50dd
%endif
5fa50dd
# End cabal-rpm deps
5fa50dd
5fa50dd
%description
5fa50dd
QuickCheck support for the Tasty test framework.
5fa50dd
5fa50dd
5fa50dd
%package devel
5fa50dd
Summary:        Haskell %{pkg_name} library development files
5fa50dd
Provides:       %{name}-static = %{version}-%{release}
500e8fe
Provides:       %{name}-static%{?_isa} = %{version}-%{release}
74582b5
%if %{defined ghc_version}
5fa50dd
Requires:       ghc-compiler = %{ghc_version}
74582b5
%endif
5fa50dd
Requires:       %{name}%{?_isa} = %{version}-%{release}
5fa50dd
5fa50dd
%description devel
5fa50dd
This package provides the Haskell %{pkg_name} library development
5fa50dd
files.
5fa50dd
5fa50dd
588050b
%if %{with haddock}
588050b
%package doc
588050b
Summary:        Haskell %{pkg_name} library documentation
c64d63b
BuildArch:      noarch
588050b
588050b
%description doc
588050b
This package provides the Haskell %{pkg_name} library documentation.
588050b
%endif
588050b
588050b
588050b
%if %{with ghc_prof}
588050b
%package prof
588050b
Summary:        Haskell %{pkg_name} profiling library
588050b
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
c64d63b
Supplements:    (%{name}-devel and ghc-prof)
588050b
588050b
%description prof
588050b
This package provides the Haskell %{pkg_name} profiling library.
588050b
%endif
588050b
588050b
5fa50dd
%prep
1396015
# Begin cabal-rpm setup:
5fa50dd
%setup -q -n %{pkgver}
1396015
# End cabal-rpm setup
5fa50dd
5fa50dd
5fa50dd
%build
1396015
# Begin cabal-rpm build:
5fa50dd
%ghc_lib_build
1396015
# End cabal-rpm build
5fa50dd
5fa50dd
5fa50dd
%install
1396015
# Begin cabal-rpm install
5fa50dd
%ghc_lib_install
1396015
# End cabal-rpm install
5fa50dd
5fa50dd
5fa50dd
%check
5fa50dd
%cabal_test
5fa50dd
5fa50dd
c64d63b
%if 0%{?fedora} < 31 || 0%{?rhel} < 8
c64d63b
%post devel
c64d63b
%ghc_pkg_recache
c64d63b
c64d63b
c64d63b
%postun devel
c64d63b
%ghc_pkg_recache
c64d63b
%endif
c64d63b
c64d63b
5fa50dd
%files -f %{name}.files
1396015
# Begin cabal-rpm files:
5fa50dd
%license LICENSE
1396015
# End cabal-rpm files
5fa50dd
5fa50dd
5fa50dd
%files devel -f %{name}-devel.files
5fa50dd
%doc CHANGELOG.md
5fa50dd
5fa50dd
588050b
%if %{with haddock}
588050b
%files doc -f %{name}-doc.files
c64d63b
%license LICENSE
588050b
%endif
588050b
588050b
588050b
%if %{with ghc_prof}
588050b
%files prof -f %{name}-prof.files
588050b
%endif
588050b
588050b
5fa50dd
%changelog
d836647
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 0.10.1.1-1
d836647
- update to 0.10.1.1
d836647
c396c2d
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-2
c396c2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c396c2d
558fb42
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 0.10.1-1
558fb42
- update to 0.10.1
558fb42
c54d5ef
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-2
c54d5ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c54d5ef
a9347bb
* Thu Feb 21 2019 Jens Petersen <petersen@redhat.com> - 0.10-1
a9347bb
- update to 0.10
a9347bb
1396015
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.9.2-6
1396015
- refresh to cabal-rpm-0.13
1396015
36a39fa
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-5
36a39fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
36a39fa
8417657
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.9.2-4
8417657
- rebuild
8417657
3f804a4
* Mon Jul 23 2018 Miro HronĨok <mhroncok@redhat.com> - 0.9.2-3
3f804a4
- Rebuilt for #1607054
3f804a4
a7a9dd2
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-2
a7a9dd2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a7a9dd2
544f17e
* Mon Jul 09 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.9.2-1
544f17e
- update to 0.9.2
544f17e
c5f847f
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-3
c5f847f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c5f847f
bc35a5f
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.9.1-2
bc35a5f
- rebuild
bc35a5f
5fa50dd
* Wed Nov 15 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.9.1-1
5fa50dd
- spec file generated by cabal-rpm-0.11.2