# https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name largeword %global common_summary Provides Word128, Word192 and Word256 instances %global common_description Provides Word128, Word192 and Word256 and a way of producing other large words. Name: ghc-%{pkg_name} Version: 1.0.4 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 %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 %changelog * Sat Feb 2 2013 - 1.0.4-1 - spec file generated by cabal-rpm-0.6.6 - fixed summary and description.