# generated by cabal-rpm-0.13.1
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name conduit-combinators
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 1.3.0
Release: 3%{?dist}
Summary: DEPRECATED Functionality merged into the conduit package itself
License: MIT
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
# End cabal-rpm sources
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# End cabal-rpm deps
%description
See docs and README at <http://www.stackage.org/package/conduit-combinators>.
%package devel
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
%if %{defined ghc_version}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
%endif
%description devel
This package provides the Haskell %{pkg_name} library development
files.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
# End cabal-rpm setup
cabal-tweak-drop-dep base
sed -i -e "/Paths_conduit_combinators/d" %{pkg_name}.cabal
%build
# Begin cabal-rpm build:
%ghc_lib_build_without_haddock
# End cabal-rpm build
%install
# Begin cabal-rpm install
%ghc_lib_install
mv %{buildroot}%{_ghcdocdir}{,-devel}
# End cabal-rpm install
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files devel -f %{name}-devel.files
%license LICENSE
%doc ChangeLog.md README.md
%changelog
* Fri May 10 2019 fedora-toolbox <petersen@redhat.com> - 1.3.0-3
- deprecated meta-package
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Jul 22 2018 Jens Petersen <petersen@redhat.com> - 1.3.0-1
- update to 1.3.0
- dummy package: functionality merged to conduit
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Mar 06 2018 Adam Williamson <awilliam@redhat.com> - 1.1.2-4
- Rebuild against new ghc-conduit-extra, again
* Fri Mar 2 2018 David Shea <dshea@redhat.com> - 1.1.2-3
- Rebuild against the new build of ghc-conduit-extra
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jan 24 2018 Jens Petersen <petersen@redhat.com> - 1.1.2-1
- update to 1.1.2
* Thu Nov 9 2017 David Shea <dshea@redhat.com> - 1.1.1-1
- Split documentation into a separate package
- spec file generated by cabal-rpm-0.11.1