update to new simplified Haskell Packaging Guidelines
This commit is contained in:
parent
9bee9de403
commit
06c11854cb
@ -1,20 +1,11 @@
|
||||
# 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.2
|
||||
Release: 1%{?dist}
|
||||
Summary: %{common_summary}
|
||||
Release: 2%{?dist}
|
||||
Summary: Streaming data processing library
|
||||
|
||||
License: BSD
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
@ -35,7 +26,22 @@ BuildRequires: ghc-void-devel
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
%{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.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Haskell %{pkg_name} library development files
|
||||
Requires: ghc-compiler = %{ghc_version}
|
||||
Requires(post): ghc-compiler = %{ghc_version}
|
||||
Requires(postun): ghc-compiler = %{ghc_version}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
|
||||
%prep
|
||||
@ -50,18 +56,25 @@ BuildRequires: ghc-void-devel
|
||||
%ghc_lib_install
|
||||
|
||||
|
||||
%ghc_devel_package
|
||||
|
||||
%ghc_devel_description
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
||||
%ghc_devel_post_postun
|
||||
%postun devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
||||
%ghc_files LICENSE
|
||||
%files -f %{name}.files
|
||||
%doc LICENSE
|
||||
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 1.0.2-2
|
||||
- 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user