diff --git a/ghc-vector.spec b/ghc-vector.spec index 9472055..86a85fd 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -1,18 +1,12 @@ # https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name vector -%global common_summary Efficient Arrays - -%global common_description An efficient implementation of Int-indexed arrays (both mutable and\ -immutable), with a powerful loop fusion optimization framework. - Name: ghc-%{pkg_name} -# part of haskell-platform-2012.4 +# part of haskell-platform-2012.4+ Version: 0.10.0.1 -Release: 5%{?dist} -Summary: %{common_summary} +Release: 6%{?dist} +Summary: Efficient Arrays License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} @@ -27,7 +21,17 @@ BuildRequires: ghc-primitive-devel # End cabal-rpm deps %description -%{common_description} +An efficient implementation of Int-indexed arrays (both mutable +and immutable), with a powerful loop optimisation framework. + + +%package devel +Summary: Haskell %{pkg_name} library development files +%{?ghc_devel_requires} + +%description devel +An efficient implementation of Int-indexed arrays (both mutable +and immutable), with a powerful loop optimisation framework. %prep @@ -46,18 +50,25 @@ BuildRequires: ghc-primitive-devel %ghc_lib_install -%ghc_devel_package +%post devel +%ghc_pkg_recache + -%ghc_devel_description +%postun devel +%ghc_pkg_recache -%ghc_devel_post_postun +%files -f %{name}.files +%doc LICENSE -%ghc_files LICENSE +%files devel -f %{name}-devel.files %changelog +* Wed Apr 24 2013 Jens Petersen - 0.10.0.1-6 +- update to revised simplified Haskell Packaging Guidelines (cabal-rpm-0.8) + * Wed Feb 13 2013 Fedora Release Engineering - 0.10.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild