ghc-conduit/ghc-conduit.spec

160 lines
4.5 KiB
RPMSpec
Raw Normal View History

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}
Summary: Streaming data processing library
2012-03-06 10:29:43 +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
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
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,
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,
and pipes. For a tutorial, see
<https://haskell.fpcomplete.com/user/snoyberg/library-documentation/conduit-overview>.
%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.
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
%post devel
%ghc_pkg_recache
2012-03-06 10:29:43 +00:00
%postun devel
%ghc_pkg_recache
2012-03-06 10:29:43 +00:00
%files -f %{name}.files
%doc LICENSE
2012-03-06 10:29:43 +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
* 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
* 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
* 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
* 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
- update to new simplified Haskell Packaging Guidelines
* 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
* 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
* 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