# cabal2spec-0.25 # https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name cryptohash # common part of summary for all the subpackages %global common_summary Crypto hashes, fast, pure and practical # main description used for all the subpackages %global common_description A collection of crypto hashes, with a practical incremental and one-pass,\ pure APIs, with performance close to the fastest implementations available\ in others languages. The implementations are made in C with\ a Haskell FFI wrapper that hide the C implementation. Name: ghc-%{pkg_name} Version: 0.7.5 Release: 3%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD # BEGIN cabal2spec URL: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz ExclusiveArch: %{ghc_arches} BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} # END cabal2spec BuildRequires: ghc-bytestring-devel %description %{common_description} %prep %setup -q -n %{pkg_name}-%{version} %build %ghc_lib_build %install %ghc_lib_install rm -r %{buildroot}%{_datadir}/%{pkg_name}-%{version} # devel subpackage %ghc_devel_package %ghc_devel_description %ghc_devel_post_postun %ghc_files LICENSE %doc README.md %changelog * Thu Jul 19 2012 Fedora Release Engineering - 0.7.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jul 16 2012 Jens Petersen - 0.7.5-2 - change prof BRs to devel * Wed Jun 13 2012 Jens Petersen - 0.7.5-1 - update to 0.7.5 * Sun Mar 18 2012 Jens Petersen - 0.7.4-3 - update to cabal2spec-0.25 * Fri Jan 13 2012 Fedora Release Engineering - 0.7.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Oct 24 2011 Jens Petersen - 0.7.4-1 - BSD license - depends on bytestring * Mon Oct 24 2011 Fedora Haskell SIG - 0.7.4-0 - initial packaging for Fedora automatically generated by cabal2spec-0.24.1