# https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name utility-ht %global common_summary Various small helper functions for Lists, Maybes, Tuples, Functions %global common_description Various small helper functions for Lists, Maybes, Tuples, \ Functions. Some of these functions are improved \ implementations of standard functions. They have the same \ name as their standard counterparts. Name: ghc-%{pkg_name} Version: 0.0.8 Release: 2%{?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 %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 * Sat Dec 08 2012 Ben Boeckel - 0.0.8-2 - spec file generated by cabal-rpm-0.6.6 * Sat Mar 03 2012 Ben Boeckel - 0.0.8-1 - Update to 0.0.8 - Update to cabal2spec-0.25.4 * Fri Dec 10 2010 Ben Boeckel - 0.0.5.1-1 - Initial package * Fri Dec 10 2010 Fedora Haskell SIG - 0.0.5.1-0 - initial packaging for Fedora automatically generated by cabal2spec-0.22.2