107 lines
2.8 KiB
RPMSpec
107 lines
2.8 KiB
RPMSpec
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
%global pkg_name conduit
|
|
|
|
%global common_summary Streaming data processing library
|
|
|
|
%global common_description 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.
|
|
|
|
Name: ghc-%{pkg_name}
|
|
Version: 1.0.3
|
|
Release: 1%{?dist}
|
|
Summary: %{common_summary}
|
|
|
|
License: BSD
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
BuildRequires: ghc-rpm-macros
|
|
# Begin cabal-rpm deps:
|
|
BuildRequires: ghc-bytestring-devel
|
|
BuildRequires: ghc-containers-devel
|
|
BuildRequires: ghc-lifted-base-devel
|
|
BuildRequires: ghc-monad-control-devel
|
|
BuildRequires: ghc-resourcet-devel
|
|
BuildRequires: ghc-text-devel
|
|
BuildRequires: ghc-transformers-devel
|
|
BuildRequires: ghc-transformers-base-devel
|
|
BuildRequires: ghc-void-devel
|
|
# End cabal-rpm deps
|
|
|
|
%description
|
|
%{common_description}
|
|
|
|
|
|
%prep
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
%build
|
|
%ghc_lib_build
|
|
|
|
|
|
%install
|
|
%ghc_lib_install
|
|
|
|
|
|
%ghc_devel_package
|
|
|
|
%ghc_devel_description
|
|
|
|
|
|
%ghc_devel_post_postun
|
|
|
|
|
|
%ghc_files LICENSE
|
|
|
|
|
|
%changelog
|
|
* Mon Mar 11 2013 Jens Petersen <petersen@redhat.com> - 1.0.3-1
|
|
- update to 1.0.3
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* Wed Jun 13 2012 Jens Petersen <petersen@redhat.com> - 0.4.2-1
|
|
- update to 0.4.2
|
|
|
|
* Tue May 1 2012 Jens Petersen <petersen@redhat.com> - 0.4.1.1-2
|
|
- rebuild
|
|
|
|
* Wed Apr 25 2012 Jens Petersen <petersen@redhat.com> - 0.4.1.1-1
|
|
- update to 0.4.1.1
|
|
- depends on void
|
|
|
|
* Tue Apr 10 2012 Jens Petersen <petersen@redhat.com> - 0.3.0-1
|
|
- update to 0.3.0
|
|
- depends on resourcet
|
|
|
|
* Thu Mar 22 2012 Jens Petersen <petersen@redhat.com> - 0.2.2-2
|
|
- add license to ghc_files
|
|
|
|
* Tue Mar 6 2012 Jens Petersen <petersen@redhat.com> - 0.2.2-1
|
|
- update to 0.2.2
|
|
|
|
* 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
|