b1bea9a
# generated by cabal-rpm-1.0.0
7250d8d
# https://fedoraproject.org/wiki/Packaging:Haskell
7250d8d
7250d8d
%global pkg_name quickcheck-io
7250d8d
%global pkgver %{pkg_name}-%{version}
7250d8d
7250d8d
Name:           ghc-%{pkg_name}
7250d8d
Version:        0.2.0
b1bea9a
Release:        9%{?dist}
7250d8d
Summary:        Use HUnit assertions as QuickCheck properties
7250d8d
7250d8d
License:        MIT
7250d8d
Url:            https://hackage.haskell.org/package/%{pkg_name}
2a586fb
# Begin cabal-rpm sources:
7250d8d
Source0:        https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
2a586fb
# End cabal-rpm sources
7250d8d
2a586fb
# Begin cabal-rpm deps:
7250d8d
BuildRequires:  ghc-Cabal-devel
b1bea9a
%if %{with haddock}
b1bea9a
BuildRequires:  ghc-doc
b1bea9a
%endif
b1bea9a
%if %{with ghc_prof}
b1bea9a
BuildRequires:  ghc-prof
b1bea9a
%endif
7250d8d
BuildRequires:  ghc-rpm-macros
7250d8d
BuildRequires:  ghc-HUnit-devel
7250d8d
BuildRequires:  ghc-QuickCheck-devel
7250d8d
# End cabal-rpm deps
7250d8d
7250d8d
%description
7250d8d
This package provides an orphan instance that allows you to use HUnit
7250d8d
assertions as QuickCheck properties.
7250d8d
7250d8d
7250d8d
%package devel
7250d8d
Summary:        Haskell %{pkg_name} library development files
7250d8d
Provides:       %{name}-static = %{version}-%{release}
ae8578e
%if %{defined ghc_version}
7250d8d
Requires:       ghc-compiler = %{ghc_version}
ae8578e
%endif
7250d8d
Requires:       %{name}%{?_isa} = %{version}-%{release}
7250d8d
7250d8d
%description devel
7250d8d
This package provides the Haskell %{pkg_name} library development files.
7250d8d
7250d8d
b1bea9a
%if %{with haddock}
b1bea9a
%package doc
b1bea9a
Summary:        Haskell %{pkg_name} library documentation
b1bea9a
b1bea9a
%description doc
b1bea9a
This package provides the Haskell %{pkg_name} library documentation.
b1bea9a
%endif
b1bea9a
b1bea9a
b1bea9a
%if %{with ghc_prof}
b1bea9a
%package prof
b1bea9a
Summary:        Haskell %{pkg_name} profiling library
b1bea9a
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
b1bea9a
b1bea9a
%description prof
b1bea9a
This package provides the Haskell %{pkg_name} profiling library.
b1bea9a
%endif
b1bea9a
b1bea9a
7250d8d
%prep
2a586fb
# Begin cabal-rpm setup:
7250d8d
%setup -q -n %{pkgver}
2a586fb
# End cabal-rpm setup
7250d8d
7250d8d
7250d8d
%build
2a586fb
# Begin cabal-rpm build:
7250d8d
%ghc_lib_build
2a586fb
# End cabal-rpm build
7250d8d
7250d8d
7250d8d
%install
2a586fb
# Begin cabal-rpm install
7250d8d
%ghc_lib_install
2a586fb
# End cabal-rpm install
7250d8d
7250d8d
7250d8d
%files -f %{name}.files
2a586fb
# Begin cabal-rpm files:
7250d8d
%license LICENSE
2a586fb
# End cabal-rpm files
7250d8d
7250d8d
7250d8d
%files devel -f %{name}-devel.files
7250d8d
7250d8d
b1bea9a
%if %{with haddock}
b1bea9a
%files doc -f %{name}-doc.files
b1bea9a
%endif
b1bea9a
b1bea9a
b1bea9a
%if %{with ghc_prof}
b1bea9a
%files prof -f %{name}-prof.files
b1bea9a
%endif
b1bea9a
b1bea9a
7250d8d
%changelog
b1bea9a
* Fri Aug 02 2019 Jens Petersen <petersen@redhat.com> - 0.2.0-9
b1bea9a
- add doc and prof subpackages (cabal-rpm-1.0.0)
b1bea9a
c8e3f32
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-8
c8e3f32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c8e3f32
2a586fb
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.2.0-7
2a586fb
- refresh to cabal-rpm-0.13
2a586fb
bf34fe1
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-6
bf34fe1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
bf34fe1
16345ac
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.2.0-5
16345ac
- rebuild
16345ac
187e84c
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-4
187e84c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
187e84c
5a1d837
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-3
5a1d837
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5a1d837
8ec791d
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.2.0-2
8ec791d
- rebuild
8ec791d
7250d8d
* Fri Jul 28 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.2.0-1
7250d8d
- spec file generated by cabal-rpm-0.11.1