2012-03-06 10:29:43 +00:00
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
|
|
|
%global pkg_name conduit
|
|
|
|
|
2015-01-27 14:11:49 +00:00
|
|
|
%bcond_with tests
|
|
|
|
|
2012-03-06 10:29:43 +00:00
|
|
|
Name: ghc-%{pkg_name}
|
2015-03-03 15:30:58 +00:00
|
|
|
Version: 1.2.4
|
|
|
|
Release: 1%{?dist}
|
2013-06-07 03:48:28 +00:00
|
|
|
Summary: Streaming data processing library
|
2012-03-06 10:29:43 +00:00
|
|
|
|
2014-05-02 02:51:06 +00:00
|
|
|
License: MIT
|
2015-01-27 14:11:49 +00:00
|
|
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
2012-11-06 13:11:25 +00:00
|
|
|
|
2012-03-06 10:29:43 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
2012-11-06 13:11:25 +00:00
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
# Begin cabal-rpm deps:
|
2015-03-03 15:30:58 +00:00
|
|
|
BuildRequires: ghc-exceptions-devel
|
2012-03-06 10:29:43 +00:00
|
|
|
BuildRequires: ghc-lifted-base-devel
|
2014-05-02 02:51:06 +00:00
|
|
|
BuildRequires: ghc-mmorph-devel
|
|
|
|
BuildRequires: ghc-mtl-devel
|
2012-04-10 04:41:32 +00:00
|
|
|
BuildRequires: ghc-resourcet-devel
|
2012-11-06 13:11:25 +00:00
|
|
|
BuildRequires: ghc-transformers-base-devel
|
2014-05-02 02:51:06 +00:00
|
|
|
BuildRequires: ghc-transformers-devel
|
2012-04-25 02:32:54 +00:00
|
|
|
BuildRequires: ghc-void-devel
|
2015-01-27 14:11:49 +00:00
|
|
|
%if %{with tests}
|
|
|
|
BuildRequires: ghc-QuickCheck-devel
|
2015-03-03 15:30:58 +00:00
|
|
|
BuildRequires: ghc-containers-devel
|
2015-01-27 14:11:49 +00:00
|
|
|
BuildRequires: ghc-hspec-devel
|
2015-03-03 15:30:58 +00:00
|
|
|
BuildRequires: ghc-safe-devel
|
2015-01-27 14:11:49 +00:00
|
|
|
%endif
|
2012-11-06 13:11:25 +00:00
|
|
|
# End cabal-rpm deps
|
2012-03-06 10:29:43 +00:00
|
|
|
|
|
|
|
%description
|
2015-03-03 15:30:58 +00:00
|
|
|
Hackage documentation generation is not reliable. For up to date documentation,
|
|
|
|
please see: <http://www.stackage.org/package/conduit>.
|
|
|
|
|
2015-01-27 14:11:49 +00:00
|
|
|
'conduit' is a solution to the streaming data problem, allowing for production,
|
2013-06-07 03:48:28 +00:00
|
|
|
transformation, and consumption of streams of data in constant memory.
|
|
|
|
It is an alternative to lazy I/O which guarantees deterministic resource
|
|
|
|
handling, and fits in the same general solution space as enumerator, iteratee,
|
2014-05-02 02:51:06 +00:00
|
|
|
and pipes. For a tutorial, see
|
|
|
|
<https://haskell.fpcomplete.com/user/snoyberg/library-documentation/conduit-overview>.
|
2013-06-07 03:48:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
2014-05-02 02:51:06 +00:00
|
|
|
Provides: %{name}-static = %{version}-%{release}
|
2013-06-07 03:48:28 +00:00
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
2014-05-02 02:51:06 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2013-06-07 03:48:28 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package provides the Haskell %{pkg_name} library development files.
|
2012-03-06 10:29:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
2015-01-27 14:11:49 +00:00
|
|
|
%check
|
|
|
|
%if %{with tests}
|
|
|
|
%cabal test
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2013-06-07 03:48:28 +00:00
|
|
|
%post devel
|
|
|
|
%ghc_pkg_recache
|
2012-03-06 10:29:43 +00:00
|
|
|
|
|
|
|
|
2013-06-07 03:48:28 +00:00
|
|
|
%postun devel
|
|
|
|
%ghc_pkg_recache
|
2012-03-06 10:29:43 +00:00
|
|
|
|
|
|
|
|
2013-06-07 03:48:28 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%doc LICENSE
|
2012-03-06 10:29:43 +00:00
|
|
|
|
2013-06-07 03:48:28 +00:00
|
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
2015-03-03 15:30:58 +00:00
|
|
|
%doc README.md
|
2012-03-06 10:29:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2015-03-03 15:30:58 +00:00
|
|
|
* Tue Mar 03 2015 Jens Petersen <petersen@redhat.com> - 1.2.4-1
|
|
|
|
- update to 1.2.4
|
|
|
|
|
2015-01-27 14:11:49 +00:00
|
|
|
* Tue Jan 27 2015 Jens Petersen <petersen@fedoraproject.org> - 1.0.13.1-4
|
|
|
|
- cblrpm refresh
|
|
|
|
|
2014-08-16 14:52:42 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 14:39:34 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-02 02:51:06 +00:00
|
|
|
* Fri May 02 2014 Jens Petersen <petersen@redhat.com> - 1.0.13.1-1
|
|
|
|
- update to 1.0.13.1, which should build with llvm backend (#992362)
|
|
|
|
- license changed from BSD to MIT
|
|
|
|
- update packaging to latest cblrpm
|
|
|
|
|
2013-08-03 13:31:06 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-10 09:01:36 +00:00
|
|
|
* Mon Jun 10 2013 Jens Petersen <petersen@redhat.com> - 1.0.3-1
|
|
|
|
- update to 1.0.3
|
2013-06-07 03:48:28 +00:00
|
|
|
- update to new simplified Haskell Packaging Guidelines
|
|
|
|
|
2013-03-12 05:19:44 +00:00
|
|
|
* Tue Mar 12 2013 Jens Petersen <petersen@redhat.com> - 1.0.2-1
|
|
|
|
- update to 1.0.2
|
2013-03-11 14:36:53 +00:00
|
|
|
|
2013-02-13 23:04:07 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-06 13:11:25 +00:00
|
|
|
* Tue Nov 06 2012 Jens Petersen <petersen@redhat.com> - 0.5.2.7-1
|
|
|
|
- update to 0.5.2.7 with cabal-rpm
|
|
|
|
- update description
|
|
|
|
|
2012-07-26 07:16:35 +00:00
|
|
|
* Thu Jul 26 2012 Jens Petersen <petersen@redhat.com> - 0.4.2-3
|
|
|
|
- rebuild
|
|
|
|
|
2012-07-19 05:30:04 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-13 08:43:09 +00:00
|
|
|
* Wed Jun 13 2012 Jens Petersen <petersen@redhat.com> - 0.4.2-1
|
|
|
|
- update to 0.4.2
|
|
|
|
|
2012-05-01 07:30:42 +00:00
|
|
|
* Tue May 1 2012 Jens Petersen <petersen@redhat.com> - 0.4.1.1-2
|
|
|
|
- rebuild
|
|
|
|
|
2012-04-25 02:32:54 +00:00
|
|
|
* Wed Apr 25 2012 Jens Petersen <petersen@redhat.com> - 0.4.1.1-1
|
|
|
|
- update to 0.4.1.1
|
|
|
|
- depends on void
|
|
|
|
|
2012-04-10 04:41:32 +00:00
|
|
|
* Tue Apr 10 2012 Jens Petersen <petersen@redhat.com> - 0.3.0-1
|
|
|
|
- update to 0.3.0
|
|
|
|
- depends on resourcet
|
|
|
|
|
2012-03-22 13:32:32 +00:00
|
|
|
* Thu Mar 22 2012 Jens Petersen <petersen@redhat.com> - 0.2.2-2
|
|
|
|
- add license to ghc_files
|
|
|
|
|
2012-03-06 10:30:54 +00:00
|
|
|
* Tue Mar 6 2012 Jens Petersen <petersen@redhat.com> - 0.2.2-1
|
|
|
|
- update to 0.2.2
|
|
|
|
|
2012-03-06 10:29:43 +00:00
|
|
|
* Tue Feb 7 2012 Jens Petersen <petersen@redhat.com> - 0.2.0-1
|
|
|
|
- BSD license
|
|
|
|
- needs lifted-base
|
|
|
|
|
|
|
|
* Tue Feb 7 2012 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org>
|
|
|
|
- spec file template generated by cabal2spec-0.25.4
|